From c712beb699aa21d0a0f1c2b9479732c3b7dfbf02 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 10 Jan 2024 03:21:42 +0300 Subject: use corrent timestamps --- tools/ipcam_capture.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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}" -- cgit v1.2.3