Comment 23 for bug 195483

Revision history for this message
Christian Niemeyer (christian-niemeyer) wrote :

@KennoVo: I tried half a day yesterday trying to get different VBR-mp3-filesizes and came to the same conclusion. Thanks for explaining.

For example I tried this:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc mode=0 quality=2 vbr=4 vbr-quality=3 ! xingmux ! id3v2mux
then checking with VLC's Stream and Media Info... (Ctrl+I) the bitrates and it was just switching aroung 158kbps to 162 kbps. No matter if vbr-quality was "0" or e.g. "4". This is because of the too much default values gstreamer passes to lame, like vbr-min-bitrate, vbr-mean-bitrate and vbr-max-bitrate. Usually with vbr-quality you choose kind of a preset for bitrate measure. Like when using lame on the command line. quality is just how good the general algorithm for encoding is. Even bitrate (for CBR useful) always (!) passes a default value. This is so confusing. ;-)

I tried many gstreamer pipelines with the same song (length 4:19) and always got 4.9 MB or 7.3 MB, no matter how detailed and different my settings were. Though encoding as VBR worked and Rhythmbox and Nautilus getting the lenght right, which is an improvement though.

With this pipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc mode=0 quality=2 vbr=4 vbr-quality=3 ! xingmux ! id3v2mux
I managed to get a filesize of 5.5 MB, which is kind of quality vs. filesize, that I was looking for. Though I'm confused how fast gstreamer is with encoding, but maybe that's because of the pipeline. Grip is much slower. Now I'm wondering if this has any quality issues maybe.

Again the Defaul values you see by "gstreamer-inspect lame" are altogether too much and very counterproductive for the result. Someone knowing if there is a possibility to switch this default values to "none" or "not set"? This would be a good workaround.

Last question: When will gstreamer-0.11 will be released? Google doesn't help me with that question.

PS: Set Importance at least to medium. Though this is a universe/multiverse bug, it is a showstopper for people who want VBR mp3s. Thanks.