On startup, run a quick 'is alive' detection call ("ffmpeg -i rtmp://
server.com/stream <http://server.com/stream1>X") through all the streams
that u have, then build your cmd line only for those that that are alive.

On Tue, May 19, 2015 at 9:40 AM, Yevgen Voronetskyy <
yevge...@webgroup-limited.com> wrote:

> Hi,
>
> I would like to generate a mosaic video from multiple RTMP streams.
> I have a working ffmpeg CMD starting with the list of 25-30 online streams:
>
> ffmpeg -i rtmp://server.com/stream1 <rtmp://server.com/stream1> -i rtmp://
> server.com/stream2 <rtmp://server.com/stream2> … -i rtmp://
> server.com/stream30 <rtmp://server.com/stream30> THE_REST_IS_OMMITTED
>
> This command works well only if all streams are present.
> If one of the stream is dead, the ffmpeg complaints “Server error: Failed
> to play stream15; stream not found.” and stops.
>
> Is there any ffmpeg option to by-pass inexistent sources?
>
> Thanks in advance,
> --
> Yev
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to