Apple Lossless
| Developer(s) | Apple Inc. |
|---|---|
| Operating system | Cross-platform |
| Type | Audio codec, Audio file format |
| License | Apache License 2.0 |
| Website | Apple Lossless Audio Codec Project |
| Filename extension | .m4a |
|---|---|
| Developed by | Apple Inc. |
| Type of format | Lossless audio file format |
| Contained by | MPEG-4 Part 14 |
Apple Lossless (also known as ALAC (Apple Lossless Audio Codec), or ALE (Apple Lossless Encoder) is an audio codec developed by Apple Inc. for lossless data compression of digital music. After initially being proprietary for many years, in late 2011 Apple open sourced and royalty-freed the Apple Lossless codec. It is worth noting that Apple does not use the ALAC abbreviation, always using the name Apple Lossless when presenting or discussing this codec, but it is more commonly referred to as ALAC outside of Apple.
Contents |
[edit] Codec
Apple Lossless data is stored within an MP4 container with the filename extension .m4a. This extension is also used by Apple for lossy AAC audio data in an MP4 container (same container, different audio encoding), though lossy AAC files, as sold through the iTunes Store, are typically in their own .aac container extension. However, Apple Lossless is not a variant of AAC (which is a lossy format), but rather a distinct lossless format that uses linear prediction similar to other lossless codecs. These other lossless codecs, such as FLAC and Shorten, are not natively supported in Apple's iTunes software, either on computers (Mac or Windows) or iDevices, so users of iTunes software who want to use a lossless format (which allows the addition of metadata; unlike WAV/AIF, which metadata is commonly ignored, and other PCM-type formats) have to use ALAC.[1] All current iDevices can play ALAC–encoded files. ALAC also does not use any DRM scheme, but by the nature of the MP4 container, it is thought that DRM could be applied to ALAC much the same way it can with files in other QuickTime containers.
Apple claims that audio files compressed with its lossless codec will use up "about half the storage space" that the uncompressed data would require. Testers using a selection of music have found that compressed files are about 40% to 60% the size of the originals depending on the kind of music, similar to other lossless formats.[2][3] Furthermore, the speed at which it can be decoded makes it useful for limited-power devices such as iOS devices.[4]
[edit] History
The Apple Lossless Encoder (the software for encoding into ALAC files) was introduced into the Mac OS X Core Audio framework on April 28, 2004 together with the QuickTime 6.5.1 update, and thus available in iTunes as of version 4.5 and above. The codec is also used in the AirPort Express's AirPlay implementation.
The Apple Lossless Encoder (and decoder) was released as open source software under the Apache License version 2.0 on October 27, 2011.[5][6][7]
[edit] Other players
David Hammerton and Cody Brocious have analyzed and decoded this codec without any documents on the format. On March 5, 2005, Hammerton published a simple open source decoder in the programming language C on the basis of the reverse engineering work.[8]
The open source library libavcodec incorporates both a decoder and an encoder for Apple Lossless format which means that media players based on that library, including VLC media player and MPlayer, are able to play Apple Lossless files, as well as many media centre applications for home theatre computers, such as Plex, XBMC, and Boxee. The library was subsequently optimized for ARM processors and included in Rockbox.
[edit] See also
[edit] References
- ^ Hammerton, David (2005-03-01). "Re: Apple Lossless Audio Codec: Issues surrounding the release of my code?". Gmane. http://article.gmane.org/gmane.comp.video.ffmpeg.devel/19686. Retrieved 2006-11-05.
- ^ "Lossless comparison - Hydrogenaudio Knowledgebase". http://wiki.hydrogenaudio.org/index.php?title=Lossless_comparison#Comparison_Table.
- ^ http://www.mcelhearn.com/2011/11/05/an-overview-of-apple-lossless-compression-results/
- ^ Speek (2005-02-07). "Performance comparison of lossless audio compressors". http://members.home.nl/w.speek/comparison.htm. Retrieved 2006-11-05.
- ^ "Apple Lossless Audio Codec". alac.macosforge.org. http://alac.macosforge.org/. Retrieved 2011-10-29.
- ^ Foresman, Chris (2011-10-28). "After seven years, Apple open sources its Apple Lossless Audio Codec". Ars Technica. http://arstechnica.com/apple/news/2011/10/after-seven-years-apple-open-sources-its-apple-lossless-audio-codec.ars. Retrieved 29-10-2011.
- ^ Chris von Eitzen (2011-10-28). "Apple open sources its ALAC lossless audio codec". The H. http://h-online.com/-1368212. Retrieved 29-10-2011.
- ^ "ALAC". crazney.net. http://craz.net/programs/itunes/alac.html.
[edit] External links
- Apple Lossless Audio Codec Project
- Technical Features of ALAC
- Apple - iTunes - Import
- Article showing different rates of compression for different types of music
|
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||