[MPlayer-dev-eng] aspect ratio: container vs vd_ffmpeg
arpi at thot.banki.hu
Tue May 6 15:21:35 CEST 2003
> > hmm, btw. in g2 there is no way to pass aspect ratio from demuxer level.
> > maybe i have to add it, if matroska uses such thing (and qt/mov too)
> Matroska stores an AR, yes, and my guess would be that future Ogg can do
> that, too (apart from mov/mpeg, which already store it). So yeah, it
> would be nice :)
not, in mpeg it's the video stream which contains AR not the container.
this is why ffmpeg codec overrides AR, when parsed out frame header.
for mov there is no actual AR, but a 'display size' which may have different
AR than coded width/height.
i think i'll add an aspect field to the demux_stream_t, and it will have
priority over codec AR, so for example mpeg4 video embedded in mov or
matroska will work as expected.
A'rpi / Astral & ESP-team
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng