summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-01-11 17:40:10 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-01-11 17:40:10 +0300
commit014f310353328e93bcf490e2ce22425f53d024ff (patch)
tree8840864882eb8c4b3b1a5b236e3378e784df3fc3 /tools
parentc712beb699aa21d0a0f1c2b9479732c3b7dfbf02 (diff)
ipcam capture upd
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ipcam_capture.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ipcam_capture.sh b/tools/ipcam_capture.sh
index 3ff8921..705c920 100755
--- a/tools/ipcam_capture.sh
+++ b/tools/ipcam_capture.sh
@@ -115,5 +115,5 @@ fi
[ ! -z "$CREDS" ] && CREDS="${CREDS}@"
ffmpeg $args -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \
- -c copy -use_wallclock_as_timestamps 1 -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 1 \
+ -c copy -use_wallclock_as_timestamps 1 -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 1 -bufsize 2M -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 \
"$OUTDIR/record_%Y-%m-%d-%H.%M.%S.${EXTENSION}"