This Document is just a reminder for me to burn some VCD under Linux.
I user RedHat 7.1 to do that.
It's quite simple when I now what to use.
I need some programs to do VCD and... some MPEG Movies...
Movies must be MPEG 1 Layer 2 352x288 to do VCD 2.0 (PAL)
For SVCD, must be MPEG 2 720x568 (PAL)
Sound must be MPEG 1 Layer 2 224kbps, 44,1KHz, Stereo
I find some interresting stuff with MJPEG Tools. A good HowTo can be found HERE.
Sound can be separate of video by a lav2wav stream.avi | mp2enc -V -o sound.mpg
VCD scaling can be done by a lav2yuv stream.avi | yuvscaler -O VCD -n p | mpeg2enc -f 1 -r 16 -o video.mpg
SVCD scaling can be done by a lav2yuv stream.avi | yuvscaler -O SVCD -n p | mpeg2enc -f 4 -I 3 -b 2500 -V 400 -o video.m2v
Multiplexing done by : mplex -f 1 sound.mpg video.mpg -o vcd_out.mpg
Here is my batch to do that work :
NAME=`echo $1 | awk -F '.' '{print $1}'` echo "*******************************************************************" echo " Converting AVI $NAME.avi to MPEG $NAME.mpg " echo "*******************************************************************" # If start from DV AVI dv2jpgfull $NAME.avi $NAME.mjpeg.avi # In All cases lav2wav $NAME.mjpeg.avi | mp2enc -V -o $NAME.sound.mpg lav2yuv $NAME.mjpeg.avi | mpeg2enc -b 2500 -V 300 -M 2 -o $NAME.video.mpg mplex -f 4 -r 2750 -b 300 $NAME.sound.mpg $NAME.video.mpg -o $NAME.mpg rm -f $NAME.sound.mpg $NAME.video.mpg
Some MPEGs are sometimes broken.
VCDGear seems to be a good tool for correcting MPEGs.
Download Location at : http://www.vcdgear.com/files/vcdgear16d_i386_redhat62.tar.gz
Just untargzip it and run "vcdgear16 -mpg2mpg -fix mpegfilename"
It's very fast on my UDMA disk.
VCDImager is a very good tool to build the VCD image file
Download Location at : http://vcdimager.hvrlab.org/pub/vcdimager/vcdimager-0.6/vcdimager-0.6.2.tar.gz
ungziptar it and compil it (./configure; make).
Move in your mpeg directory and run it : "vcdimager -p -l "11charlabelofyourvcd" mpgfilenames"
It builds the ISO image and a cuefile for cdrdao.
Verifications are a bit long, but it's quite fast
Download Location at : http://prdownloads.sourceforge.net/cdrdao/cdrdao-1.1.5.bin.x86.linux.tar.gz
untargzip it and run "cdrdao write videocd.cue"
It burns the CD really cool !
I use my DVD on my tv to read this (Tokai 723)