[FFmpeg-user] udp multicasat input failover

Haris Zukanovic haris.zukanovic74 at gmail.com
Mon Mar 23 11:32:56 CET 2015

Hi everyone!
My first post in the list :)

Is there are way to make ffmpeg failover between two udp inputs?

Something like
ffmpeg -i udp://primary.udp.multicast.ip:port -i 
udp://backup.udp.multicast.ip:port -c:a copy -c:v copy -f mpegts 

Possibly to run in loop so the primary is started again when also backup 
has failed, or when the primary has come back to life?

Is there maybe another preferred way to accomplish such failover 
external to ffmpeg, maybe at the network level somehow?


Haris Zukanovic

More information about the ffmpeg-user mailing list