From: Frank Brehm Date: Fri, 29 Dec 2017 09:54:12 +0000 (+0100) Subject: Changing bitrates X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;p=my-stuff%2Ftools.git Changing bitrates --- diff --git a/bin/convert_movie.sh b/bin/convert_movie.sh index 93007e3..1f856aa 100755 --- a/bin/convert_movie.sh +++ b/bin/convert_movie.sh @@ -336,7 +336,11 @@ get_cmd_options() { if [[ -n "${BITRATE}" ]] ; then BITRATE=$(( ${BITRATE} + 0 )) else - if [[ "${GIVEN_SCALE}" -gt 800 ]] ; then + if [[ "${GIVEN_SCALE}" -gt 1400 ]] ; then + BITRATE=3200 + elif [[ "${GIVEN_SCALE}" -gt 1000 ]] ; then + BITRATE=2400 + elif [[ "${GIVEN_SCALE}" -gt 700 ]] ; then BITRATE=1600 else BITRATE=800