Misplaced Pages

Apple Lossless Audio Codec: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 22:08, 5 January 2013 edit67.170.192.66 (talk) Codec: revert; see previous comment on this on talk page.← Previous edit Revision as of 10:36, 7 January 2013 edit undoJimthing (talk | contribs)Extended confirmed users9,941 edits Undid revision 531516456 by 67.170.192.66 (talk) don't remove info without knowing factsNext edit →
Line 39: Line 39:
Apple Lossless data is stored within an ] ] with the ] '']''. This extension is also used by Apple for lossy AAC audio data in an MP4 container (same container, different audio encoding). However, Apple Lossless is not a variant of ] (which is a lossy format), but rather a distinct lossless format that uses ] similar to other lossless codecs. These other lossless codecs, such as ] and ], are not natively supported in Apple's iTunes software, either in desktop operating systems (Mac OS or Windows) or ], so users of iTunes software who want to use a lossless format which allows the addition of ] (unlike WAV/AIFF or other PCM-type formats, where ]) have to use ALAC.<ref>{{cite web|url=http://article.gmane.org/gmane.comp.video.ffmpeg.devel/19686|title=Re: Apple Lossless Audio Codec: Issues surrounding the release of my code?|accessdate=November 5, 2006|first=David|last=Hammerton|date=March 1, 2005|publisher=Gmane}}</ref> All current ]s can play ALAC–encoded files. ALAC also does not use any ] scheme; but by the nature of the MP4 ], it is thought that DRM could be applied to ALAC much the same way it can with files in other QuickTime containers. Apple Lossless data is stored within an ] ] with the ] '']''. This extension is also used by Apple for lossy AAC audio data in an MP4 container (same container, different audio encoding). However, Apple Lossless is not a variant of ] (which is a lossy format), but rather a distinct lossless format that uses ] similar to other lossless codecs. These other lossless codecs, such as ] and ], are not natively supported in Apple's iTunes software, either in desktop operating systems (Mac OS or Windows) or ], so users of iTunes software who want to use a lossless format which allows the addition of ] (unlike WAV/AIFF or other PCM-type formats, where ]) have to use ALAC.<ref>{{cite web|url=http://article.gmane.org/gmane.comp.video.ffmpeg.devel/19686|title=Re: Apple Lossless Audio Codec: Issues surrounding the release of my code?|accessdate=November 5, 2006|first=David|last=Hammerton|date=March 1, 2005|publisher=Gmane}}</ref> All current ]s can play ALAC–encoded files. ALAC also does not use any ] scheme; but by the nature of the MP4 ], 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, which is similar to other lossless formats.<ref name=ALAC-space1>{{cite web|url=http://wiki.hydrogenaudio.org/index.php?title=Lossless_comparison#Comparison_Table|title=Lossless comparison - HydrogenAudio Knowledgebase|publisher=HydrogenAudio|date=July 27, 2011|accessdate=June 27, 2012}}</ref><ref name=ALAC-space2>{{cite web|url=http://www.mcelhearn.com/2011/11/05/an-overview-of-apple-lossless-compression-results|title=An Overview of Apple Lossless Compression Results|publisher=Kirkville|first=Kirk|last=McElhearn|date=November 5, 2011|accessdate=June 27, 2012}}</ref> 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, which is similar to other lossless formats.<ref name=ALAC-space1>{{cite web|url=http://wiki.hydrogenaudio.org/index.php?title=Lossless_comparison#Comparison_Table|title=Lossless comparison - HydrogenAudio Knowledgebase|publisher=HydrogenAudio|date=July 27, 2011|accessdate=June 27, 2012}}</ref><ref name=ALAC-space2>{{cite web|url=http://www.mcelhearn.com/2011/11/05/an-overview-of-apple-lossless-compression-results|title=An Overview of Apple Lossless Compression Results|publisher=Kirkville|first=Kirk|last=McElhearn|date=November 5, 2011|accessdate=June 27, 2012}}</ref> Furthermore, the speed at which it can be decoded makes it useful for limited-power devices such as ] devices.{{citation needed|date=July 2012}}


==History== ==History==

Revision as of 10:36, 7 January 2013

Apple Lossless
Developer(s)Apple Inc.
Initial releaseApril 28, 2004; 20 years ago (2004-04-28)
Stable releaseOctober 28, 2011; 13 years ago (2011-10-28)
Repository
TypeAudio codec
LicenseApache License 2.0
Websitealac.macosforge.org
Apple Lossless
Filename extension .m4a
Developed byApple Inc.
Type of formatLossless data compression, audio file format
Contained byMPEG-4 Part 14

Apple Lossless, also known as Apple Lossless Audio Codec (ALAC), or Apple Lossless Encoder (ALE), 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 made the codec available open source and royalty-free. Traditionally, Apple has referred to the codec as Apple Lossless, though more recently they have begun to use the abbreviated term ALAC when referring the codec.

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). 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 in desktop operating systems (Mac OS or Windows) or iOS devices, so users of iTunes software who want to use a lossless format which allows the addition of metadata (unlike WAV/AIFF or other PCM-type formats, where metadata is usually ignored) have to use ALAC. 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, which is similar to other lossless formats. Furthermore, the speed at which it can be decoded makes it useful for limited-power devices such as iOS devices.

History

The Apple Lossless Encoder was introduced into the Mac OS X Core Audio framework on April 28, 2004 together with the QuickTime 6.5.1 update; thus making it available in iTunes since version 4.5 and above. The codec is also used in the AirPort and AirPlay implementation.

The Apple Lossless Encoder (and decoder) were released as open source software under the Apache License version 2.0 on October 27, 2011.

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.

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, as well as many media center applications for home theater computers, such as Plex, XBMC, and Boxee) are able to play Apple Lossless files. The library was subsequently optimized for ARM processors and included in Rockbox.

