We have an issue with accelerated video conversion using nvvidconv gstreamer component. When converting RGB video to NV12 and then h264 encoding it, the colors in the video appear too dark. This does not happen when using software color space conversion using videoconvert gstreamer component.
I created a small reproducer that shows the issue, using a gray gradient test pattern:
Since the conversion is to limited range, the expectation is that the Y values of the result are linearly increasing from 16 to 235. With videoconvert this is happening, but with nvvidconv some non-linear curve can be observed. It seems like the nvvidconv is adding some sort of gamma correction?
Hi,
Both plugins are implemented through NvBufSurfTransform(), so it’s supposed to work identically if formats are identical. A bit strange you still observe the deviation. Are you able to try Jetpack 5.1.4? Would be great if you can help try latest Jetpack 5 version.
Hi,
If you use Xavier, please apply it if you would like to upgrade to later Jetpack 5.1.4. If you use Orin, please use Jetpack 6.1, which version shall include the fix.