Langue: en

Version: 315433 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)


toolame - MPEG-1 layer 2 audio encoder


toolame [options] <infile> [outfile.mp3]


toolame is a very fast (6x realtime on a 550mhz celeron) MPEG-1 layer 2 audio encoder with a command-line syntax nearly identical to that of the lame MPEG-1 layer 3 audio encoder. Because of patent issues surrounding the layer 3 encoder, the ability of most mpeg audio players to play layer 2 files, and the similarity in command-line syntax, toolame makes a very good drop-in replacement for lame and other layer 3 encoders under most circumstances.


Show summary of options.
-s sfrq,
input sample rate in kHz (default is 44.1).
downmix from stereo to mono.
force byte-swapping of input.
-m mode,
channel mode: s/d/j/m (default is j).
-p psy,
psychoacoustic model 1/2 (default is 1).
-b br,
total bitrate in kbps (default is 192).
-v lev,
vbr mode

-5      constant bitrate file at the lowest allowable

 0      raises average bitrate by about 5%

 5      raises average bitrate by about 20%

 10     raises average bitrate by about 50%

 15     raises average bitrate by about 75%

fast mode (turns off psy model).
-q num,
quick mode. only calculate psy model every num frames.
-d emp,
de-emphasis n/5/c (default is n).
mark as copyright.
mark as original.
add error protection.
force padding bit/frame off.


The input file must have 16 bits per sample.


lame(1), oggenc(1).


toolame was written by Michael Cheng <>.

This manual page was written by Brian Ristuccia <>, for the Debian project (but may be used by others under the same license as toolame itself).