cutvid: Document --hardcode-subs in --help

This commit is contained in:
tastytea 2022-05-07 19:07:39 +02:00
parent fe36e49563
commit b07ee2ccef
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -17,12 +17,13 @@ if [[ ${#o_help} -ne 0 || ! -v 2 || ${#o_from} -ne 2 || ${#o_to} -ne 2 ]]; then
local ret=$(( ${#o_help} ^ 1 ))
print -u $(( 1 + ${ret} )) "usage: ${0} [-h|--help]" \
"--from <HH:MM:SS.MMM> --to <HH:MM:SS.MMM>" \
"[--vencoder <ENCODER>] [--aencoder <ENCODER>]" \
"[--vencoder <ENCODER>] [--aencoder <ENCODER>] [--hardcode-subs]" \
"<INPUT FILE> <OUTPUT FILE> [FFMPEG OPTIONS]"
print -l "\e[3mYou can set bitrates with -b:v and -b:a in FFMPEG OPTIONS" \
"Visit <https://trac.ffmpeg.org/wiki#Encoding> for tips\e[0m"
return ${ret}
fi
local input=${1}
shift
local output=${1}