V4l2 querying capabilities of Jetson video encoder and decoder

Using the V4L2 API is it possible to programmatically determine the codec support of Jetson hardware?

I was able to successfully use the following calls:

  • VIDIOC_ENUM_FMT on encoder and decoder to get a list of codecs
  • VIDIOC_ENUM_FRAMESIZES to get limits on framesizes for each
  • VIDIOC_ENUM_FMT to get raw video formats for each encoded video format

Are there ways to find out the following programatically?

  • Decoder supported V4L2_CID_MPEG_VIDEO_H265_PROFILE and V4L2_CID_MPEG_VIDEO_H264_PROFILE
  • Decoder supported VP9, AV1 flavours (bit depth, chroma format)
  • Encoder supported profiles and levels

When I query supported raw formats from AV1 / VP9 decode there are only 8-bit formats (YCbCr 420 8-bit, YCbCr 422 8-bit, YCbCr 444 8-bit and YCbCr 444 10-bit). How can I support a 12bit AV1 decode?

VIDIOC_QUERYCTRL doesn’t seem to be returning any results for me.

Hi,
For hardware capability, please check module data sheet:
https://developer.nvidia.com/downloads/assetsembeddedsecurejetsonagorinjetsonagxorinds-10662-001v12pdf

For AV1 decoding, we support Main profile. Decoding 12-bit stream is not supported.

Thanks @DaneLLL that does have some useful detail in.

It would be nice to be able to access more of that detail programatically, but I can live without it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.