[FFmpeg-user] Multiple live input stops when one input is lost

Alex Molon alex.molon at vision247.com
Mon Oct 2 16:26:18 EEST 2017


Hi all,

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://226.45.23.147:2001?fifo_size=1000000 -i udp://229.45.20.40: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://239.86.86.86: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?

Kind regards,
Alex Molon
CTO

alex.molon at vision247.com<mailto:alex.molon at vision247.com>

Vision247(tm)
Chiswick Park
2nd Floor, Building 10
566 Chiswick High Road
London, W4 5XS, UK
t:+44 20 7636 7474
f:+44 20 7908 7299
www.vision247.com<http://www.vision247.com>

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...
Name: image001.png
Type: image/png
Size: 4657 bytes
Desc: image001.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20171002/af44769a/attachment.png>


More information about the ffmpeg-user mailing list