diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-07 23:59:22 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-07 23:59:22 +0300 |
commit | 80d06b79484b84c4f8c77fd2c492153c832da1e5 (patch) | |
tree | 3dc51c33b8e30640ef2968bd11e134dea2d75013 /tools/video-util.sh | |
parent | ea96f8e04200dbe8659465491ee1982a48894a17 (diff) |
tools/video-util.sh: dvr_scan: print filename in bold
Diffstat (limited to 'tools/video-util.sh')
-rwxr-xr-x | tools/video-util.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |