ID3

From HandWiki
Short description: Metadata container

ID3 is a metadata container most often used in conjunction with the MP3 audio file format. It allows information such as the title, artist, album, track number, and other information about the file to be stored in the file itself.

ID3 is a de facto standard for metadata in MP3 files; no standardization body was involved in its creation nor has such an organization given it a formal approval status.[1] It competes with the APE tag in this area.

There are two unrelated versions of ID3: ID3v1 and ID3v2. In ID3v1, the metadata is stored in a 128-byte segment at the end of the file. In ID3v2, an extensible set of "frames" located at the start of the file are used. Subvariants of both versions exist.

ID3v1

When the MP3 standard was published in 1995, it did not include a method for storing file metadata. In 1996 Eric Kemp[clarification needed] proposed adding a 128-byte suffix to MP3 files in which useful information such as an artist's name or a related album title could be stored. Kemp deliberately placed the tag data (which is demarcated with the 3-byte string TAG) at the end of the file as it would cause a short burst of static to be played by older media players that did not support the tag. The method, now known as ID3v1, quickly became the de facto standard for storing metadata in MP3s[2] despite internationalization and localization weaknesses arising from the standard's use of ISO-8859-1 system of encoding rather than the more globally compatible Unicode.

The v1 tag allows 30 bytes each for the title, artist, album, and a "comment", 4 bytes for the year, and 1 byte to identify the genre of the song from a predefined list of values.[3][4]

ID3v1.1

In 1997, a modification to ID3v1 was proposed by Michael Mutschler[clarification needed] in which two bytes formerly allocated to the comment field were used instead to store a track number so that albums stored across multiple files could be correctly ordered. The modified format became known as ID3v1.1.[2]

ID3v1.2

ID3v2

Id3v2 logo.png

In 1998, a new specification called ID3v2 was created by multiple contributors.[5] Although it bears the name ID3, its structure is completely distinct from that of ID3v1. ID3v2 tags are of variable size and are usually placed at the start of the file, which enables metadata to load immediately, even when the file as a whole is loading incrementally during streaming.

A ID3v2 tag consists of a number of optional frames, each of which contains a piece of metadata up to 16 MB in size. For example, a TT2 frame may be included to contain a title. The entire tag may be as large as 256 MB, and strings may be encoded in Unicode.[6]

ID3v2.2

The first public variant of v2, ID3v2.2, replaced three-characters frame identifiers (e.g., TT2) with four-character frame identifiers (e.g., TIT2) in order to avoid confusion between similar codes. Most of the common v2.3 and v2.4 frames have direct analogues in v2.2, but v2.2 is now considered obsolete.[7]

ID3v2.3

ID3v2.3 is the most widely used version of ID3v2 tags and is widely supported by Windows Explorer and Windows Media Player.[8] Notably it introduced the ability to embed an image such as an album cover.[9]

ID3v2.4

ID3v2.4 was published on November 1, 2000. It defines 83 frame types,[10] allows text frames to contain multiple values separated with a null byte, and permits the tag to be stored at either the beginning or the end of the file.[11]

Notable features

Chapters

An ID3v2 Chapter Addendum was published in December 2005. It allows users to jump easily to specific locations or chapters within an audio file and can provide a synchronized slide show of images and titles during playback. Typical use-cases include Enhanced podcasts and it can be used in ID3v2.3 or ID3v2.4 tags.[12]

Lyrics

Lyrics3v1[13] and Lyrics3v2[14] were tag standards implemented before ID3v2, for adding lyrics to mp3 files. The difference with ID3v2 is that Lyrics3 is always at the end of an MP3 file, before the ID3v1 tag.

Editing ID3 tags

ID3 tags may be edited in a variety of ways. Specialized applications, called tag editors, enable precise editing of all fields or frames and permit sophisticated batch editing, but many audio players provide native editing of common fields or frames. Some file managers also provide tag editing capabilities.

Non-MP3 implementation

ID3 tags were designed for the MP3 format, but the tagsets are an independent part of the MP3 file and can be used elsewhere. ID3v2 tags are sometimes used with AIFF and WAV files, [15] and MP4 allows the embedding of an ID3 tag.[16]

See also

References

External links