Hi,

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()?

Example:
*Case:1*
I (No output)
P (No output)
B (I Frame)
*Case-2:*
I  (I frame)
B  (No output)
B  (No output)
B (No output)
P (No output)
B (No output)
B (B frame)

Thanks,
Rohit Khali
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to