Audio coding format: Difference between revisions

Content deleted Content added
MrBnF (talk | contribs)
mNo edit summary
Line 1:
[[File:Opus quality comparison colorblind compatible.svg|thumb|Comparison of coding efficiency between popular audio formats]]
An '''audio coding format'''<ref>The term "audio coding" can be seen in e.g. the name [[Advanced Audio Coding]], and is analogous to the term [[video coding format|video coding]]</ref> (or sometimes '''audio compression format''') is a [[Content format|content representation format]] for storage or transmission of [[digital audio]] (such as in [[Digitaldigital television]], [[digital radio]] and in audio and video files). Examples of audio coding formats include [[MP3]], [[Advanced Audio Coding|AAC]], [[Vorbis]], [[FLAC]], and [[Opus (audio format)|Opus]]. A specific software or hardware implementation capable of [[Data_compression#Audio|audio compression]] and decompression to/from a specific audio coding format is called an [[audio codec]]; an example of an audio codec is [[LAME]], which is one of several different codecs which implements encoding and decoding audio in the [[MP3]] audio coding format in software.
 
Some audio coding formats are documented by a detailed [[technical specification]] document known as an '''audio coding specification'''. Some such specifications are written and approved by [[standardization organization]]s as [[technical standard]]s, and are thus known as an '''audio coding standard'''. The term 'standard' is also sometimes used for [[de facto standard|''de facto'' standards]] as well as formal standards.
 
Audio content encoded in a particular audio coding format is normally encapsulated within a [[container format (digital)|container format]]. As such, the user normally doesn't have a raw [[Advanced Audio Coding|AAC]] file, but instead has a .m4a [[audio file format|audio file]], which is a [[MPEG-4 Part 14]] container containing AAC-encoded audio. The container also contains [[metadata]] such as title and other tags, and perhaps an index for fast seeking.<ref>http://superuser.com/questions/357686/where-is-synchronization-information-stored-in-container-formats</ref> A notable exception is [[MP3]] files, which are raw audio coding without a container format. De facto standards for adding metadata tags such as title and artist to MP3s, such as [[ID3]], are [[Hack_Hack (computer_sciencecomputer science)#In_computer_scienceIn computer science|hack]]s which work by appending the tags to the MP3, and then relying on the MP3 player to recognize the chunk as malformed audio coding and therefore skip it. In video files with audio, the encoded audio content is bundled with video (in a [[video coding format]]) inside a [[multimedia container format]].
 
An audio coding format does not dictate all [[algorithm]]s used by a [[codec]] implementing the format. An important part of how lossy audio compression works is by removing data in ways humans can't hear, according to a [[psychoacoustic model]]; the implementer of an encoder has some freedom of choice in which data to remove (according to their psychoacoustic model).
Line 16:
 
==See also==
* [[Comparison of audio coding formats]]
* [[Data compression#Audio]]
* [[Audio file format]]
 
==References==