From 80d06b79484b84c4f8c77fd2c492153c832da1e5 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 7 Jun 2022 23:59:22 +0300 Subject: tools/video-util.sh: dvr_scan: print filename in bold --- tools/video-util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/video-util.sh b/tools/video-util.sh index 3ce4a3e..35d0af0 100755 --- a/tools/video-util.sh +++ b/tools/video-util.sh @@ -257,9 +257,9 @@ dvr_scan() { local args= if [ ! -z "$2" ]; then args="-roi $2" - echoinfo "dvr_scan($input): roi=($2), mt=$motion_threshold" + echoinfo "dvr_scan(${BOLD}${input}${RST}${CYAN}): roi=($2), mt=$motion_threshold" else - echoinfo "dvr_scan($input): no roi, mt=$motion_threshold" + echoinfo "dvr_scan(${BOLD}${input}${RST}${CYAN}): no roi, mt=$motion_threshold" fi time_start dvr-scan $dvr_scan_args -i "$input" -so --min-event-length 3s -df 3 --frame-skip 2 -t $motion_threshold $args | tail -1 -- cgit v1.2.3