[FFmpeg-user] Multiple live input stops when one input is lost
alex.molon at vision247.com
Mon Oct 2 16:26:18 EEST 2017
I'd like to remux two live SPTS inputs (in this case two channels downlinked from different dishes) in a single MPTS with two programs in, and I'm doing it with this command:
ffmpeg -i udp://22.214.171.124:2001?fifo_size=1000000 -i udp://126.96.36.199:2000?fifo_size=1000000 -c copy -map 0:0 -map 0:1 -map 1:0 -map 1:1 -program title=Program_1:st=0:st=1 -program title=Program_2:st=2:st=3 -f mpegts udp://188.8.131.52:8686?pkt_size=1316
Everything works as expected, but if I miss one input ffmpeg just hangs waiting for the input to come back.
Is there any way to force ffmpeg to go ahead streaming only the available input until the lost input is back again?
alex.molon at vision247.com<mailto:alex.molon at vision247.com>
2nd Floor, Building 10
566 Chiswick High Road
London, W4 5XS, UK
t:+44 20 7636 7474
f:+44 20 7908 7299
Follow us on: twitter<https://twitter.com/vision_247> | linkedin<http://www.linkedin.com/company/vision247?trk=hb_tab_compy_id_2456018>
[cid:image001.png at 01D33B86.3B97D8E0]
Complete broadcast solutions
Any opinions expressed in this Email are those of the individual and not necessarily the company. This Email and any files transmitted with it are confidential and intended solely for the use of the intended recipient. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, be advised that you have received this Email in error and that any use of it is strictly prohibited. If you have received this Email in error please notify us via email info at vision247.com<mailto:%20info at vision247.com> and then delete the Email, including any attachments, and destroy any copies of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4657 bytes
More information about the ffmpeg-user