[MEncoder-users] Enforce aspectratio

James Hastings-Trew jimht at shaw.ca
Sun Apr 13 21:59:01 CEST 2008


Al Bogner wrote:
> I use something like this.
>
> If I play the avi file with mplayer the ascpect-ration is not recognized 
> correctly. How can I enforce mencoder with a command like below to use 16:9, 
> so the x264-file is recognized with an ascpect ratio of 16:9? I don't know 
> where to insert the aspect-option in the command below.
>
> mencoder movie.avi -vf pullup,softskip,harddup -nosound -ovc x264 -x264encopts 
> bitrate=6000:subq=5:bframes=3:b_pyramid:weight_b:turbo=1:threads=auto:pass=1 -of 
> rawvideo -o /dev/null
>
> mencoder movie.avi -vf pullup,softskip,harddup -nosound -ovc x264 -x264encopts 
> bitrate=6000:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:threads=auto:pass=2 -of 
> rawvideo -o movie.264
>
> Al
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
>
>   
Do AVI files keep aspect ratio information? If you were using mp4 you 
could add dsize=852:480 to your video filters, this would set the SAR. 
Dunno if that would work with AVI.




More information about the MEncoder-users mailing list