See also

References

  1. "iTunes Store: How to subscribe to iTunes Match". Apple Inc. January 16, 2012. Retrieved June 27, 2012. Songs encoded in ALAC, WAV, or AIFF will be transcoded to a separate temporary AAC 256 kbps file locally, prior to uploading to iCloud. The original files will remain untouched.
  2. Hammerton, David (March 1, 2005). "Re: Apple Lossless Audio Codec: Issues surrounding the release of my code?". Gmane. Retrieved November 5, 2006.
  3. "Lossless comparison - HydrogenAudio Knowledgebase". HydrogenAudio. July 27, 2011. Retrieved June 27, 2012.
  4. McElhearn, Kirk (November 5, 2011). "An Overview of Apple Lossless Compression Results". Kirkville. Retrieved June 27, 2012.
  5. "Welcome to the Apple Lossless Audio Codec Project". Apple Lossless Audio Codec. MacOS Forge. October 27, 2011. Retrieved October 29, 2011.
  6. Foresman, Chris (October 28, 2011). "After seven years, Apple open sources its Apple Lossless Audio Codec". Ars Technica. Retrieved October 29, 2011.
  7. von Eitzen, Chris (October 28, 2011). "Apple open sources its ALAC lossless audio codec". The H. Retrieved October 29, 2011.
  8. "ALAC". Crazney.net. 2004. Retrieved June 27, 2012.

External links

Multimedia compression and container formats
Video
compression
ISO, IEC,
MPEG
ITU-T, VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
Others
Audio
compression
ISO, IEC,
MPEG
ITU-T
IETF
3GPP
ETSI
Bluetooth SIG
Chinese Standard
Others
Image
compression
IEC, ISO, IETF,
W3C, ITU-T, JPEG
Others
Containers
ISO, IEC
ITU-T
IETF
SMPTE
Others
Collaborations
Methods
Lists
See Compression methods for techniques and Compression software for codecs
Data compression software
Archivers with
compression
(comparison)
Free software
Freeware
Commercial
Non-archiving
compressors
Generic
For codeUPX
Audio
compression

(comparison)
Lossy
Lossless
Video
compression

(comparison)
Lossy
MPEG-4 ASP
H.264
HEVC
Others
Lossless
Categories: