[FFmpeg-user] keep ffmpeg trying on untable udp input stream

andrei ka andrei.k.gml at gmail.com
Mon Jul 27 15:30:44 EEST 2020


hi all,

afaik ffmpeg timeouts (~4secs max) if input udp multicast stops
broadcasting. is where any known way (with production build, i saw one ~2
yrs old patch for switching source to secondary if primary dies) to keep
ffmpeg doing dups or sending anything else, black, smtpe bars, etc, till
multicast returns, like pro hw encoders do it ? i guess i could make
intermediate ffmpeg listening on intermediate multicast, and do some shell
with starting ffprobing lost signal and sending color in background ffmpeg
to that intermediate multiast, but it's a bit rough to my taste, the best
would be to have just a continuous bitstream... zmq could help somehow ?

cheers, &rei


More information about the ffmpeg-user mailing list