I am trying to encode a stream from a RTMP server using ffmpeg -re -I rtmp:/... and figure out a way to keep ffmpeg alive when there is a short connection loss (i.e., input rtmp server down). I tried -reconnect.. parameters, but so far wasn't successful. Is there a way to achieve this? Thanks,