On Sun, Dec 28, 2003 at 06:51:25AM +0100, Bernhard Praschinger wrote:
> Hallo
> 
> > While transcoding an AVI file into SVCD using transcode, toolame,
> > mpeg2enc and mplex, I expected two output files from the
> > multiplexer, but have got just one:
> What mjpegtools version do you use ?

mjpegtools 1.6.1.92

> > $ transcode -i rudolph.avi -y mpeg2enc,null \
> >     -j -4,0,-4,0 -Z 480x480,fast -V --export_asr 2 \
> >     -F '5,-s -B 284 -V 230 -S 800 -4 2 -2 1 -q 5 -K hi-res -R 0' \
> >     -w 2800 -o rudolph.cd
[...]
> If you have some output like that:
> ....
>    INFO: [yuvscaler] Frame number 5998
>    INFO: [mpeg2enc] Frame end 1875 P quant=7.42 total act=363607.13333
> ....
[...]
> Could you also check if you get something like that when mpeg2enc
> starts:
>    INFO: [mpeg2enc] New Sequence every 30 Mbytes

Unfortunatly transcode added the option "-v 0" to the call of mpeg2enc,
keeping it from being verbose. No messages from it.

> > $ mplex -f 5 -r 3084 -V -o rudolph.cd.%d.mpg rudolph.cd.m2v rudolph.cd.mp2
> > [...]
> As far as I can tell the commands you have used are correct, and should
> work. 
> 
> > Notice that I have specified the option "-S 800" to mpeg2enc,
> > hoping that a sequence split is inserted into the output video
> > stream and the multiplexer recognises this split and starts a
> > new multiplexed output file when encountering it.
> If you have a mjpeg encoded AVI please try to encode it using lav2yuv |
> ... | mpeg2enc. 
> If that works I'd think that trancode is messing up some options, 

I do not have.

> You could also try to use mplayer (-vo yuv4mpeg and a fifo file) to
> decode the stream to a yuv format mpeg2enc understands. And try to
> encode it than.

I have repeated the encoding process, with the same results.

The movie is a 544x400 75 min anime. First I tried to fit it
into an unique SVCD with good quality. I have tried many
combinations of -q (6,7,8) and encoding matrixes (default,
tmpgenc,kvcd,customized), but without getting a result that
was suitable for me. Then I decided to go for 2 SVCDs and
tried the above transcoding. As I could not understand and
solve the described problem, and there was still room for
better quality in the 2 SVCDs set, I rencoded with the
command

$ transcode -i rudolph.avi -y mpeg2enc,null \
    -j -4,0,-4,0 -Z 480x480,fast -V --export_asr 2 \
    -F '5,-s -B 288 -V 230 -S 800 -4 2 -2 1 -q 4 -K hi-res -R 0' \
    -w 3000 -o rudolph.cd \
    -a 0 -b 224,0,5 --a52_dolby_off -J astat=rudolph.cd.scl

This time there was no problem, and I could complete the whole
process, finishing with the 2 SVCDs.

Unfortunatly I do not have the log file of the previous erroneous
run, so that it could be further investigate.

Thanks.

Romildo


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to