[Libav-user] Reuse of format context after free and reallocate?

william keeling WilliamKeeling at hotmail.com
Mon Mar 1 22:32:56 EET 2021


I have a program the creates flash format stream and is work the first time thru but when I process the second stream, I get DTS/PTS non monotonically errors.
After each stream I free and reallocate all contexts:
avcodec_free_context() of all streams video and audio
avformat_free_context()
avio_close()

What am I missing so the format context can be reallocate and used?

Thanks William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210301/56e68ab5/attachment.html>


More information about the Libav-user mailing list