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

Yan Seiner yan at seiner.com
Tue Feb 16 15:23:42 CET 2010


Rashkae wrote:
> 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.

HAH!  I tried that earlier, but got the syntax wrong - I used 
-aspect=7/3 and the correct syntax is -aspect 7/3.

Thanks!

--Yan

-- 

   o__
   ,>/'_         o__
   (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_ 
when we forsake our friends and break all (_)\(_)
bonds of fellowship, but it is not this day.
It is not this day!
This day we ride!



More information about the MPlayer-users mailing list