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) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".