Hi!
I was bored this morning, so I tried to implement "batch mode".
You can now (as of SVN revision 35) call "dvbcut -batch <project>.prj"
and dvbcut should export the file in your preferred format (default is
DVB format using the dvbcut muxer). Note that the project file is
essential because it contains the cut list - if you use an MPEG file
instead, dvbcut will generate an index for it (if there isn't one
already) and write an empty output file.
By default, the output file will be called "<project>.mpg". If that file
already exists, dvbcut adds numeric suffixes (e.g. "<project>_1.mpg")
until the name is unique. There is no way to override the default name.
I don't think it's necessary because you can always use "mv" ("rename"
for you Windows people out there ;-) to change it.
The main trick was to turn off the GUI where necessary, and I may have
overlooked one point or the other. So if dvbcut -batch pops up a window,
feel free to tell me when and why and I'll try to turn that off as well.
Note that this is a hack, not a sane implementation. For the latter, the
GUI should be completely separated from the programs's functional parts.
But that would have been too much work for a single day...
--
Michael "Tired" Riepe <[EMAIL PROTECTED]>
X-Tired: Each morning I get up I die a little
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user