2025-11-14 10:47 PM - edited 2025-11-15 1:18 AM
Hi everyone, I am working on collecting video using a modified VENC_RSTP_server example for my project with the VD56G3 camera, but I am encountering an error while encoding the frames.
Here is what I have done so far:
Verified that the VD56G3 camera works with the board and is displayed on the LTDC screen. I am able to change its resolution and FPS.
Verified that the original code works with the MB1854B camera (the one originally provided with the board).
Made the necessary changes in the VENC_RSTP_server code to support the VD56G3 camera.
However, while encoding the frames, I am receiving this error in the UART terminal when trying to record via ffplay . I am attaching the error log for reference.
I have tried modifying the VENC parameters, but to no avail. The error code -11 means H264ENC_HW_TIMEOUT, as shown in h264encapi.h.
I am also attaching my venc_app.c file for your reference.
Kindly help.