How to put general video information in vui like Color space, when encode with nvenc?

Hi Nvidia,

I’m using Jetson AGX Orin, and trying to encode some videos using the demo source code - “/usr/src/jetson_multimedia_api/samples/01_video_encode” , but can’t find APIs to insert general video informations like Color space/primaries and Matrix coefficients to the destination video streams, can you please tell me how to put in these informations?

attached my L4T information:

 - NVIDIA Jetson UNKNOWN
   * Jetpack UNKNOWN [L4T 35.1.0]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Libraries:
   * CUDA: NOT_INSTALLED
   * cuDNN: 8.4.1.50
   * TensorRT: 8.4.1.5
   * Visionworks: NOT_INSTALLED
   * OpenCV: 4.5.4 compiled CUDA: NO
   * VPI: ii libnvvpi2 2.1.6 arm64 NVIDIA Vision Programming Interface library
   * Vulkan: 1.3.203

Hi,
Do you mean your frame data is in YUV 420 8-bit bt709 or bt2020? By default the frame data is expected to be YUV420 8-bit bt601.

Yes, i’m using bt709 now, and want to put this information in vui, by this let players know what colorspace to use to display rather than guess it.

Sorry for the late response, have you managed to get issue resolved or still need the support? Thanks

Still need help, i can’t find a way to put bt709 into the vui yet.

Hi,
We will check this and update.

ok, waiting for your feedback