This commit is contained in:
Evgeny Sorokin 2024-02-21 01:20:38 +03:00
parent cc67e1e2db
commit c17410c073

View File

@ -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}"