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.