[Libav-user] Cached frames
Gonzalo Garramuno
ggarra13 at gmail.com
Fri Jul 24 02:13:02 CEST 2015
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?
--
Gonzalo Garramuño
More information about the Libav-user
mailing list