[Ffmpeg-devel] handle cached frames

Ronald S. Bultje rbultje
Thu Apr 14 12:34:02 CEST 2005


Hi,

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?

Ronald
-- 
Ronald S. Bultje <rbultje at ronald.bitfreak.net>





More information about the ffmpeg-devel mailing list