Setting mp3/Lame settings in Rhythmbox

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
grimdestripador
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: Setting mp3/Lame settings in Rhythmbox

Post by grimdestripador »

After doing a google search on the keyterms: lame, name=enc, cbr
the first result is how your shouldent be using CBR
For best results regarding sound quality and compression ratio you shouldn't use CBR encoding at all but VBR (variable bitrate) instead. More info about recommended lame settings can be found here:

http://wiki.hydrogenaudio.org/index.php ... r_Settings

I use and recommend following pipeline:

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=4 vbr-quality=2 ! xingmux ! id3v2mux

This is equivalent for lame command line switch -V 2 --vbr-new.
If you want to change the encoding settings you can go to to preferences and edit the profiles (GStreamer pipeline). For mp3 profile it looks like this:

Code: Select all

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc mode=0 vbr-quality=6 ! id3v2mux
To direct it to create 128 kbps / joint stereo instead of the default mode alter the line to:

Code: Select all

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc mode=1 bitrate=128 ! id3v2mux
or to use the presets instead:

Code: Select all

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc preset=standard ! id3v2mux
To see what options are available just go to console and execute:

Code: Select all

gst-inspect lame
This command will write all options that are available for lame and its valid values.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Sound”