[FFmpeg-trac] #11541(avcodec:new): All NVENC encoders change bt709 color space to bt470bg when pixel format is not specified
FFmpeg
trac at avcodec.org
Mon Apr 7 21:12:31 EEST 2025
#11541: All NVENC encoders change bt709 color space to bt470bg when pixel format is
not specified
-------------------------------------+-------------------------------------
Reporter: fmnijk | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: colorspace | Blocked By:
NVENC scale |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
>color space gets incorrectly set to bt470bg instead of bt709 when not
explicitly specifying a pixel format.
Pixel format has nothing to do with colorspace/primaries/transfer. It is
completly unrelated, well, besides xyz12 and rgb stuff, where colorspace
is set to 0. E.g. pixel format P010 may be SDR 10 bit.
It is expected that BT.601 is default matrix in most situations. There is
no bug here, you have to force bt709 matrix or bt2020-ncl matrix if you
need it.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11541#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list