From 9e37892aae15090802285b42c08f3c977df9a7ef Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 29 Dec 2017 10:54:12 +0100 Subject: [PATCH] Changing bitrates --- bin/convert_movie.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5