TooLAME

Last updated

TooLAME is a free software MPEG-1 Layer II (MP2) audio encoder written primarily by Mike Cheng. While there are many MP2 encoders, TooLAME is well-known and widely used for its particularly high audio quality. It has been unmaintained since 2003, but is directly succeeded by the TwoLAME code fork (the latest version, TwoLAME 0.4.0, was released October 11, 2019). The name TooLAME is a play on LAME and Layer II.

Contents

TooLAME
Developer(s) Mike Cheng
Stable release
0.2L / March 1, 2003;20 years ago (2003-03-01)
Preview release
0.2 m beta 8
Operating system Cross-platform
Type Codec
License GNU Lesser General Public License
Website toolame.sourceforge.net

History

After leaving leadership of the LAME project, Mike Cheng decided to redirect his efforts towards the MP2 format. This was in part due to concern with looming legal threats to those distributing software for the widespread MP3 format, due to patents held by Fraunhofer and Thomson, while use of MP2 audio was basically unrestricted. For more, see: LAME#Patents and legal issues.

The first release of TooLAME (v0.1) was November 7, 1998. [1]

He originally based his work on mpegaudio.tar. In October 1999, he started over from scratch, instead basing TooLAME on the more capable ISO Dist10 reference implementation, [1] and substantial code from LAME. He aimed for higher audio quality and improved encoding performance. [2] Achieving high performance, "About 4 times faster than ISO code." [3]

TooLAME was mainly a standalone audio encoder, accepting PCM files in RAW/AIFF/WAV format. However, in the final TooLAME release from Cheng (TooLAME 0.2 m beta 8), support for use as a library was included. Cheng repeatedly resisted the addition of features like libsndfile integration for support of a much wider variety of input formats.

TwoLAME

Nicholas Humfrey made significant modifications to tooLAME, and released it publicly. At Mike Cheng's request he renamed it to TwoLAME to avoid confusion. [4]

Technical details

TooLAME utilizes the highly tuned psychoacoustic model developed for LAME, but applied to MP2 audio encoding, instead.

Includes a rather complex, rarely used, and poorly supported (by MP2 players) variable bitrate (VBR) mode. [5]

Frame CRCs, and Broadcast Wave Format (BWF) output was added for Digital Audio Broadcasting (DAB) use.

Popularity

MJPEGTools documentation recommends the use of TooLAME instead of their included mp2enc. [6]

MPlayer/Mencoder includes support for TooLAME (and TwoLAME) audio encoding. [7]

Code forks

TwoLAME: Mainly code clean-up, API change, performance improvements: http://www.twolame.org/

MCTooLAME: TooLAME fork with MPEG Multichannel 5.1-channel surround sound encoding: http://mctoolame.sourceforge.net/

Windows DLLs: http://sourceforge.net/mailarchive/forum.php?thread_name=BB6FAF8F.40CB%25steve%40prx.org&forum_name=toolame-devel http://www.fmjsoft.com/addons.html

Toolame-DAB: Integration with the open-source Digital Audio Broadcasting toolchain ODR-mmbTools: http://www.opendigitalradio.org/mmbtools

See also

Related Research Articles

<span class="mw-page-title-main">LAME</span> MPEG-1 Audio Layer 3 (MP3) audio encoder

LAME is a software encoder that converts digital audio into the MP3 Audio coding format. LAME is a free software project that was first released in 1998, and has incorporated many improvements since then, including an improved psychoacoustic model. The LAME encoder outperforms early encoders like L3enc and possibly the "gold standard encoder" MP3enc, both marketed by Fraunhofer.

<span class="mw-page-title-main">MP3</span> Digital audio format

MP3 is a coding format for digital audio developed largely by the Fraunhofer Society in Germany under the lead of Karlheinz Brandenburg, with support from other digital scientists in the United States and elsewhere. Originally defined as the third audio format of the MPEG-1 standard, it was retained and further extended — defining additional bit-rates and support for more audio channels — as the third audio format of the subsequent MPEG-2 standard. A third version, known as MPEG 2.5 — extended to better support lower bit rates — is commonly implemented, but is not a recognized standard.

MPEG-1 is a standard for lossy compression of video and audio. It is designed to compress VHS-quality raw digital video and CD audio down to about 1.5 Mbit/s without excessive quality loss, making video CDs, digital cable/satellite TV and digital audio broadcasting (DAB) practical.

<span class="mw-page-title-main">MPEG-2</span> Video encoding standard

MPEG-2 is a standard for "the generic coding of moving pictures and associated audio information". It describes a combination of lossy video compression and lossy audio data compression methods, which permit storage and transmission of movies using currently available storage media and transmission bandwidth. While MPEG-2 is not as efficient as newer standards such as H.264/AVC and H.265/HEVC, backwards compatibility with existing hardware and software means it is still widely used, for example in over-the-air digital television broadcasting and in the DVD-Video standard.

RealAudio, or also spelled as Real Audio is a proprietary audio format developed by RealNetworks and first released in April 1995. It uses a variety of audio codecs, ranging from low-bitrate formats that can be used over dialup modems, to high-fidelity formats for music. It can also be used as a streaming audio format, that is played at the same time as it is downloaded. In the past, many internet radio stations used RealAudio to stream their programming over the internet in real time. In recent years, however, the format has become less common and has given way to more popular audio formats. RealAudio was heavily used by the BBC websites until 2009, though it was discontinued due to its declining use. BBC World Service, the last of the BBC websites to use RealAudio, discontinued its use in March 2011.

