I'm using ffmpeg to transcode a rtmp-stream and re-stream it with ffmpeg.
I have 2 problems:
- how can I check if the remote rtmp-stream is running and then start ffmpeg
- sometimes ffmpeg breaks up transcoding and it must be restarted automatically
Any ideas?