Mencoder aspect ratios

September 5th, 2007 | Categories: Windows Media Center | Tags:

Found here.

If you want square pixels, use “-vf scale=-1:-2″, or if you want to scale the height to 480 and have the width automatically selected to get square pixels, use “scale=-2:480″

If you want to add black bars to make the video fit a 4:3 aspect, just use “-vf expand=aspect=4/3″ (then scale to VCD/SVCD/DVD resolution).

If you don’t specifically want either of the above, just use “-lavcopts autoaspect” and it will select the correct aspect ratio for you.

  1. October 6th, 2007 at 09:42
    Reply | Quote | #1

    Thank you for sharing!

  2. booi
    October 29th, 2008 at 01:10
    Reply | Quote | #2

    Great way to get rid of aspect ratios. modern codecs don’t need them.