summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stream b/bin/stream
index 48b4c92..a326003 100755
--- a/bin/stream
+++ b/bin/stream
@@ -89,7 +89,7 @@ HEIGHTS_WEBM="$HEIGHT"
HEIGHTS_MPEG="$HEIGHT"
# TODO: Vary vpx quality based on height
-SPEED_VPX=15
+SPEED_VP8=15
# inspired by Apple HLS recommendations
# TODO: Externalize to site-specific configfile
@@ -183,7 +183,7 @@ ffmpeg -hide_banner -threads auto \
-codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE_OPUS" -b:a "$ABITRATE_OPUS" } \
${HASVIDEO:+\
-pix_fmt yuv420p \
- -codec:v vp8 -quality realtime -deadline 1000000 -cpu-used "$SPEED_VPX" \
+ -codec:v vp8 -quality realtime -deadline 1000000 -cpu-used "$SPEED_VP8" \
-b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \
-undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \
-max-intra-rate 0 \