summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-04-26 21:38:55 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-04-26 21:38:55 +0300
commit586d84b0c0a8b4dc1b5057733892b754397234ec (patch)
tree3ae5acb3517c75fe01902f9a773ffb2ba24ab34f
parent9462194734466325d326f0d631ac29690b2f50a1 (diff)
Revert "test"
This reverts commit 774d851a219e8916ae77b005b1c7da4c90765307.
-rwxr-xr-xtools/ipcam_capture.sh5
1 files 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"