[FFmpeg-devel] [PATCH] mxfdec: export aspect information.

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 3 22:38:54 CET 2013


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> +            if (descriptor->aspect_ratio.num > 0 && 
> descriptor->aspect_ratio.den > 0)
> +                st->sample_aspect_ratio = av_div_q(descriptor->aspect_ratio,
> +                    (AVRational){st->codec->width, st->codec->height});

This patch is still necessary to correctly decode these samples:
http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket1294/AVCI50_Test.mxf
http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket1294/AVCI50_Test_xf.mxf

Isn't the problem that the SPS/PPS signal a wrong codec 
aspect ratio?

Carl Eugen



More information about the ffmpeg-devel mailing list