Opus files are encoded allways in hard-CBR
Submitted by POJAR GEORGE
Link to original bug (#794876)
Description
Opusinfo tool shows that OPUS files produced by rhythmbox use hard-CBR mode (instead of VBR).
I did a short investigation and it turns out that the cbr
option does not exist in GStreamer 1.0; instead the bitrate-type
option was introduced:
bitrate-type : Bitrate type
flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
Enum "GstOpusEncBitrateType" Default: 0, "cbr"
(0): cbr - CBR
(1): vbr - VBR
(2): constrained-vbr - Constrained VBR
Replacing cbr=false
with bitrate-type = vbr
resulted in a proper VBR Opus being generated.
Please replace in rhythmbox.gep common encoding profiles for rhythmbox file:
[rhythmbox-encoding-opusenc-vbr]
cbr = false
constrained-vbr = true
[rhythmbox-encoding-opusenc-cbr]
cbr = true
with:
[rhythmbox-encoding-opusenc-vbr]
bitrate-type = constrained-vbr
[rhythmbox-encoding-opusenc-cbr]
bitrate-type = cbr
Version: HEAD