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:

   * Jetpack UNKNOWN [L4T 35.1.0]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Libraries:
   * cuDNN:
   * TensorRT:
   * 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

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.