From 0d21a0f5ccb71c7c8a67fd0df768d51bf89b055b Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Tue, 16 Jul 2024 13:00:13 -0500 Subject: [PATCH] yea --- .gitignore | 1 + scripts/recc_encode.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c151af9..3581546 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ x264 x265* googletest vpx +hdr10plus .last_opts diff --git a/scripts/recc_encode.sh b/scripts/recc_encode.sh index 1b59c12..e6f58e6 100755 --- a/scripts/recc_encode.sh +++ b/scripts/recc_encode.sh @@ -11,8 +11,8 @@ BUILDER_DIR="$(dirname "$SCRIPT_DIR")" usage() { echo "encode -i input_file [-p -c -s true/false] [-g NUM] [output_file_name] [-I] [-U]" echo -e "\t-p print the command instead of executing it [optional]" - echo -e "\t-c use cropdetect [default=true, optional]" - echo -e "\t-s use same container as input [default is always mkv, optional]" + echo -e "\t-c use cropdetect [default=false, optional]" + echo -e "\t-s use same container as input [default=false, always mkv, optional]" echo -e "\t-g set film grain for encode [optional]" echo -e "\toutput_file_name if not set, will create at $HOME/ [optional]" echo -e "\t-I Install this as /usr/local/bin/encode [optional]" @@ -149,7 +149,7 @@ MAX_OPT=$(( NUM_OPTS + 1 )) test "$#" -lt $MIN_OPT && echo "not enough arguments" && usage && exit 1 test "$#" -gt $MAX_OPT && echo "too many arguments" && usage && exit 1 # default crop value -CROP='true' +CROP='false' while getopts "$OPTS" flag; do case "${flag}" in I)