diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-17 19:09:29 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-17 19:09:29 +0200 |
commit | c0dd40df55cc249daf25bf97fc0d01baf6f17e73 (patch) | |
tree | 8d8b091bd9fc2ba93119ea9c8f7cf8f171afb606 /bin/capture+encode+serve | |
parent | 1023309e315b5b8337f6aae597f0ba176abe9c06 (diff) |
Rename variable SPEED_VPX → SPEED_VP8.
Diffstat (limited to 'bin/capture+encode+serve')
-rwxr-xr-x | bin/capture+encode+serve | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/capture+encode+serve b/bin/capture+encode+serve index 29688f1..ad97c24 100755 --- a/bin/capture+encode+serve +++ b/bin/capture+encode+serve @@ -48,7 +48,7 @@ my $FRAMERATE = 25; my $AUDIORATE = 48000; # TODO: Vary vpx quality based on height -my $SPEED_VPX = 15; +my $SPEED_VP8 = 15; # inspired by Apple HLS recommendations # TODO: Externalize to site-specific configfile @@ -115,7 +115,7 @@ my %PIPELINE = ( }, VP8 => { VENC => [ - "vp8enc threads=4 cpu-used=$SPEED_VPX deadline=1000000 end-usage=1 target-bitrate=$VBITRATE undershoot=95 keyframe-max-dist=999999 max-quantizer=56 deadline=5000 static-threshold=500", + "vp8enc threads=4 cpu-used=$SPEED_VP8 deadline=1000000 end-usage=1 target-bitrate=$VBITRATE undershoot=95 keyframe-max-dist=999999 max-quantizer=56 deadline=5000 static-threshold=500", 'video/x-vp8', $QUEUE, 'rtpvp8pay', |