mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
yea
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -14,4 +14,5 @@ x264
|
|||||||
x265*
|
x265*
|
||||||
googletest
|
googletest
|
||||||
vpx
|
vpx
|
||||||
|
hdr10plus
|
||||||
.last_opts
|
.last_opts
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ BUILDER_DIR="$(dirname "$SCRIPT_DIR")"
|
|||||||
usage() {
|
usage() {
|
||||||
echo "encode -i input_file [-p -c -s true/false] [-g NUM] [output_file_name] [-I] [-U]"
|
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-p print the command instead of executing it [optional]"
|
||||||
echo -e "\t-c use cropdetect [default=true, optional]"
|
echo -e "\t-c use cropdetect [default=false, optional]"
|
||||||
echo -e "\t-s use same container as input [default is always mkv, 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 "\t-g set film grain for encode [optional]"
|
||||||
echo -e "\toutput_file_name if not set, will create at $HOME/ [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]"
|
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 "$#" -lt $MIN_OPT && echo "not enough arguments" && usage && exit 1
|
||||||
test "$#" -gt $MAX_OPT && echo "too many arguments" && usage && exit 1
|
test "$#" -gt $MAX_OPT && echo "too many arguments" && usage && exit 1
|
||||||
# default crop value
|
# default crop value
|
||||||
CROP='true'
|
CROP='false'
|
||||||
while getopts "$OPTS" flag; do
|
while getopts "$OPTS" flag; do
|
||||||
case "${flag}" in
|
case "${flag}" in
|
||||||
I)
|
I)
|
||||||
|
|||||||
Reference in New Issue
Block a user