I use the following command to save a camera stream to disk:

$ ffmpeg -t 3600 -vcodec copy -acodec copy \
  -i rtsp://<IP:Port>/live.sdp \
  current.mp4

Now if the network connection is lost or the camera is unavailable,
»ffmeg« stops recording and exits with an error.
Is there a away, to let »ffmeg« continuously try to reconnect to the stream
source and only end if either the record duration is reached or a kill signal
received?

thanks
Lars
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to