diff options
Diffstat (limited to 'tools/ipcam_capture.sh')
-rwxr-xr-x | tools/ipcam_capture.sh | 5 |
1 files 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" |