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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Dec 24 09:53:55 CET 2013


On 23.12.2013, at 18:45, Thomas Zander <thomas.e.zander at googlemail.com> wrote:
> 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,

You need to set special options to make it keep aspect, something like -lavcopts autoaspect or such.

> 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

No idea without a full backtrace/looking at the code.


More information about the MPlayer-users mailing list