Image Encoder (nvmimg_enc)

The NvMedia sample application nvmimg_enc demonstrates how to use the NvMedia image encode API to encode H.264/H.265 bitstreams with the NVENC hardware engine.

The application consumes raw images in a single YUV file in the YUV color space. It produces compressed elementary streams in one of the following formats:

  • AV1 main profile up to level 6.3 with various configuration parameters
  • H.264 with various configuration parameters
    • Baseline up to Level 4.1
    • Main profiles up to Level 4.1
    • High profiles up to Level 4.1
  • H.265 main profiles up to level 6.0 with various configuration parameters

nvmimg_enc can run in event data recorder mode for a given number of seconds, as specified on the command line. The specified number of seconds of bitstream is saved to the output bitstream file.