cwingert
11-27-2002, 10:33 AM
I am in the process of trying to create a VCD on Linux (I am starting small, but going to be making a DVD). Anyway this is the script I have come up with :
vsplit1k -m tivovideo.ty tivovideo.mpg tivovideo.m2a
vsplit1k tivovideo.ty /dev/null tivovideo.m2a
cat tivovideo.mpg | mpeg2dec -s -o YUVh | mpeg2enc -f 1 -o tivovideo.m1v
mpg123 -w temp32k.wav tivovideo.m2a
sox -r 44100 temp32k.wav temp44k.wav
rm temp32k.wav
toolame -p 2 -b 224 temp44k.wav vcd_stream.mp2
rm temp44k.wav
mplex -f 1 -O 234 vcd_stream.mp2 tivovideo.m1v -o vcd.mpg
vcdimager vcd.mpg
cdrdao write -n --driver generic-mmc --device 0,0,0 videocd.cue
Everything works fine. Except the output VCD has a narrow image on one of my DVD players and on another DVD player it shows the same image side-by-side. I noticed during the mplex process, I get
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 176
INFO: [mplex] Frame height : 240
INFO: [mplex] Aspect ratio : 1:1.1250 (4:3 NTSC for 720x480/352x240 images
)
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 1152000 bits/sec
INFO: [mplex] Vbv buffer size : 40960 bytes
INFO: [mplex] CSPF : 1
My frame width appears to be half, the NTSC frame width. Is there something like DVD Patcher that I need to do?
Thanks
vsplit1k -m tivovideo.ty tivovideo.mpg tivovideo.m2a
vsplit1k tivovideo.ty /dev/null tivovideo.m2a
cat tivovideo.mpg | mpeg2dec -s -o YUVh | mpeg2enc -f 1 -o tivovideo.m1v
mpg123 -w temp32k.wav tivovideo.m2a
sox -r 44100 temp32k.wav temp44k.wav
rm temp32k.wav
toolame -p 2 -b 224 temp44k.wav vcd_stream.mp2
rm temp44k.wav
mplex -f 1 -O 234 vcd_stream.mp2 tivovideo.m1v -o vcd.mpg
vcdimager vcd.mpg
cdrdao write -n --driver generic-mmc --device 0,0,0 videocd.cue
Everything works fine. Except the output VCD has a narrow image on one of my DVD players and on another DVD player it shows the same image side-by-side. I noticed during the mplex process, I get
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 176
INFO: [mplex] Frame height : 240
INFO: [mplex] Aspect ratio : 1:1.1250 (4:3 NTSC for 720x480/352x240 images
)
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 1152000 bits/sec
INFO: [mplex] Vbv buffer size : 40960 bytes
INFO: [mplex] CSPF : 1
My frame width appears to be half, the NTSC frame width. Is there something like DVD Patcher that I need to do?
Thanks