summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-07 18:09:00 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-07 18:09:00 +0300
commit49106dd29d2c974a7373a3cf4230f733feecbb02 (patch)
tree777c92184276bd8d36a6b5e99af4f0aaf7639ccf /tools
parentaabd735fd2086c9a4e5cd7e6842f1a0a1fb3f090 (diff)
tools/video-util.sh: fix --output
Diffstat (limited to 'tools')
-rwxr-xr-xtools/video-util.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/video-util.sh b/tools/video-util.sh
index 7ba0d30..caf925d 100755
--- a/tools/video-util.sh
+++ b/tools/video-util.sh
@@ -13,6 +13,7 @@ YELLOW=$(tput setaf 3)
CYAN=$(tput setaf 6)
input=
+output=
command=
roi_file=
motion_threshold=1
@@ -261,6 +262,11 @@ while [[ $# -gt 0 ]]; do
shift; shift
;;
+ -o|--output)
+ output="$2"
+ shift; shift
+ ;;
+
--roi-file)
roi_file="$2"
shift; shift