[FFmpeg-devel] [PATCH] nvenc: Compensate for hardware trying to mess with aspect ratio of DVD content.

Kieran Kunhya kierank at obe.tv
Tue Jan 20 00:58:05 CET 2015


> Taking the Sample/pixel aspect ratio (SAR) calculated above and feeding
> that back into calculating a display aspect ratio *for the whole frame*
> leads to a value that is not 16:9 (or 4:3), and it appears to be this
> figure which is then reported as the DAR, rather than that of the active
> picture. This is I think the disjoint between DAR and SAR that Kieran
> refers to, there is only a mathematical relationship if you include the
> overscan.

At least for the DVB/DVD/Blu-ray mandated aspect ratios (e.g 12:11 and
16:11 for PAL) you have to use further approximations (which is what
the nvidia driver is doing).

Kieran


More information about the ffmpeg-devel mailing list