[MEncoder-users] Encoding a 4:3 XviD video

the bcpino bcpino at gmail.com
Mon Feb 22 15:27:25 CET 2010


Hello!

My old personal videos were transfered to DVD a couple of years ago,
all of them have 4:3 aspect ratio.

1. When I do:

mplayer dvd://1 -nosound -vo null -benchmark

I get this line: demux_mpg: 24000/1001 fps progressive NTSC content
detected, switching framerate.

Which means that all the video is progressive.

Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12

Which means that the video was originally encoded to a 720x480
resolution with a 4:3 aspect ratio.

2. I use the following commands to make a 2-pass XviD video:

mencoder dvd://1 -dvd-device /dev/dvd -oac mp3lame -lameopts abr:br=128  \
-ovc xvid -xvidencopts
bitrate=1100:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg:pass=1 \
-o "/dev/null" -ofps 24000/1001

mencoder dvd://1 -dvd-device /dev/dvd -oac mp3lame -lameopts abr:br=128  \
-ovc xvid -xvidencopts
bitrate=1100:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg:pass=2 \
-o "wedding.avi" -ofps 24000/1001

The video under MPlayer (Linux) looks fine. However, under Totem Movie
Player (Linux) or Windows Media Player (Vista), the video looks
stretch with another ratio.

I added an option: -aspect 4/3, the encoding took longer, but the
result was the same.

How can I keep the 4:3 aspect ratio?


Gino


More information about the MEncoder-users mailing list