[Ffmpeg-devel] handle cached frames
Thu Apr 14 12:47:37 CEST 2005
"Ronald S. Bultje" <rbultje at ronald.bitfreak.net> writes:
> for MPEG-1/2/4 movies (and such), it seems like I'm supposed to call
> avframe_decode() with length=0 to get the remaining cached frames
> (B-frames and such). This works fine, but causes issues for Cinepak (and
> maybe more), which will continuously output the last frame (without
> indicating EOS). Should I handle this differently? If so, how?
Maybe it's enough to do it only if AVCodecContext.has_b_frames is
set. I know of no other reason there would be any delayed frames.
mru at inprovide.com
More information about the ffmpeg-devel