This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: M5728 SoC and would like to directly access the hardware-accelerated H.264 encoder/decoder

Part Number: AM5728

Tool/software:

Hello,

I am working with the AM5728 SoC and would like to directly access the hardware-accelerated H.264 encoder/decoder via the V4L2 API, without using GStreamer. I understand that the AM5728 provides hardware support for H.264 encoding/decoding, but I am looking for guidance on how to interact with these hardware components directly using V4L2.

Could anyone share insights or provide examples on:

  1. How to configure the V4L2 interface for accessing the H.264 encoder/decoder on the AM5728.
  2. Which V4L2 ioctls are required to initiate and control the encoding/decoding process.
  3. Any specific driver or kernel configuration that I need to enable for accessing the hardware features.
  4. Potential challenges or pitfalls when bypassing GStreamer for direct access.

Any help or pointers would be greatly appreciated!

Thank you.