diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-02-21 14:22:27 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-02-21 14:22:27 +0300 |
commit | 3a8961837c243e45c7ab51f9aa6d679b681d7f96 (patch) | |
tree | 5e6faa400d662510532ab5916af190ba04967c46 /tools/ipcam_capture.sh | |
parent | 40bcc7f5f41f6ffad7379eb200f19a7ed10e77b9 (diff) |
another fix
Diffstat (limited to 'tools/ipcam_capture.sh')
-rwxr-xr-x | tools/ipcam_capture.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ipcam_capture.sh b/tools/ipcam_capture.sh index 69aded2..b5e29f1 100755 --- a/tools/ipcam_capture.sh +++ b/tools/ipcam_capture.sh @@ -118,6 +118,6 @@ fi ffmpeg $args -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \ -c copy -f segment -strftime 1 -segment_time 00:10:00 -segment_format_options movflags=+faststart \ - -use_wallclock_as_timestamps 1 -reset_timestamps 1 -bufsize 2M \ + -segment_time_delta 0.01 -segment_atclocktime 1 -reset_timestamps 1 -bufsize 2M \ -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 \ "$OUTDIR/record_%Y-%m-%d-%H.%M.%S.${EXTENSION}" |