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

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:// -i udp:// -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://

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

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

Chiswick Park
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<> | linkedin<>

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]

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

image001.png (6K) Download Attachment