One more follow-up: I'm adding 36 non-trivial frames and, at the very end, I add a NULL frame. And, as expected, at the end, the entry codec->frame_number is indeed set to 37, but I can only see the first 18 of them.
I also noticed that the call to avcodec_encode_video2 returns got_packet=0 about half the time. I suspect this is related. But other than setting max_b_frames to zero I'm not sure what else I need to do to recover all my frames all the time. Thanks. -Arthur _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
