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(-) (limited to 'tools') 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