Log in

View Full Version : No need to scale with xvid any more!


evade
30th December 2003, 03:55
The pixel aspect ratio function of xvid works properly with mplayer and xbox media center!

this command yields a perfect movie without scaling which will play back with the correct aspect ratio (ntsc 16:9):

I think there are presets like par=ntsc169 which is the same as par=ext:par_width=237:par_height=200 or par=pal43 which is the same as par=ext:par_width=213:par_height=200

Unlike lavc the par options would be the same no matter what cropping you do to the movie.


cat *.vob | \
mencoder -o /dev/null -ovc xvid \
-xvidencopts pass=1:quant_type=mpeg:trellis:chroma_me:vhq=4:max_bframes=2:\
bquant_ratio=150:bquant_offset=75:bf_threshold=0:par=ext:par_width=237:par_height=200 \
-vf crop=720:468:0:4 -aid 128 -oac mp3lame -lameopts preset=128 -

cat *.vob | \
mencoder -o Movie.avi -ovc xvid \
-xvidencopts pass=2:bitrate=1550:quant_type=mpeg:trellis:chroma_me:vhq=4:max_bframes=2:\
bquant_ratio=150:bquant_offset=75:bf_threshold=0:par=ext:par_width=237:par_height=200 \
-vf crop=720:468:0:4 -aid 128 -oac mp3lame -lameopts preset=128 -

unixfs
12th January 2004, 21:23
in -dev-eng archive there's a patch to encode using :aspect=x/y option.
aspect specifies the DAR, so it's easier to use.
Now if only standalones supported this feature ...

evade
12th January 2004, 21:53
One Standalone does: The XBOX