Hey,

...great news!!! :)

Am Sonntag, 25. November 2007 18:13 schrieb Wolfram Gloger:
> Hi,
>
> Here is a quick hack that can save the extra dvdauthor run
> and disk space for the intermediate mpg file.
> dvdauthor can read from stdin, therefore with a shell script like

Just had a discussion about that last week ,... but wasn't aware of the fact 
that dvdauthor can read from stdin/pipe. 

>
> ========== my-dvd.sh ===========================
> #!/bin/sh
>
> exec dvdauthor -t -v mpeg2 -o /mount/dvdexport -
> ================================================

Some time ago I tried it but it did NOT work... maybe that was because I 
usally use "-t" before the file names at the end of the command line.

 dvdauthor -v mpeg2 -o /mount/dvdexport -t -

dows NOT work! 

Also I wasn't aware of the "mpeg2" video option (man page say nothing about 
that).

>
> you can master a dvd title directly by specifying
>
> "|my-dvd.sh"
>
> as the output file in the export file dialog.
> (Maybe this could be made more elegant, but I didn't
> want to mess with the dialog itself.)

Hmmm,... not very convenient... a very usefull but 
unfortunately hidden feature! :(

Shouldn't we use an additional export switch for that?

In that case DVBcut could automatically create the bash script
and write to it via pipe, without any user input except for the output 
directory! Or even better,... why not forget about the script an directly 
write to "|dvdauthor -t ... -"?

>
> As a next step it would of course be nice to generate
> the xml file for dvdauthor _before_ the actual export
> as a temporary and specify its name in an environment
> variable.
>
... that wouldn't be necessary with the above mentioned approach 
since DVBcut could write the chapter string (with CLI switch, i.e. -c 
'pts1,pts2,pts3,...') directly to the temporary script... :-))

Or do you want the XML file to create a menu?
Maybe that's also possible on the command line with a 'dvdauthor -m...' call 
just before writing the TOC? But I never did menus with the CLI...

ciao
ralph

PS: BTW,... just in case someone does not know... 
With that procedure it's also possible to have multiple movies (with different 
specifications!) in one DVD structure since titelsets can be created with 
sucessive 'dvdauthor -t...' calls ! :)

PSPS: Any idea if that also would work on windows? 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to