Opened 3 years ago

Last modified 3 years ago

#5664 new enhancement

Reconnect ONLY 4 seconds

Reported by: Ultrapower Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: http
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,

with the "reconnect_delay_max" Option FFmpeg is waiting max. 4294ms until reconnect.

If a Stream is down for more than 4 Seconds FFmpeg will NOT reconnect anymore '''

Can somebody increase the Delay please ?

Change History (5)

comment:1 Changed 3 years ago by cehoyos

  • Component changed from ffmpeg to avformat
  • Keywords http added
  • Priority changed from important to normal

Please explain how this can be reproduced, provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:2 Changed 3 years ago by Ultrapower

ffmpeg and then -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 4294

After 4294 comes the -i (Input and so on).

As you can see FFmpeg allows only 4294 Milliseconds, thats really low value. After 4 Seconds FFmpeg stops if the Input Stream remains Offline.

Could you please increase the Limit to lets say 1 hour or more ?

comment:3 Changed 3 years ago by cehoyos

Isn't the current limit 4294 seconds?

comment:4 Changed 3 years ago by Ultrapower

No its 4294 Milli-Seconds only :(

comment:5 Changed 3 years ago by Ultrapower

Still same ... ffmpeg abort connection - no reconnect if the source goes down for a while!

Note: See TracTickets for help on using tickets.