summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-07 01:26:47 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-07 01:26:47 +0300
commit6093cd56b0e9c5a5d8f00b6740c6d75ab61fb67f (patch)
treefdf24b00d42d4a7a423845297fae1ba4d2f59720
parent05371384a59dc96eae255f6ef1f2959567d7ad78 (diff)
tools/video-util.sh: update some logging output
-rwxr-xr-xtools/video-util.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/video-util.sh b/tools/video-util.sh
index a0388f6..c6abf16 100755
--- a/tools/video-util.sh
+++ b/tools/video-util.sh
@@ -239,9 +239,9 @@ dvr_scan() {
local args=
if [ ! -z "$2" ]; then
args="-roi $2"
- echoinfo "starting dvr-scan, roi=($2), mt=$motion_threshold"
+ echoinfo "dvr_scan($input): roi=($2), mt=$motion_threshold"
else
- echoinfo "starting dvr-scan, no roi, mt=$motion_threshold"
+ echoinfo "dvr_scan($input): no roi, mt=$motion_threshold"
fi
dvr-scan $dvr_scan_args -i "$input" -so --min-event-length 3s -df 3 --frame-skip 2 -t $motion_threshold $args | tail -1
}