$ sudo apt-get install sound-juicer gstreamer0.10-plugins-ugly-multiverse
(instead gstreamer0.10-lame in Ubuntu 10.04)
- Configuration for MP3 encoder
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc ! id3muxAdd bit-rate setting:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=128Advanced one:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc mode=1 vbr=4 quality=1 preset=1001 vbr-max-bitrate=320 ! xingmux ! id3v2muxThe meat and potatoes of this line is preset=insane, which tells Lame to use the Insane quality preset, and will give you a fixed-bitrate MP3 file at CBR 320Kbps. This preset will usually be overkill for most people and most situations, but if you must have the absolute highest quality with no regard to filesize (as do I), this is the way to go. This is the highest preset quality available. Of course, there are other presets available–all of them variable bitrate (VBR):
preset=mediumThis preset should provide near transparency to most people on most music. The resulting bitrate should be in the 150-180kbps range, according to music complexity.
preset=standardThis preset should generally be transparent to most people on most music and is already quite high in quality. The resulting bitrate should be in the 170-210kbps range, according to music complexity.
preset=extremeIf you have extremely good hearing and similar equipment, this preset will provide slightly higher quality than the “standard” mode. The resulting bitrate should be in the 200-240kbps range, according to music complexity.
- More detail configuration for gstreamer-lamp
$ gst-inspect-0.10 lame