1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: kassoulet <gautier@soundconverter.org>
Date: Fri, 2 Sep 2016 21:33:16 +0200
Subject: Fix opus vbr setting
Closes lp:1097610, thanks Alexander.
---
soundconverter/gstreamer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/soundconverter/gstreamer.py b/soundconverter/gstreamer.py
index fe4d890..4d37ff8 100644
--- a/soundconverter/gstreamer.py
+++ b/soundconverter/gstreamer.py
@@ -630,7 +630,7 @@ class Converter(Decoder):
return 'faac bitrate=%s ! mp4mux' % (self.aac_quality * 1000)
def add_opus_encoder(self):
- return 'opusenc bitrate=%s cbr=false bandwidth=auto ! oggmux' % (self.opus_quality * 1000)
+ return 'opusenc bitrate=%s bitrate-type=vbr bandwidth=auto ! oggmux' % (self.opus_quality * 1000)
def add_audio_profile(self):
pipeline = audio_profiles_dict[self.audio_profile][2]
|