On Sat, Mar 13, 2004 at 06:04:18PM +0100, Bernhard Praschinger wrote: > Hallo > > > I am making a (non-standard) SVCD from an AVI file > > using transcode, mpeg2enc, toolame and mplex with > > the commands > Which version of the mjpegtools do you use ?
I am using mjpegtools-1.6.2 on a Gentoo Linux box. > > $ transcode -V -i o.rei.leao.avi -y mpeg2enc,null \ > > -w 2800 --export_asr 2 \ > > -F '5,-s -B 285 -V 230 -S 804 -4 2 -2 1 -q 4 -K hi-res -E -8 -R 0' \ > > -o o.rei.leao.cd \ > > -a 1 -b 224,0,5 --a52_dolby_off -J astat=o.rei.leao.cd.scl \ > > -Z 480x368 -Y -56,0 > I cant tell for the transcode command, but -S 804 and -B 285 should do > the thing. > Can you run it a way so the command trancode execute is shown ? transcode shows the command line used to call mpeg2enc. From my log file I get: [export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -q 3 -f 5 -4 2 -2 3 -b 2800 -F 1 -n n -a 2 -V 230 -o "o.rei.leao.cd.m2v" -s -B 285 -V 230 -S 804 -4 2 -2 1 -q 4 -K hi-res -E -8 -R 0 (Remember that when an option appears more than one in the mpeg2enc command line, the latest one is used.) > I think transcode is doing something wrong because mpeg when you run > mpeg2enc it splits by default a 700MB. > You see this when mpeg2enc start in that 2 lines: > INFO: [mpeg2enc] New Sequence every 700 Mbytes > INFO: [mpeg2enc] Assuming non-video stream of 230 Kbps transcode adds the option "-v 0" to the mpeg2enc command line, as you can see. Adding the "-v 1" option myself to mpeg2enc command line (through the "-F" option of transcode), I can see the following in the log: INFO: [mpeg2enc] New Sequence every 804 Mbytes INFO: [mpeg2enc] Assuming non-video stream of 285 Kbps So the problem should not be with transcode, as mpeg2enc knows that it should start a new sequence every 804 Mbytes. > > $ mplex -f 5 -V -o o.rei.leao.cd.%d.mpg \ > > o.rei.leao.cd.m2v o.rei.leao.cd.mp2 > That command lokkes nice too. > > > $ ls -l *.cd.* > > -rw-r--r-- 1 romildo romildo 1211728952 Mar 13 03:57 o.rei.leao.cd.1.mpg > > -rw-r--r-- 1 romildo romildo 1041265749 Mar 13 01:09 o.rei.leao.cd.m2v > > -rw-r--r-- 1 romildo romildo 149317056 Mar 13 03:55 o.rei.leao.cd.mp2 > > -rw-r--r-- 1 romildo romildo 6 Mar 13 01:09 o.rei.leao.cd.scl > > > > I hoped the resulting MPG file being splitted into > > 2 files of size 804M, as I have been doing with many > > other movies, but it was not. Any reasons for that? > You need to provide more inforamtion about what transcode does. And the > options mpeg2enc really gets. See above. > On the other Hand I would recommend you to take a look at the mjpeg-peg > howto, section: "Decoding streams with mplayer" > A other nice and fast way to transcode streams. I have already done some SVCDs using mplayer, but I prefer to be with transcode now. It is easier ans faster. It is the second time I find the described problem. Both problems were solved by modifying some options. In this case changing the sequence length to 800 worked. (I have also omitted the "-E -8" option.) Everything indicates that there is a bug in mpeg2enc. Maybe the developers could take a look. Regards. Romildo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
