-b set minimum allowed bitrate in Kb/s for VBR, default 32Kb/s. For CBR, set the exact bitrate in Kb/s, which defaults to 128Kb/s.
-B set maximum allowed bitrate in Kb/s for VBR, default 256Kb/s.
-h same as .LR "-q 2" .
-m mode may be (s)tereo, (j)oint, (f)orce or (m)ono (default j). force forces mid/side stereo on all frames.
-p add CRC error protection (adds an additional 16 bits per frame to the stream). This seems to break playback.
-q sets output quality to q (see -V ).
-r input is raw pcm
-s set sampling frequency of input file (in KHz) to sfreq , default is 44.1.
-v use variable bitrate (VBR) encoding
-V set quality setting for VBR to q . Default q is 4; 0 produces highest-quality and largest files, and 9 produces lowest-quality and smallest files.
--abr " bitrate" sets average bitrate desired in Kb/s, instead of setting quality, and generates ABR encoding.
--resample " sfreq" set sampling frequency of output file (in KHz) to sfreq , default is input sfreq.
--mp3input input is an MP3 file .
-f same as .LR "-q 7" . Such a deal.
-o mark as non-original (i.e. do not set the original bit)
-c mark as copyright
-k disable sfb=21 cutoff
-e " emp" de-emphasis n/5/c (default n)
-d allow channels to have different blocktypes
-t disable Xing VBR informational tag
-a autoconvert from stereo to mono file for mono encoding
-x force byte-swapping of input (see dd (1) instead)
-S don't print progress report, VBR histograms
--athonly only use the ATH for masking
--nohist disable VBR histogram display
--voice experimental voice mode .
Create a fixed 128Kb/s MP3 file from a .L .wav file.
.EX games/mp3enc -h <foo.wav >foo.mp3Streaming from stereo 44.1KHz raw PCM data, encoding mono at 16KHz (you may not need dd ):
.EX dd -conv swab | games/mp3enc -a -r -m m --resample 16 -b 24http://www.sulaco.org/mp3
It's a GNU behemoth, lightly rehabilitated. There are zillions of undocumented options.