summaryrefslogtreecommitdiff
path: root/tools/ipcam_capture.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ipcam_capture.sh')
-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 69aded2..b5e29f1 100755
--- a/tools/ipcam_capture.sh
+++ b/tools/ipcam_capture.sh
@@ -118,6 +118,6 @@ fi
ffmpeg $args -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \
-c copy -f segment -strftime 1 -segment_time 00:10:00 -segment_format_options movflags=+faststart \
- -use_wallclock_as_timestamps 1 -reset_timestamps 1 -bufsize 2M \
+ -segment_time_delta 0.01 -segment_atclocktime 1 -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}"