[FFmpeg-devel] [PATCH] Fix sample_aspect_ratio computation for stereo matroska content.

Kirill Gavrilov gavr.mail at gmail.com
Tue Nov 24 19:42:51 CET 2015

On Mon, Nov 23, 2015 at 11:37 PM, Aaron Colwell <acolwell at google.com> wrote:

> matroskaenc.c applies divisors to the display width/height when generating
> stereo content. This patch adds the corresponding multipliers to
> matroskadec.c
> so that the original sample aspect ratio can be recovered.

Just to link this patch with Matroska Specification notes:

> The pixel count of the track (PixelWidth/PixelHeight) should be the raw
> amount of pixels (for example 3840x1080 for full HD side by side)
> and the DisplayWidth/Height in pixels should be the amount of pixels for
> one plane (1920x1080 for that full HD stream).

Best regards,

More information about the ffmpeg-devel mailing list