Hallo

> I want to know what is the best way of converting a
> movie (in avi format) to SVCD when the aspect ratio
> of the movie differs from the intended SVCD aspect
> ratio (4:3). For instance, converting a movie with
> frame size 608x256 to SVCD with aspect ratio 4:3
> NTSC.
Take a look at the mjpeg howto, section Creating SVCD.

> Up to now I have been using ripmake and mencvcd.
> 
> ripmake, uses transcode to resize the input and
> call the mpeg2enc export module.
The scaling is done by yuvscaler, it handles the things if you use the
-O SVCD option. 

> mencvcd calls mplayer, which, with the help of the
> expand filter, can expands (not scale) the movie
> resolution to a given value and place the unscaled
> original at given coordinates (default: center),
> while outputing a yuv4mpeg stream which is piped
> to yuvscaler. In the example above, the option
> "-vf expand=:456" to mencvcd brings the movie to
> the desired SVCD aspect ratio (608/456 = 4 /3).
I guess that yuvscaler performs better whe it scales the images.

> Is there any better solution to this? Maybe using
> some mjpeg tools.
> 
> PS: I have noticed that ripmake (which is based on
>     transcode) performs better than mencvcd. Would
>     it be due to mencvcd runs more programs:
> 
>     mplayer -> yuvscaler -> mpeg2enc
mplayer can outptu yvu4mpeg, so you can use most of the mjpeg tools for
creating a SVCD stream:
mplayer -vo null -ao pcm -waveheader file.avi
cat audiodump.avi | mp2enc -V -o audio.mp2
mkfifo stream.yuv 
mplayer -vo yuv4mpeg -nosound -noframedrop file.avi &
cat stream.yuv | yuvscaler -O SVCD | mpeg2enc -f 4 -o video.m2v
mplex -f 4 audio.mp2 video.m2v -o final_svcd.mpg

You might have to adjust some options, they can diffe between the
mplayer versions.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
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