Variable bitrate (VBR) is a term used in telecommunications and computing that relates to the bitrate used in sound or video encoding. As opposed to constant bitrate (CBR), VBR files vary the amount of output data per time segment. VBR allows a higher bitrate to be allocated to the more complex segments of media files while less space is allocated to less complex segments. The average of these rates can be calculated to produce an average bitrate for the file.

<span class="mw-page-title-main">MPlayer</span> Free and open source media player

MPlayer is a free and open-source media player software application. It is available for Linux, OS X and Microsoft Windows. Versions for OS/2, Syllable, AmigaOS, MorphOS and AROS Research Operating System are also available. A port for DOS using DJGPP is also available. Versions for the Wii Homebrew Channel and Amazon Kindle have also been developed.

MPEG-1 Audio Layer II or MPEG-2 Audio Layer II is a lossy audio compression format defined by ISO/IEC 11172-3 alongside MPEG-1 Audio Layer I and MPEG-1 Audio Layer III (MP3). While MP3 is much more popular for PC and Internet applications, MP2 remains a dominant standard for audio broadcasting.

Advanced Audio Coding (AAC) is an audio coding standard for lossy digital audio compression. Designed to be the successor of the MP3 format, AAC generally achieves higher sound quality than MP3 encoders at the same bit rate.

<span class="mw-page-title-main">High-Efficiency Advanced Audio Coding</span> Audio codec

High-Efficiency Advanced Audio Coding (HE-AAC) is an audio coding format for lossy data compression of digital audio defined as an MPEG-4 Audio profile in ISO/IEC 14496–3. It is an extension of Low Complexity AAC (AAC-LC) optimized for low-bitrate applications such as streaming audio. The usage profile HE-AAC v1 uses spectral band replication (SBR) to enhance the modified discrete cosine transform (MDCT) compression efficiency in the frequency domain. The usage profile HE-AAC v2 couples SBR with Parametric Stereo (PS) to further enhance the compression efficiency of stereo signals.

MPEG-4 Part 2, MPEG-4 Visual is a video compression format developed by the Moving Picture Experts Group (MPEG). It belongs to the MPEG-4 ISO/IEC standards. It uses block-wise motion compensation and a discrete cosine transform (DCT), similar to previous standards such as MPEG-1 Part 2 and H.262/MPEG-2 Part 2.

A container format or metafile is a file format that allows multiple data streams to be embedded into a single file, usually along with metadata for identifying and further detailing those streams. Notable examples of container formats include archive files and formats used for multimedia playback. Among the earliest cross-platform container formats were Distinguished Encoding Rules and the 1985 Interchange File Format.

TMPGEnc or TSUNAMI MPEG Encoder is a video transcoder software application primarily for encoding video files to VCD and SVCD-compliant MPEG video formats and was developed by Hiroyuki Hori and Pegasys Inc. TMPGEnc can also refer to the family of software video encoders created after the success of the original TMPGEnc encoder. These include: TMPGEnc Plus, TMPGEnc Free Version, TMPGenc Video Mastering Works, TMPGEnc Authoring Works, TMPGEnc MovieStyle and TMPGEnc MPEG Editor. TMPGEnc products run on Microsoft Windows.

These tables compare features of multimedia container formats, most often used for storing or streaming digital video or digital audio content. To see which multimedia players support which container format, look at comparison of media players.

FAAC or Freeware Advanced Audio Coder is a software project which includes the AAC encoder FAAC and decoder FAAD2. It supports MPEG-2 AAC as well as MPEG-4 AAC. It supports several MPEG-4 Audio object types, file formats, multichannel and gapless encoding/decoding and MP4 metadata tags. The encoder and decoder is compatible with standard-compliant audio applications using one or more of these object types and facilities. It also supports Digital Radio Mondiale.

MPEG Multichannel is an extension to the MPEG-1 Layer II audio compression specification, as defined in the MPEG-2 Audio standard which allows it provide up to 5.1-channels of audio. To maintain backwards compatibility with the older 2-channel (stereo) audio specification, it uses a channel matrixing scheme, where the additional channels are mixed into the two backwards compatible channels. Extra information in the data stream contains signals to process extra channels from the matrix.

Program stream is a container format for multiplexing digital audio, video and more. The PS format is specified in MPEG-1 Part 1 and MPEG-2 Part 1, Systems. The MPEG-2 Program Stream is analogous and similar to ISO/IEC 11172 Systems layer and it is forward compatible.

MPEG Surround, also known as Spatial Audio Coding (SAC) is a lossy compression format for surround sound that provides a method for extending mono or stereo audio services to multi-channel audio in a backwards compatible fashion. The total bit rates used for the core and the MPEG Surround data are typically only slightly higher than the bit rates used for coding of the core. MPEG Surround adds a side-information stream to the core bit stream, containing spatial image data. Legacy stereo playback systems will ignore this side-information while players supporting MPEG Surround decoding will output the reconstructed multi-channel audio.

MPEG-1 Audio Layer I, commonly abbreviated to MP1, is one of three audio formats included in the MPEG-1 standard. It is a deliberately simplified version of MPEG-1 Audio Layer II (MP2), created for applications where lower compression efficiency could be tolerated in return for a less complex algorithm that could be executed with simpler hardware requirements. While supported by most media players, the codec is considered largely obsolete, and replaced by MP2 or MP3.

References