[MPlayer-users] Wrong aspect ratio when playing old mkv files

Thomas Zander thomas.e.zander at googlemail.com
Mon Dec 23 18:45:13 CET 2013


On 23 December 2013 18:01, Thomas Zander <thomas.e.zander at googlemail.com> wrote:
> On 22 December 2013 21:37, Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
>>> I have prepared a small sample that demonstrates the effect. mkvinfo
>>> shows display width / height correctly, but mplayer does not use it.
>>> The link to the file is provided via personal e-mail. Please let me
>>> know via personal e-mail if you need access to it.
>>
>> Thanks, should be fixed in r36558.
>
> It is. This is great. Thanks for locating and fixing the issue so quickly!

Addon: mplayer plays correctly, but mencoder loses the dimensions
information when transcoding into another format using libavcodec.
E.g. transcoding the sample file using -ovc lavc -oac mp3lame -o
aspect_ratio_sample.avi results in a file that is played using the
wrong dimensions, and also at the end of the transcoding job, it
segfaults after hitting the assertion:
Assertion v>0 && v<=(1 ? 32 : 16) failed at libavutil/mem.c:225

@Carl Eugen: Is this the one you were referring to?

Transcoding using -ovc x264 -oac mp3lame -o aspect_ratio_sample.avi
does work, however, does not segfault and retains aspect ratio
correctly.

Best regards
Thomas


More information about the MPlayer-users mailing list