tools/video-util.sh: update some logging output

This commit is contained in:
Evgeny Zinoviev 2022-06-07 01:26:47 +03:00
parent 05371384a5
commit 6093cd56b0

View File

@ -239,9 +239,9 @@ dvr_scan() {
local args= local args=
if [ ! -z "$2" ]; then if [ ! -z "$2" ]; then
args="-roi $2" args="-roi $2"
echoinfo "starting dvr-scan, roi=($2), mt=$motion_threshold" echoinfo "dvr_scan($input): roi=($2), mt=$motion_threshold"
else else
echoinfo "starting dvr-scan, no roi, mt=$motion_threshold" echoinfo "dvr_scan($input): no roi, mt=$motion_threshold"
fi fi
dvr-scan $dvr_scan_args -i "$input" -so --min-event-length 3s -df 3 --frame-skip 2 -t $motion_threshold $args | tail -1 dvr-scan $dvr_scan_args -i "$input" -so --min-event-length 3s -df 3 --frame-skip 2 -t $motion_threshold $args | tail -1
} }