[FFmpeg-devel] Flush muxer in av_interleaved_write_frame

Alex ThreeD alexthreed at gmail.com
Fri Oct 22 13:32:40 EEST 2021


Hi.

Currently, there is no legitimate way to flush data buffered within the
muxer for applications that choose to use av_interleaved_write_frame.
Actually one could flush muxer buffers with av_write_frame, but docs forbid
mixing av_interleaved_write_frame/av_write_frame within a single muxing
context.

Either docs should explicitly allow mixing av_write_frame(s, NULL) with
av_interleaved_write_frame or av_interleaved_write_frame should flush not
only interleaving queues but muxer too (I prefer the latter as it looks
more expected, will send patch shortly)


More information about the ffmpeg-devel mailing list