summaryrefslogtreecommitdiff
path: root/tools/ipcam_capture.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-01-10 03:21:42 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-01-10 03:21:45 +0300
commitc712beb699aa21d0a0f1c2b9479732c3b7dfbf02 (patch)
treea9dae67fcdd414a3636a3e8c5fc0989ab98a7c91 /tools/ipcam_capture.sh
parentc857f58b4094d032910ea366ab7f509ab847e949 (diff)
use corrent timestamps
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 08b9093..3ff8921 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 -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 \
"$OUTDIR/record_%Y-%m-%d-%H.%M.%S.${EXTENSION}"