]> Frank Brehm's Git Trees - my-stuff/tools.git/commitdiff
Changing bitrates master
authorFrank Brehm <frank@brehm-online.com>
Fri, 29 Dec 2017 09:54:12 +0000 (10:54 +0100)
committerFrank Brehm <frank@brehm-online.com>
Fri, 29 Dec 2017 09:54:12 +0000 (10:54 +0100)
bin/convert_movie.sh

index 93007e3aef929cd27150142402f2c9b4ae14d5c1..1f856aae0b59e2a373307cbfa5ae2b2f800a17a6 100755 (executable)
@@ -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