diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-02-21 01:20:38 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-02-21 01:20:38 +0300 |
commit | c17410c07352a0b42a0400e778f9c6de98f268f0 (patch) | |
tree | a376a64702b5884ef5ab9f5fba814eee09fc6929 /tools/ipcam_capture.sh | |
parent | cc67e1e2db587b415c7bdd7339d03342d3279bb4 (diff) |
fix
Diffstat (limited to 'tools/ipcam_capture.sh')
-rwxr-xr-x | tools/ipcam_capture.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ipcam_capture.sh b/tools/ipcam_capture.sh index eb87b1c..c788e05 100755 --- a/tools/ipcam_capture.sh +++ b/tools/ipcam_capture.sh @@ -118,6 +118,7 @@ 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 \ -segment_time_delta 0.01 -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}" |