MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Monday, April 14, 2008

Re: [MEncoder-users] Enforce aspectratio

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
_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy