Reference

toolame(1)

MPEG-1 layer 2 audio encoder

NAME

toolame - MPEG-1 layer 2 audio encoder

SYNOPSIS

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

DESCRIPTION

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.

SEE ALSO

lame(1), oggenc(1).

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

History