We are using xavier nx board with Jetpack 4.6.3(r3273) to realize video encode and output through HDMI. For our usage we want to get less loss in video color, the input format is yuv422 through mipi-csi. And app encode it into yuv420.
In default, it will output RGB through HDMI by DRM, so we want to output yuv format to get better video image. But when followed this step to output HDR stream.
the output video color is much worse than default.
So we have these questions
Can the encoding adopt an 8-bit format instead of the 10le format?
Currently, after encoding and decoding the MIPI input signal, we output YUV through the HDR stream and find that the resulting image’s color differs significantly from the original.
Is it possible to obtain the default color conversion matrix (YUV420-RGB) for HDMI output in Jetson?
Apologies for the unclear explanation. The camera capture is good.
The main issue we’re facing is that when we input the NV12 8-bit data into DRM for HDMI output in YUV format, converting it to NV12 10-bit HDR as suggested in the reference post. We get results in a significant color deviation from the original data. Our input nvbuffer format is NV12 8bit, we hope the output color by HDMI will be consistent with the input data
When we follow the steps to do HDR video playback, the output color is worse than original.
By the way, if we don’t do HDR video playback, just use nv12 yuv420 to DRM output, the defualt format is RGB. So, we want to know if we can modify the color space in this process like change limited to full
In this topic, it modifiy the xorg.conf to set full or limited. But our system don’t have desktop and the video is output by APP through multimedia-api. If we change the xorg.conf, can change the output color space by APP?
Now we just want to get RGB output. And compared with the encoded NV12 color, DRM output RGB color is not good as before. The most difference is the RED color.
the first pic is encoded NV12 color and original color comparsion, it is good as we want.