|
Packit |
47f805 |
|
|
Packit |
47f805 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
Packit |
47f805 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
Packit |
47f805 |
<head>
|
|
Packit |
47f805 |
<meta name="generator" content="PSPad editor, www.pspad.com" />
|
|
Packit |
47f805 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
Packit |
47f805 |
<link rel="stylesheet" type="text/css" href="styles/lame.css" />
|
|
Packit |
47f805 |
<title>LAME MP3 Encoder :: Constant Bit Rate</title>
|
|
Packit |
47f805 |
</head>
|
|
Packit |
47f805 |
<body>
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
Index page
|
|
Packit |
47f805 |
About LAME
|
|
Packit |
47f805 |
Intro to encoding
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
CBR
|
|
Packit |
47f805 |
ABR
|
|
Packit |
47f805 |
VBR
|
|
Packit |
47f805 |
M/S Stereo
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
Usage of LAME
|
|
Packit |
47f805 |
Version history
|
|
Packit |
47f805 |
Coders of LAME
|
|
Packit |
47f805 |
Contact LAME
|
|
Packit |
47f805 |
LAME links
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
![LAME Official Logo](images/logo.gif)
|
|
Packit |
47f805 |
LAME - Constant Bit Rate
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
Suggested usage:
|
|
Packit |
47f805 |
lame -b 128 input.wav output.mp3
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
CBR encoding is the basic encoding mode of MP3: The bitrate is kept constant
|
|
Packit |
47f805 |
across the entire file, which means the same number of bits is allocated to
|
|
Packit |
47f805 |
encode each second of audio, and internally, frames of audio data occur at
|
|
Packit |
47f805 |
regular, predictable intervals, given a predictable file size for a given
|
|
Packit |
47f805 |
duration. CBR is therefore the "opposite" of VBR.
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
That said, in some formats there may be some variability in the number of bits
|
|
Packit |
47f805 |
that contain actual audio information from frame to frame. This concept manifests
|
|
Packit |
47f805 |
in the bit reservoir of MP3s. In a CBR MP3, even though the frames are of
|
|
Packit |
47f805 |
a fixed size, the audio data is not necessarily distributed consistently between
|
|
Packit |
47f805 |
them; audio for one frame might use fewer bits than the frame has, so that frame
|
|
Packit |
47f805 |
adds the spare bits to a reservoir that can supplement the bits allocated
|
|
Packit |
47f805 |
to the next frame. Thus, the effective bitrate is allowed to vary somewhat in a
|
|
Packit |
47f805 |
CBR MP3, even though there is a fixed number of frames for the duration of audio.
|
|
Packit |
47f805 |
For example, for a 256kbps file, the bitrate of a single frame can be up to 320
|
|
Packit |
47f805 |
kbps, but the frame immediately before and/or after that one would have to use
|
|
Packit |
47f805 |
fewer bits, whereas in VBR, there would be no such restriction. Consequently, the
|
|
Packit |
47f805 |
amount of variability across the entire MP3 is not as great as that afforded by
|
|
Packit |
47f805 |
VBR, but it is not insignificant; a CBR encoder that does not efficiently use
|
|
Packit |
47f805 |
the reservoir will likely produce a lower quality file than one that does.
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
ABR is a more flexible way to encode where filesize is
|
|
Packit |
47f805 |
important, but still giving some flexibility to choose frame sizes.
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
Who should use CBR
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
CBR is useful for people who are concerned about maintaining maximum
|
|
Packit |
47f805 |
compatibility, especially with certain streaming applications and some
|
|
Packit |
47f805 |
hardware-based decoders that don't reliably support VBR.
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
CBR is also useful for people who desire the ability to obtain accurate
|
|
Packit |
47f805 |
estimates of the bitrate or approximate duration of a file's decoded audio
|
|
Packit |
47f805 |
without scanning and partially decoding the entire file.
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
alt="Get LAME (Lame Aint an MP3 Encoder) at SourceForge.net. Fast, secure and Free Open Source software downloads"
|
|
Packit |
47f805 |
border="0" height="30" width="120" />
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
alt="Valid XHTML 1.0 Transitional" border="0" height="31" width="88" />
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
alt="Valid CSS!" border="0" height="31" width="88" />
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
HTML markup and design by
|
|
Packit |
47f805 |
href="http://www.rjamorim.com" target="_blank">Roberto Amorim and
|
|
Packit |
47f805 |
href="http://www.maresweb.de" target="_blank">Sebastian Mares. Logo by
|
|
Packit |
47f805 |
href="http://www.brightercreative.co.uk">Sam Fisher.
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
</body>
|
|
Packit |
47f805 |
</html>
|