[Libav-user] Buffered frames in avcodec h264 decoder

Alina lifshits alina at vicon.co.il
Thu Dec 4 14:31:52 CET 2014

I am using avcodec decoder to decode h264 stream. I noticed that the decoder buffers a few first frames before returning a decoded picture. 
The stream is from a live source and does not contains B frames. Is there a way to tell the decoder not to buffer frames, or maybe to buffer just 1 or 2 at most?
Since I am working with a live video, it very important for me to keep small latency.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141204/ec9215e6/attachment.html>

More information about the Libav-user mailing list