From 0cec03d2dcb1b851867438f32da9d522d60cb96c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 4 Sep 2014 14:23:39 +0200 Subject: Fix always set per-code-channel bitrates (not only via audio style). --- localvideowebencode | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/localvideowebencode b/localvideowebencode index ee2d79b..1dd97ce 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -236,11 +236,13 @@ case "$h264profile" in *) exit1 "Unknown MPEG-4 AVC profile \"$h264profile\".";; esac +# default per-codec-channel bitrates +bitrate_vorbis=64 +bitrate_aac=96 + case "$audio" in music) channels=2 - bitrate_vorbis=64 - bitrate_aac=96 ;; speech) channels=1 -- cgit v1.2.3