Multiple live input stops when one input is lost

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multiple live input stops when one input is lost

alexdjca
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

[hidden email]<mailto:[hidden email]>

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@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 [hidden email]<mailto:%[hidden email]> and then delete the Email, including any attachments, and destroy any copies of it.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

image001.png (6K) Download Attachment