[Libav-user] Cached frames
d3ck0r at gmail.com
Fri Jul 24 05:11:10 CEST 2015
On Thu, Jul 23, 2015 at 5:13 PM, Gonzalo Garramuno <ggarra13 at gmail.com>
> I understand that some video (and audio) codecs cache frames to decode B
> frames for example. In order to retrieve the last frames of such movies,
> it is needed to call av_read_frame and wait for an error of AVERROR_EOF
> which then means I need to pass packets with NULL and size 0.
> This is all dandy. However, I would like to know in advance how many
> times I will need to pass packets with NULL and size 0. Is there a way to
> know this?
> until it stops returning a frame.
> Gonzalo Garramuño
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user