From 774d851a219e8916ae77b005b1c7da4c90765307 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 26 Apr 2023 21:09:56 +0300 Subject: test --- tools/ipcam_capture.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ipcam_capture.sh b/tools/ipcam_capture.sh index d1c13c2..a441b9f 100755 --- a/tools/ipcam_capture.sh +++ b/tools/ipcam_capture.sh @@ -105,6 +105,7 @@ 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 \ +ffmpeg $args -re -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \ + -c copy -bufsize 1835k \ + -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 1 \ "$OUTDIR/record_%Y-%m-%d-%H.%M.%S.mp4" -- cgit v1.2.3 From 586d84b0c0a8b4dc1b5057733892b754397234ec Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 26 Apr 2023 21:38:55 +0300 Subject: Revert "test" This reverts commit 774d851a219e8916ae77b005b1c7da4c90765307. --- tools/ipcam_capture.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/ipcam_capture.sh b/tools/ipcam_capture.sh index a441b9f..d1c13c2 100755 --- a/tools/ipcam_capture.sh +++ b/tools/ipcam_capture.sh @@ -105,7 +105,6 @@ fi [ ! -z "$CREDS" ] && CREDS="${CREDS}@" -ffmpeg $args -re -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \ - -c copy -bufsize 1835k \ - -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 1 \ +ffmpeg $args -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \ + -c copy -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 1 \ "$OUTDIR/record_%Y-%m-%d-%H.%M.%S.mp4" -- cgit v1.2.3