aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Sorokin <me@ch1p.io>2024-02-21 01:01:07 +0300
committerEvgeny Sorokin <me@ch1p.io>2024-02-21 01:01:07 +0300
commitcc67e1e2db587b415c7bdd7339d03342d3279bb4 (patch)
treeb162693e0266b83a8fd95e31f037e56e71ca4d96
parentf95472b413414dd478bb538904a524aa7d03ae61 (diff)
one more fix
-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 d00e469..eb87b1c 100755
--- a/tools/ipcam_capture.sh
+++ b/tools/ipcam_capture.sh
@@ -117,7 +117,7 @@ fi
[ ! -z "$CREDS" ] && CREDS="${CREDS}@"
ffmpeg $args -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \
- -c copy -f segment -strftime 1 -segment_time 600 -segment_format_options movflags=+faststart \
+ -c copy -f segment -strftime 1 -segment_time 00:10:00 -segment_format_options movflags=+faststart \
-segment_time_delta 0.01 -reset_timestamps 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}"