On 21 Dec 2002, Jay Bloodworth wrote: > > I need to convert some PAL high-quality divx AVIs to SCVD mpeg.
I've not done SVCD, but here's a script that I use for converting PAL DivX to NTSC VCD. Change flags as needed to get SVCD instead and you should be off and running. Uses mplayer. This will convert a DivX to VCD slightly faster than realtime on an Athlon 1800+. This is NOT a "real" PAL to NTSC conversion, just a resize and frame rate adjust, but it has worked on every PAL DivX I have tried it on. NOTE: The "42336" in the sox line is a calculated rate based on 24/25 of the rate in the PAL DivX -- in this case, 44,100. If your DivX audio rate is 48,000, use 46080. I have occasionally had to tweak the audio rate a bit to get the sync to come out right, but it generally works frst try. ------cut here --------- #! /bin/sh mkfifo stream.yuv mplayer -nofs -nosound -vo yuv4mpeg -ni -quiet -fps 24 $1 </dev/null & cat stream.yuv | yuvscaler -n n -O VCD -M BICUBIC -M WIDE2VCD -v 0 | \ mpeg2enc -n n -f 1 -a 1 -F 2 -4 1 -2 1 -r 16 -S 768 -B 224 \ -o video.m1v mplayer -nofs -vo null -ao pcm -waveheader -ni $1 mv audiodump.wav audio.wav sox -t wav -r 42336 audio.wav -t wav -r 44100 /dev/stdout | \ toolame -p 2 -b 224 /dev/stdin audio.mp2 mplex -f 1 audio.mp2 video.m1v -o myvcd%d.mpg rm -f audio.mp2 video.m1v stream.yuv audio.wav -------cut here -------- -- Robert Kesterson [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users