Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH
Tool/software:
Hi,
I'm using the video encoders of the TDA4VH in my application with the SDK9.2.
At some point, the video encoder returns an empty frame (size 0) and then always have a delay in the output (ie, the output frame is always one frame behind the input frame).
I'm using the ffmpeg C++ API with h264_v4l2m2m codec.
I tried flushing the encoder by sending an empty frame, but I'm then not able to restart encoding properly without recreating the context entirely.
Recreating the context entirely does not work either because I have to recreate it way too often then and it kills performance.
Do you know a way of fixing this ?
Thanks,
Matthieu