[MEncoder-users] Autoaspect not working in newer mencoder versions
Toerless Eckert
tte at cs.fau.de
Thu Dec 8 07:46:31 EET 2016
Using mencoder to convert DVB TV recordings (generated by VDR 2.2.0 from Astra satellite)
Input has MPEG2 video
mencoder 00001.ts -ovc x264 -oac mp3lame -lameopts cbr:br=96 -o 00001.avi
If i do this with mencoder <= 1.1, then the aspect ratio of the video will
correctly be put into the AVI file. And not only at the beginning of the AVI
file, but also in the middle of the file because the aspect ratio in the
middle of the TS file changes (4:3 <-> 16:9).
With mencoder >= 1.2.1 (tested with 1.2.1 and 1.3.0), mencoder will always
only statically encode an aspect ratio of 1:1 into the AVI file. Given
how different TS files have different aspect ratios and tht the aspect
ratio can also change, its of course not possible to provide some correct
aspect ratio as a command line parameter.
I guess that information in http://www.mplayerhq.hu/DOCS/HTML/en/aspect.html
aout AVI not storing apect ratio is also based on these newer versions
of mencoder.
Btw: In ffmpeg, this encoding of original (and changing) aspect ratio from
input into AVI output files work. And latest mplayer also perfectly
plays AVI files with changing aspect ratios.
What else can i do to get this filed as a regression bug that hopefully
will get fixed ?
Thanks
toerless
P.s.: here is a PS file with changing aspect ratio for you to check with
old/current mencoder how it works (old), not works (new):
https://trac.ffmpeg.org/attachment/ticket/5959/ar-change.mpg
More information about the MEncoder-users
mailing list