[FFmpeg-trac] #2294(avformat:reopened): timeout option does not work for rtsp streaming
FFmpeg
trac at avcodec.org
Fri Aug 29 21:54:25 CEST 2014
#2294: timeout option does not work for rtsp streaming
------------------------------------+------------------------------------
Reporter: chinshou | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: rtsp | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by jbvsmo):
Use any url that exists (doesn't need to be a real rtsp server)
{{{
ffmpeg -i rtsp://example.com/test test.avi
}}}
It will hang forever because there is no rtsp server (this is simulating
the case where the server is down for maintenance).
Now try adding `-timeout 10` as input option. Instead of waiting for 10
seconds and finishing the process, the error above will show instantly.
It may be an error on the code setting the socket timeout. It looks like
it wants to bind an IP but the address is used
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2294#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list