diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-07 18:09:00 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-07 18:09:00 +0300 |
commit | 49106dd29d2c974a7373a3cf4230f733feecbb02 (patch) | |
tree | 777c92184276bd8d36a6b5e99af4f0aaf7639ccf /tools | |
parent | aabd735fd2086c9a4e5cd7e6842f1a0a1fb3f090 (diff) |
tools/video-util.sh: fix --output
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/video-util.sh | 6 |
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 |