[MPlayer-users] x264enc - how to set aspect?

Rashkae rashkae at tigershaunt.com
Tue Feb 16 15:17:02 CET 2010


Yan Seiner wrote:
> I have a dvd that I am trying to rip.It all works fine, except that 
> mencoder assumes that the movie is 16/9 and not 7/3. With lavc, I can 
> add -lavcopts aspect=7/3 .  How do I do that with x264enc?
> 
> /usr/local/bin/mencoder dvdnav://05 -dvd-device /dev/myth/dvdrw -nocache 
> -passlogfile /data10/home/yan/.encode/pass.log -vf 
> pullup,softskip,hqdn3d,crop=704:352:12:62 -ovc x264 -oac mp3lame 
> -x264encopts 
> threads=auto:keyint=12:pass=1:crf=22:frameref=2:bframes=3:weight_b:subq=5:turbo=1:psnr:bitrate=1800 
> -ofps 24000/1001 -alang en -o 
> /data10/home/yan/.encode/TRAIL_OF_THE_PINK_PANTHER.avi
> /usr/local/bin/mencoder dvdnav://05 -dvd-device /dev/myth/dvdrw -nocache 
> -passlogfile /data10/home/yan/.encode/pass.log -vf 
> pullup,softskip,hqdn3d,crop=704:352:12:62 -ovc x264 -oac mp3lame 
> -x264encopts 
> threads=auto:keyint=12:pass=2:qp=22:frameref=4:bframes=3:b_adapt:weight_b:8x8dct:me=umh:subme=7:subq=6:chroma_me:mixed_refs:trellis=1:nofast_pskip:direct_pred=auto:psnr:bitrate=1800  
> -ofps 24000/1001 -alang en -o 
> /data10/home/yan/.encode/TRAIL_OF_THE_PINK_PANTHER.avi
> 
> --Yan
> 


Use the -aspect option. Don't worry about trying to get it in the 
x264encopts.


More information about the MPlayer-users mailing list