Opened 4 years ago

#3733 new defect

ffmpeg encoder does not retry sending a feed

Reported by: andrixnet Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Assume having a ffserver distribution server somewhere, with some feeds configured on it and several ffmpeg encoders feeding it with streams.

This assumes ffserver is on one physical machine and ffmpeg encoders are on different physical machines.

If at any one time there is the need to restart ffserver (intentionally or by accident, ie power loss), all ffmpeg encoders feeding this server die.

This raises a whole lot of problems for creating and maintaining an automated environment of streaming media using ffmpeg+ffserver combo.
Either each encoder is restarted manually - big no-no for an automated setup, or
scripts must be implemented to put ffmpeg into an infinite loop.
Either special stopping commands are built into such scripts, or killing them can trigger what I have just reported as #3732.

ffmpeg should retry connecting to the server upon connection loss or server loss, either by default, or forced by a command line switch.

Change History (0)

Note: See TracTickets for help on using tickets.