View Full Version : Batch multiplexing?
SHaque
9th February 2002, 22:04
I typically need to multiplex several files in a row, but I cannot get a batch multiplex going for either TMPEG or BBMPEG. It may be possible for BBMPEG...if so I could some help figuring it out :)
I would appreciate any pointers or sugegstions.
Thanks!
24hourloop
10th February 2002, 15:30
runbbmpeg in the DVD2SVD bundle can do it but it's unfortunatly not documented how. You might be able to look at a DVD2SVCD log to figure it out but then again you might not.
It's worth a try, though.
Pko
11th February 2002, 20:23
I think that you should modify default.ini in BBMPEG directory, then exec "runbbmpeg file.mpg", where "file.mpg" is the one you want as result:
--- From DVD2SVCD log ----
Saving bbMPEG settings: C:\Archivos de programa\DVD2SVCD64\bbMPEG\default.ini
Offset in Seconds: 0
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 731 mb
Executing RunbbMPEG. Commandline:
"C:\Archivos de programa\DVD2SVCD64\bbMPEG\RunbbMPEG.exe" "C:\Tmp\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.
-------------------------------
Unfortunately, I do not know what modifications to do to default.ini :-/
Pko
11th February 2002, 21:09
I think I know how to do it...
If you do not have a default.ini in BBMPEG directory, let's make one:
1) Open AVI2MPEG2.exe
1b) Press "Load" and "Cancel" if you are in XP (workaround for bug)
2) Press "Start Encoding"
3) Press "Settings"
4) Select "Load and save settings" and press "Save as default"
5) Close everything
Now we can modify our default.ini
1) Open "default.ini" with your favourite text editor
2) Look for "[iofiles]" section
3) At the end of the section, add:
"VideoFileName=yourvideofile.m2v"
(can be .m2v, .mpv and so on; can include path)
"AudioFileName=youraudiofile.mp2"
(again, any file, any path, any extension)
If you want 2 audio streams, add the second:
"AudioFileName1=yoursecondaudiofile.mp2"
4) Save default.ini
5) exec: "runbbmpeg yourcompletempeg.mpg" to create automatically "yourcompletempeg.mpg" from "yourvideofile.m2v", "youraudiofile.mp2" and "yoursecondaudiofile.mp2"
It is easy to automate all from a batch file... Probably you can change many other parameters in the stream editing the defaul.ini file...
PD: I forgot, of course, when making your default.ini, you may take a step 3b selecting the options you have for multiplexing: DVD, SVCD and so on.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.