On Mon, May 06, 2013 at 12:42:29PM -0700, Brad O'Hearne wrote:
> I am seeing the following output in the console upon trying to close a codec. 
> 
> [libmp3lame @ 0x10101fe00] 9 frames left in the queue on closing
> 
> What is the proper convention for flushing the codec prior to closing it? 
> 
> Thanks, 
> 
> Brad

I believe the normal convention is to "encode" an empty frame (NULL AVFrame 
pointer).
If the codec returns a packet, that is a delayed (queued) packet from the 
encoder.
Repeat until it stops returning packets.

Cheers,
-E
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to