View Full Version : Understanding the difference between VBR and quality in gstreamer vorbisenc

8th July 2012, 06:25 PM
I am trying to understand the difference between vbr (Variable Bitrate) and quality when encoding to Ogg Vorbis with Gstreamer.

This is my pipeline for encoding .ogg at (0.9 otherwise known as 320):

audioconvert ! audio/x-raw-int, rate=44100, channels=2 ! audioconvert ! vorbisenc name=enc quality=0.9 ! oggmux

After reading about vorbisenc http://gstreamer.freedesktop.org/wiki/ZeroPointEleven/EncoderConsensus (as seen below):

"vorbisenc.....quality : Specify quality instead of specifying a particular bitrate"

I am assuming that quality means that encoding by default will be VBR (Variable Bitrate) as apposed to CBR (Constant Bitrate) when using vorbisenc and thus I don't need to add the options:

vbr-min-bitrate=160 vbr-max-bitrate=320

to the pipeline.

Is this correct?

Any help appreciated thanks..)