toolame(1)

toolame1

Mpeg-1 layer 2 audio encoder

Usage

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

Overview

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.

Options

-h,

Show summary of options.

-s sfrq,

input sample rate in kHz (default is 44.1).

-a

downmix from stereo to mono.

-x

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%

-f

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).

-c

mark as copyright.

-o

mark as original.

-e

add error protection.

-r

force padding bit/frame off.

Limitations

The input file must have 16 bits per sample.

Releases

4 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0
  2. 3.1
  3. 4.0–5.0

Author

toolame was written by Michael Cheng <[email protected]>.

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

From toolame 02l-6lenny1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.