2026-01-28 6:47 PM - edited 2026-01-28 7:00 PM
Product:
MCU/SoC: STM32MP2
Description:
In our ST Linux environment, the hantro-vpu driver registers:
/dev/video5 -> VDEC (H.264/VP8 Decoder)
/dev/video6 -> VENC (H.264/VP8 Encoder)
We want to implement direct V4L2 API usage for H.264/VP8 encoding and decoding, without using GStreamer.
Specific Questions:
2026-03-24 1:21 AM
Hi @SullyNiu ,
There are no official examples or demos using pure V4L2 API for H.264/VP8 encoding/decoding delivered by STMicroelectronics.
The wiki page https://wiki.st.com/stm32mpu/wiki/V4L2_video_codec_overview just highlights in its chapter “2.2. APIs description” the official Video for Linux API especially https://www.kernel.org/doc/html/v6.6/userspace-api/media/v4l/v4l2.html in which there are some examples of API usage.
https://www.kernel.org/doc/html/v6.6/userspace-api/media/v4l/dev-stateless-decoder.html is also interesting but I assume that you already know this documentation.
However, hope this information helps.
Regards,
JC.