[FFmpeg-trac] #11322(avformat:reopened): ffmpeg stops with exit code 0 during input of hls http stream
FFmpeg
trac at avcodec.org
Fri Nov 29 17:16:43 EET 2024
#11322: ffmpeg stops with exit code 0 during input of hls http stream
-------------------------------------+------------------------------------
Reporter: Mad Sweeney | Owner: (none)
Type: defect | Status: reopened
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: http | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by Mad Sweeney):
Hi,
Various experiments with headers did not resolve the problem.
However, I tried using a very large timeout with option:
{{{
-rw_timeout 2147483647
}}}
That seemed to cause the stream to run for much longer but still
terminating early.
Then I tried the
{{{
-re
}}}
option and am having some success with that so far.
It could be that the later versions of ffmpeg are using a very small
timeout resulting in stream termination.
A timeout of 0 seems to mean return immediately if no input available.
A timeout of -1 (to indicate no timeout) is rejected.
Maybe -1 should be accepted to mean not to timeout?
There is another open ticket which describes the same problem I'm having:
#10718
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11322#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list