[MEncoder-users] Enforce aspectratio
Al Bogner
mencoder at ml082.pinguin.uni.cc
Mon Apr 14 10:53:18 CEST 2008
Am Montag, 14. April 2008 00:42:29 schrieb Dominik 'Rathann' Mierzejewski:
> On Sunday, 13 April 2008 at 22:31, Andy Civil wrote:
> > James Hastings-Trew wrote:
> > > Al Bogner wrote:
> > >> If I play the avi file with mplayer the ascpect-ration is not
> > >> recognized correctly.
> > >
> > > 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.
> >
> > I think James suspected this:
> > "AVI files do not contain pixel aspect ratio information."
> > (from http://en.wikipedia.org/wiki/Audio_Video_Interleave#Continued_use )
> >
> > I would infer from that, that the aspect ratio of an AVI file is assumed
> > to be the same as the ratio of width and height in pixels.
>
> They do, but not many players support ODML headers. You can set the AR
> using mencoder -ovc copy -oac copy -force-avi-aspect 16/9, for example.
> MPlayer recognises that and prescales the image accordingly.
I tried:the following and the aspect is still 4:3. Did I use a wrong syntax?
mencoder movie.avi -vf pullup,softskip,harddup -nosound -ovc
x264 -force-avi-aspect 16/9 -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 -force-avi-aspect 16/9 -x264encopts
bitrate=6000:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:threads=auto:pass=2 -of
rawvideo -o movie.264
Al
More information about the MEncoder-users
mailing list