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.

How to decrease the latency of decoding H.264MPEG4 live video on davinci(using DMAI)

When decoding H.264/MPEG4 live video using DMAI, there is a function " Vdec2_process(hDecoder, hInBuf, hDstBuf) " , where hInBuf is a buffer built for live video data, and decoded data is put into hDstBuf.

The size of hInBuf should be Vdec2_getInBufSize(hDecoder) or more, so we have to fill enough live video data with hInBuf , which means waiting a enough time dalta to get the enough data.   This result in a around 4 secs datency.

How to decrease the latency as less as possible ?