summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode
diff options
context:
space:
mode:
Diffstat (limited to 'bin/decode+edit+encode')
-rwxr-xr-xbin/decode+edit+encode6
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"