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

Nicolas George george at nsup.org
Sun Jan 18 01:02:10 CET 2015


L'octidi 28 nivôse, an CCXXIII, Kieran Kunhya a écrit :
> Oops I misunderstood, you mean the software must comply with the users wishes.

Yes.

> Anyway my argument is that BT601 should be the default for the these
> resolutions.

If you want, but that must happen immediately when the contents enters into
FFmpeg's data structure, not at a random point in the processing chain.

In other words, it should happen immediately when FFmpeg reads contents that
is "probably" BT601:

Input stream #0:0: Video: mpeg2video (Main), yuv420p(tv),
	720x576 [SAR 64:45 DAR 16:9]

should be fixed into:

Input stream #0:0: Video: mpeg2video (Main), yuv420p(tv),
	720x576 [SAR 512:351 DAR 640:351]

That way, the laws of geometry and arithmetic are respected, the size of the
pixels is correct, and it will work will all encoders, not just nvenc.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150118/d4a1013b/attachment.asc>


More information about the ffmpeg-devel mailing list