[Libav-user] one question about network blocking issue
qw
applemax82 at 163.com
Wed Jul 20 13:32:21 CEST 2016
Hi,
I'm making program to read and write rtmp av stream. If network is bad, some ffmpeg functions will block indefinitely.
The rtmp application will use the following functions, including avformat_open_input(), avformat_find_stream_info(), avformat_alloc_output_context2(), avio_open(), avformat_write_header(), av_read_frame(), av_interleaved_write_frame(), av_write_trailer(), avformat_close_input(), and avformat_free_context().
The above functions are used in ffmpeg and transcoding binary programs.
Which function has indefinite-block issue? How to avoid indefinite-block issue?
Thanks!
Regards
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160720/18689e24/attachment.html>
More information about the Libav-user
mailing list