diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-13 12:12:11 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-13 12:12:11 +0200 |
commit | 39a5bb761e0f67e1ca0251849b9075349be27d47 (patch) | |
tree | 6b7b7feeb580a3f4fe51634b578c5ac03d87b48a /bin/decode+edit+encode | |
parent | c37fe7cba815cb845583364481facc21da34f29b (diff) |
Rename variable BITRATE → VBITRATE.
Diffstat (limited to 'bin/decode+edit+encode')
-rwxr-xr-x | bin/decode+edit+encode | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/decode+edit+encode b/bin/decode+edit+encode index 25ea997..e93d05a 100755 --- a/bin/decode+edit+encode +++ b/bin/decode+edit+encode @@ -5,7 +5,7 @@ set -e ITERATIONS=${1-1} # no looping by default HEIGHT=360 -BITRATE=500000 +VBITRATE=500000 MOVIE=../src/omni/show0/earth.mp4 LOGO=../../content/icon_small.png @@ -21,8 +21,8 @@ ffmpeg -threads auto -y -re \ -i "$LOGO" -filter_complex 'overlay=main_w-overlay_w-20:main_h-overlay_h-20' \ -an \ -codec:v vp8 -quality realtime -deadline realtime -cpu-used 4 \ - -b:v "$BITRATE" -minrate "$BITRATE" -maxrate "$BITRATE" \ - -undershoot-pct 95 -bufsize $((6000*BITRATE/1000)) -rc_init_occupancy $((4000*BITRATE/1000)) \ + -b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \ + -undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \ -max-intra-rate 0 \ -qmin 4 -qmax 56 \ -f webm "$TMPMOVIE" |