[Libav-user] the usage of av_interleaved_write_frame() to flush interleaving queues

qw applemax82 at 163.com
Fri Nov 18 11:27:51 EET 2016


I have one question about the usage of av_interleaved_write_frame(). I have read the function's description from '
http://ffmpeg.org/doxygen/2.8/group__lavf__encoding.html#ga37352ed2c63493c38219d935e71db6c1', and know if pkt equals NULL, av_interleaved_write_frame() will flush the interleaving queues.

How many times I should call av_interleaved_write_frame() to flush all buffered queues? If av_interleaved_write_frame() is called to flush, How do I know whether there is any buffered queue or not?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161118/7030f64d/attachment-0001.html>

More information about the Libav-user mailing list