Jump to content

Audio coding format

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Thue (talk | contribs) at 21:03, 2 July 2014 (Create page, some text reused from https://en.wikipedia.org/w/index.php?title=Video_coding_format&oldid=615341218). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Comparison of coding efficiency between popular audio formats

An audio coding format[1] (or sometimes audio compression format) is a content representation format for storage or transmission of digital sound (such as in a data file or bitstream). Examples of audio coding formats include MP3, AAC, Vorbis, FLAC, and Opus. A specific software or hardware implementation capable of audio compression and/or decompression to/from a specific audio coding format is called a audio codec; an example of a 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 a audio coding specification. Some such specifications are written and approved by standardization organizations as technical standards, and are thus known as a audio coding standard. The term 'standard' is also sometimes used for de facto standards as well as formal standards.

Audio content encoded according using a particular audio coding format is normally used inside a container format. As such, the user normally doesn't have a raw AAC file, but instead has a .aac 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.[2] A notable exception is MP3 files, which are raw audio coding without a container format. De facto standards for adding metadata tag such as title and artist to MP3s, such as ID3, are hacks which work by prepending 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 algorithms 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 have some freedom of choice in which data to remove (according to his psycoaccustic model).

Lossless, lossy, and uncompressed audio coding formats

Consumer audio is most often compressed using lossy audio codecs, since that results in significantly smaller files than lossless compression. Lossless audio coding formats such as FLAC and Apple Lossless are sometimes used, though they create somewhat larger files.

Uncompressed audio formats, such as Pulse-code modulation (.wav), are also sometimes used.

See also

References