MPEG-1 Audio Layer II
|Internet media type||
|Type of format||Audio compression format, audio file format|
MPEG-1 Audio Layer II or MPEG-2 Audio Layer II (MP2, sometimes incorrectly called Musicam or MUSICAM) 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.
History of development from MP2 to MP3
MPEG-1 Audio Layer 2 encoding was derived from the MUSICAM (Masking pattern adapted Universal Subband Integrated Coding And Multiplexing) audio codec, developed by Centre commun d'études de télévision et télécommunications (CCETT), Philips, and Institut für Rundfunktechnik (IRT) in 1989 as part of the EUREKA 147 pan-European inter-governmental research and development initiative for the development of a system for the broadcasting of audio and data to fixed, portable or mobile receivers (established in 1987).
It began as the Digital Audio Broadcast (DAB) project managed by Egon Meier-Engelen of the Deutsche Forschungs- und Versuchsanstalt für Luft- und Raumfahrt (later on called Deutsches Zentrum für Luft- und Raumfahrt, German Aerospace Center) in Germany. The European Community financed this project, commonly known as EU-147, from 1987 to 1994 as a part of the EUREKA research program.
The Eureka 147 System comprised three main elements: MUSICAM Audio Coding (Masking pattern Universal Sub-band Integrated Coding And Multiplexing), Transmission Coding & Multiplexing and COFDM Modulation.
MUSICAM was one of the few codecs able to achieve high audio quality at bit rates in the range of 64 to 192 kbit/s per monophonic channel. It has been designed to meet the technical requirements of most applications (in the field of broadcasting, telecommunication and recording on digital storage media) — low delay, low complexity, error robustness, short access units, etc.
The audio coding algorithm used by the Eureka 147 Digital Audio Broadcasting (DAB) system has been subject to the standardization process within the ISO/Moving Pictures Expert Group (MPEG) in 1989–94. MUSICAM audio coding was used as a basis for some coding schemes of MPEG-1 and MPEG-2 Audio. Most key features of MPEG-1 Audio were directly inherited from MUSICAM, including the filter bank, time-domain processing, audio frame sizes, etc. However, improvements were made, and the actual MUSICAM algorithm was not used in the final MPEG-1 Layer II audio standard.
Since the finalisation of MPEG-1 Audio and MPEG-2 Audio (in 1992 and 1994), the original MUSICAM algorithm is not used anymore. The name MUSICAM is often mistakenly used when MPEG Audio Layer II is meant. This can lead to some confusion, because the name MUSICAM is trademarked by different companies in different regions of the world. (Musicam is the name used for MP2 in some specifications for Astra Digital Radio as well as in the BBCs DAB documents.)
The Eureka Project 147 resulted in the publication of European Standard, ETS 300 401 in 1995, for DAB which now has worldwide acceptance. The DAB standard uses the MPEG-1 Audio Layer II (ISO/IEC 11172-3) for 48 kHz sampling frequency and the MPEG-2 Audio Layer II (ISO/IEC 13818-3) for 24 kHz sampling frequency.
In the late 1980s, ISO's Moving Picture Experts Group (MPEG) started an effort to standardize digital audio and video encoding, expected to have a wide range of applications in digital radio and TV broadcasting (later DAB, DMB, DVB), and use on CD-ROM (later Video CD). The MUSICAM audio coding was one of 14 proposals for MPEG-1 Audio standard that were submitted to ISO in 1989.
The MPEG-1 Audio standard was based on the existing MUSICAM and ASPEC audio formats. The MPEG-1 Audio standard included the three audio "layers" (encoding techniques) now known as Layer I (MP1), Layer II (MP2) and Layer III (MP3). All algorithms for MPEG-1 Audio Layer I, II and III were approved in 1991 as the committee draft of ISO-11172 and finalized in 1992 as part of MPEG-1, the first standard suite by MPEG, which resulted in the international standard ISO/IEC 11172-3 (a.k.a. MPEG-1 Audio or MPEG-1 Part 3), published in 1993. Further work on MPEG audio was finalized in 1994 as part of the second suite of MPEG standards, MPEG-2, more formally known as international standard ISO/IEC 13818-3 (a.k.a. MPEG-2 Part 3 or backwards compatible MPEG-2 Audio or MPEG-2 Audio BC), originally published in 1995. MPEG-2 Part 3 (ISO/IEC 13818-3) defined additional bit rates and sample rates for MPEG-1 Audio Layer I, II and III. The new sampling rates are exactly half that of those originally defined for MPEG-1 Audio. MPEG-2 Part 3 also enhanced MPEG-1's audio by allowing the coding of audio programs with more than two channels, up to 5.1 multichannel.
The Layer III (MP3) component uses a lossy compression algorithm that was designed to greatly reduce the amount of data required to represent an audio recording and sound like a decent reproduction of the original uncompressed audio for most listeners.
Emmy Award in Engineering
CCETT (France), IRT (Germany) and Philips (The Netherlands) won an Emmy Award in Engineering 2000 for development of a digital audio two-channel compression system known as Musicam or MPEG Audio Layer II.
MPEG-1 Audio Layer II is defined in ISO/IEC 11172-3 (MPEG-1 Part 3)
- Sampling rates: 32, 44.1 and 48 kHz
- Bit rates: 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 and 384 kbit/s
- Additional sampling rates: 16, 22.05 and 24 kHz
- Additional bit rates: 8, 16, 24, 40 and 144 kbit/s
- Multichannel support - up to 5 full range audio channels and an LFE-channel (Low Frequency Enhancement channel)
The format is based on successive digital frames of 1152 sampling intervals with four possible formats:
- mono format
- stereo format
- intensity encoded joint stereo format (stereo irrelevance)
- dual channel (uncorrelated) format
Variable bit rate
MPEG audio may have variable bit rate (VBR), but it is not widely supported. Layer II can use a method called bit rate switching. Each frame may be created with a different bit rate. According to ISO/IEC 11172-3:1993, Section 220.127.116.11: To provide the smallest possible delay and complexity, the (MPEG audio) decoder is not required to support a continuously variable bit rate when in layer I or II.
How the MP2 format works
- MP2 is a sub-band audio encoder, which means that compression takes place in the time domain with a low-delay filter bank producing 32 frequency domain components. By comparison, MP3 is a transform audio encoder with hybrid filter bank, which means that compression takes place in the frequency domain after a hybrid (double) transformation from the time domain.
- MPEG Audio Layer II is the core algorithm of the MP3 standards. All psychoacoustical characteristics and frame format structures of the MP3 format are derived from the basic MP2 algorithm and format.
- The MP2 encoder may exploit inter channel redundancies using optional "joint stereo" intensity encoding.
- MP2 performs similarly to MP3 on high bit rates (224 to 384 kbit/s), with better accuracy in the time domain, is considered more error resilient than MP3, is more tolerant of cascading, has wider hardware support in devices such as professional sound cards and codecs and offers lower latency in real time applications than MP3, so MP2 is often still used for broadcast applications. Typically, private broadcasters worldwide compress their material at 256kbit/s (stereo) while their counterparts in public broadcasting (including the Canadian Broadcasting Corporation, Channel Africa, Deutsche Welle, Radio France Internationale, Radio Canada International, Radio Netherlands, the SABC, the Singapore Broadcasting Corporation, and VOA, to cite a few) use 384 kbit/s (although the BBC in the United Kingdom uses 128kbit/s for most of its digital radio broadcasts, the exceptions being 192kbit/s for Radio 3, 80kbit/s for Radio 4 and 4 Extra and 64kbit/s for 5 Live, the Asian Network and the World Service.
- Like MP3, MP2 is a perceptual coding format, which means that it removes information that the human auditory system will not be able to perceive. To choose which information to remove, the audio signal is analyzed according to a psychoacoustic model, which takes into account the parameters of the human auditory system. Research into psychoacoustics has shown that if there is a strong signal on a certain frequency, then weaker signals at frequencies close to the strong signal's frequency cannot be perceived by the human auditory system. This is called frequency masking. Perceptual audio codecs take advantage of this frequency masking by ignoring information at frequencies that are deemed to be imperceptible, thus allowing more data to be allocated to the reproduction of perceptible frequencies.
- MP2 splits the input audio signal into 32 sub-bands, and if the audio in a sub-band is deemed to be imperceptible then that sub-band is not transmitted. MP3, on the other hand, transforms the input audio signal to the frequency domain in 576 frequency components. Therefore, MP3 has a higher frequency resolution than MP2, which allows the psychoacoustic model to be applied more selectively than for MP2. So MP3 has greater scope to reduce the bit rate.
- The use of an additional entropy coding tool, and higher frequency accuracy (due to the larger number of frequency sub-bands used by MP3) explains why MP3 doesn't need as high a bit rate as MP2 to get an acceptable audio quality. Conversely, MP2 shows a better behavior than MP3 in the time domain, due to its lower frequency resolution. This implies less codec time delay - which can make editing audio simpler - as well as "ruggedness" and resistance to errors which may occur during the digital recording process, or during transmission errors.
- The MP2 sub-band filter bank also provides an inherent "transient concealment" feature, due to the specific temporal masking effect of its mother filter. This unique characteristic of the MPEG-1 Audio family implies a very good sound quality on audio signals with rapid energy changes, such as percussive sounds. Because both the MP2 and MP3 formats use the same basic sub-band filter bank, both benefit from this characteristic.
Applications of MP2
Layer II is commonly used within the broadcast industry for distributing live audio over satellite, ISDN and IP Network connections as well as for storage of audio in digital playout systems. An example is NPR's PRSS Content Depot programming distribution system. The Content Depot distributes MPEG-1 L2 audio in a Broadcast Wave File wrapper. MPEG2 with .wav headers is specified in the .wav standards. As a result Windows Media Player will directly play Content Depot files however less intelligent .wav players often do not. As the encoding and decoding process would have been a significant drain on CPU resources in the first generations of broadcast playout systems, professional broadcast playout systems typically implement the codec in hardware, such as by delegating the task of encoding and decoding to a compatible soundcard rather than the system CPU.
All DVD-Video players in PAL countries contain stereo MP2 decoders, making MP2 a possible competitor to Dolby Digital in these markets. DVD-Video players in NTSC countries are not required to decode MP2 audio, although most do. While some DVD recorders store audio in MP2 and many consumer-authored DVDs use the format, commercial DVDs with MP2 soundtracks are rare.
MPEG 1 layer 2 is the standard audio format used in the MHP standard for set-top boxes.
MPEG 1 layer 2 is the audio format used in HDV camcorders.
MP2 files are compatible with some Portable audio players.
Naming and extensions
The term MP2 and filename extension .mp2 usually refer MPEG-1 Audio Layer II data, but can also refer to MPEG-2 Audio Layer II, a mostly backwards compatible extension which adds support for multichannel audio, variable bit rate encoding, and additional sampling rates, defined in ISO/IEC 13818-3. The abbreviation MP2 is also sometimes erroneously applied to MPEG-2 video or MPEG-2 AAC audio.
- MP4 (container format)
- MPEG Elementary stream
- Musepack originally MP2-based, with numerous improvements
- "The audio/mpeg Media Type - RFC 3003". IETF. November 2000. Retrieved 2009-12-07.
- "MIME Type Registration of RTP Payload Formats – RFC 3555". IETF. July 2003. Retrieved 2009-12-07.
- "ISO/IEC 11172-3:1993 – Information technology — Coding of moving pictures and associated audio for digital storage media at up to about 1,5 Mbit/s — Part 3: Audio". ISO. 1993. Retrieved 2010-07-14.
- "ISO/IEC 13818-3:1995 – Information technology — Generic coding of moving pictures and associated audio information — Part 3: Audio". ISO. 1995. Retrieved 2010-07-14.
- "MPEG Audio FAQ Version 9". 1998. Retrieved 2010-08-22.
- A J Bower (1998). "Digital Radio — The Eureka 147 DAB System". UK: BBC. Retrieved 2010-08-22.
- "A MUSICAM source codec for digital audio broadcasting and storage". 1991. Retrieved 2010-08-22.
- "AES E-Library – Musicam Source Coding". 1991. Retrieved 2010-08-22.
- Digital Audio Broadcasting (DAB); DAB to mobile, portable and fixed receivers – Details of 'DE/JTC-DAB' Work Item – ETS 300 401, 1995-02-15, retrieved 2010-08-23
- DAB – Service planning for terrestrial Digital Audio Broadcasting (PDF), 1992, retrieved 2010-08-22
- "Status report of ISO MPEG – September 1990". 1990. Retrieved 2010-08-22.
- Telos Systems. "Facts about MPEG compression". Retrieved 2010-08-22.
- MUSICAM USA. "MUSICAM USA Frequently Asked Questions – Isn't MUSICAM simply your implementation of ISO/MPEG Layer 2?". Retrieved 2010-08-23.
- Radio Broadcasting Systems; Digital Audio Broadcasting (DAB) to mobile, portable and fixed receivers – Details of 'REN/JTC-DAB-36' Work Item – EN 300 401, 2006-06-15, retrieved 2010-08-23
- Kurihama 89 press release.
- Digital Video and Audio Broadcasting Technology: A Practical Engineering Guide (Signals and Communication Technology) ISBN 3-540-76357-0 p. 144: "In the year 1988, the MASCAM method was developed at the Institut für Rundfunktechnik (IRT) in Munich in preparation for the digital audio broadcasting (DAB) system. From MASCAM, the MUSICAM (masking pattern universal subband integrated coding and multiplexing) method was developed in 1989 in cooperation with CCETT, Philips and Matsushita."
- ISO (November 1991). "MPEG Press Release, Kurihama, November 1991". ISO. Retrieved 2010-07-17.
- ISO (November 1991). "CD 11172-3 - CODING OF MOVING PICTURES AND ASSOCIATED AUDIO FOR DIGITAL STORAGE MEDIA AT UP TO ABOUT 1.5 MBIT/s Part 3 AUDIO" (DOC). neuron2.net. Retrieved 2010-07-17.
- Kuriham 91 press release.
- Performance of a Software MPEG Video Decoder Article's reference 3 is: 'ISO/IEC JTC/SC29, "Coded Representation of Picture, Audio and Multimedia/Hypermedia Information", Committee Draft of Standard ISO/IEC 11172, December 6, 1991'.
- ISO (1992-11-06). "MPEG Press Release, London, 6 November 1992". chiariglione.org. Retrieved 2010-07-17.
- "Press Release - Adopted at 22nd WG11 meeting" (Press release). International Organization for Standardization. 1993-04-02. Retrieved 2010-07-18.
- ISO (October 1998). "MPEG Audio FAQ Version 9 - MPEG-1 and MPEG-2 BC". ISO. Retrieved 2009-10-28.
- Brandenburg, Karlheinz; Bosi, Marina (February 1997). "Overview of MPEG Audio: Current and Future Standards for Low-Bit-Rate Audio Coding". Journal of the Audio Engineering Society 45 (1/2): 4–21. Retrieved 30 June 2008.
- National Academey of Television Arts and Sciences, Outstanding Achievement in Technical/Engineering Development Awards (PDF), retrieved 2010-08-01
- "CCETT - DAB : Digital Audio Broadcasting (archived website)". 2001-02-11. Archived from the original on 2001-02-11. Retrieved 2010-08-01.
- Werner Oomen, Leon van de Kerkhof. "MPEG-2 Audio Layer I/II". chiariglione.org. Retrieved 2009-12-29.
- Predrag Supurovic (September 1998). "MPEG Audio Frame Header". Retrieved 2009-07-11.
- ISO MPEG Audio Subgroup, MPEG Audio FAQ Version 9, MPEG-1 and MPEG-2 BC, retrieved on 2009-07-11.
- TwoLAME: MPEG Audio Layer II VBR, retrieved on 2009-07-11.
- Genesis of the MP3 Audio Coding Standard by Hans Georg Musmann in IEEE Transactions on Consumer Electronics, Vol. 52, Nr. 3, pp. 1043–1049, August 2006
- MUSICAM Source Coding by Yves-François Dehery, AES 10th International Conference: Kensington, London, England, (7-9 Sept 1991), pp 71–79.
- The history of MP3 from Fraunhofer IIS
- MPEG Audio Resources and Software
- TooLAME - an MP2 encoder
- TwoLAME - a fork of the tooLAME code
- RFC 3003 - The document defining MIME type for MPEG-1 Audio Layer II
- A MPEG Audio Layer II decoder in 4k Source code for small open source decoder.
- Official MPEG web site
- Patent Status of MPEG-1, H.261 and MPEG-2 - some informations about patents