[Libav-user] av_read_frame() - recovering from timeout/AVERROR_EXIT

mohammed rasool rasool.md at gmail.com
Wed Jun 12 17:27:23 EEST 2019


Hi,

I am using the av_read_frame() to read input from network and using
`timeout` in case there are NW issues.
Currently, when above happens, I restart the entire transcoding pipe.
Is there a possibility that I can reuse the same context to restart
transcoding when input is available?
Right now it seeems to me that once av_read_frame() is in error state, it
keeps sending same return value for subsequent calls.

-- 
Regards
Rasool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190612/3ca254c0/attachment.html>


More information about the Libav-user mailing list