[Libav-user] AVFormatContext lifetime question

Eugene Kosov claprix at yandex.ru
Fri Oct 9 14:50:33 CEST 2015


Hi.

I'm writing an app that will run forever and play a playlist of files and live streams. It should generate one output stream. What's better and why, create output AVFormatContext once and let it live forever or create output context for every input file/stream?

Thanks in advance.

--
Eugene


More information about the Libav-user mailing list