B
B
Benderatorr2016-08-23 15:19:29
Windows
Benderatorr, 2016-08-23 15:19:29

How to make ffmpeg ignore camera ip reboot?

Hello.
cmd of the kind

ffmpeg -rtsp_transport tcp -stimeout 100000000 -i "rtsp://192.168.50.50:554/user=admin&password=&channel=1&stream=0.sdp?real_stream" -b:v 900k -acodec copy -vcodec copy -r 30 -f segment -strftime 1 -segment_time 00:30:00 -reset_timestamps 1 -segment_format avi D:\Camera\level2\output_%%d-%%m_%%Y_%%H_%%M.avi

video is being recorded from the Vesta ip camera.
Is there any way to make ffmpeg not stop writing to the current file when the network breaks, but wait for the stream to appear.
UPD. There are changes, I checked the reconnection by rebooting the camera (power), but if you just distort the network, then the recording is restored.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MgmZog, 2016-08-25
@MgmZog

Скорее всего нужно внешними средствами мониторить статус и перезапускать ffmpeg при долгих разрывах.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question