I’ve tried to use this approach with ffprobe to check the aliveness of streams. Unfortunately, the streams unpublishing are quite often, so the time gap is rather big and often I still getting the same error…
Anyway, thank you for your response :) -- Yev > On May 19, 2015, at 10:41, Anatol <[email protected]> wrote: > > 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 < > [email protected]> 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 >> [email protected] >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
