ipcam capture upd

This commit is contained in:
Evgeny Zinoviev 2024-01-11 17:40:10 +03:00
parent c712beb699
commit 014f310353

View File

@ -115,5 +115,5 @@ fi
[ ! -z "$CREDS" ] && CREDS="${CREDS}@"
ffmpeg $args -i rtsp://${CREDS}${IP}:${PORT}/Streaming/Channels/${CHANNEL} \
-c copy -use_wallclock_as_timestamps 1 -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 1 \
-c copy -use_wallclock_as_timestamps 1 -f segment -strftime 1 -segment_time 00:10:00 -segment_atclocktime 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}"