[FFmpeg-user] Is there a way to reconnect to a RTSP stream after it disappears from the network?
Mikhail Morfikov
mmorfikov at gmail.com
Mon Jan 6 23:51:55 EET 2025
On 2025-01-06 22:12, Carl Zwanzig wrote:
>
> Out of curiosity, have you tried RTMP instead to see if it behaves
> differently?
No, this is a cheap IP camera, supporting only RTSP or/and some
proprietary protocol if you use their android app. I don't want to
use the app, and since it gives me the RTSP stream, I wanted to
record it from time to time. FFmpeg does it without problems, but
it fails when can't connect to the camera. With the systemd service,
everything works just fine, but what if I got some other system
without systemd? So I'm still looking for some more universal solution.
More information about the ffmpeg-user
mailing list