[Libav-user] avcodec_receive_frame

rohit khali khali.rohit at gmail.com
Mon Nov 9 11:02:13 EET 2020


I am using avcodec_receive_frame() to receive and dump decoded frames.

All my streams are starting with " IDR" OR "I frames(with SPS,PPS)" however
for a few streams this API immediately returns the decoded frame and
sometimes with some delay.

Any idea which encoded param does FFMPEG take into account to start giving
the decoded output as part of avcodec_receive_frame()?

I (No output)
P (No output)
B (I Frame)
I  (I frame)
B  (No output)
B  (No output)
B (No output)
P (No output)
B (No output)
B (B frame)

Rohit Khali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20201109/a87e699e/attachment.html>

More information about the Libav-user mailing list