ID3

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Metadata
 
|subcat=Metadata
 +
|extensions={{ext|mp3}}, others
 
|locfdd={{LoCFDD|fdd000106}}, {{LoCFDD|fdd000107}}, {{LoCFDD|fdd000108}}
 
|locfdd={{LoCFDD|fdd000106}}, {{LoCFDD|fdd000107}}, {{LoCFDD|fdd000108}}
 
|released=1996
 
|released=1996
Line 7: Line 8:
 
'''ID3''', or '''ID3 tag''', is a metadata format, mainly used in [[MP3]] audio files. It stores information such as the song title, artist, and album.
 
'''ID3''', or '''ID3 tag''', is a metadata format, mainly used in [[MP3]] audio files. It stores information such as the song title, artist, and album.
  
Although usually associated with MP3, an ID3 tag is a single self-contained blob of bytes, so it can theoretically be used in most any format that is designed to be extensible. For example, [https://samples.libav.org/asf-wmv/wma_with_cover_art/wma_with_ID3_APIC.wma here] is a [[WMA]] file with ID3 data.
+
Although designed for use with (and named after) MP3, ID3 is sometimes used with other audio formats. This can be done in two fundamental ways:
 +
* Embedding the ID3 data inside the file, in a manner appropriate for that audio format. For example, [https://samples.libav.org/asf-wmv/wma_with_cover_art/wma_with_ID3_APIC.wma here] is a [[WMA]] file containing ID3 data.
 +
* Prepending and/or appending the ID3 data to the file, MP3-style. This practice is not necessarily approved by any standard, but it has been done, for example with [[Ogg]] and [[FLAC]]. Here, the tail is wagging the dog, and ID3 can be thought of as a container format for an arbitrary audio format.
  
 
== Format details ==
 
== Format details ==

Revision as of 13:57, 26 October 2018

File Format
Name ID3
Ontology
Extension(s) .mp3, others
LoCFDD fdd000106, fdd000107, fdd000108
Released 1996

ID3, or ID3 tag, is a metadata format, mainly used in MP3 audio files. It stores information such as the song title, artist, and album.

Although designed for use with (and named after) MP3, ID3 is sometimes used with other audio formats. This can be done in two fundamental ways:

  • Embedding the ID3 data inside the file, in a manner appropriate for that audio format. For example, here is a WMA file containing ID3 data.
  • Prepending and/or appending the ID3 data to the file, MP3-style. This practice is not necessarily approved by any standard, but it has been done, for example with Ogg and FLAC. Here, the tail is wagging the dog, and ID3 can be thought of as a container format for an arbitrary audio format.

Contents

Format details

There are two major versions. ID3v1 defines a fixed-length data block that is always placed at the end of the file. ID3v2, which has very little in common with ID3v1, defines a block with variable-length frames and allows more flexibility and verbosity. ID3v2 data usually appears at the beginning of the file. It is possible, and common, for a file to have both ID3v1 and ID3v2 metadata.

As of 2017, there are three versions of ID3v2 to be aware of: v2.2.x, v2.3.x, and v2.4.x. These formats have some critical differences, and are definitely not compatible with each other.

Identification

For an MP3 file with an ID3v1 tag, ASCII "TAG" appears beginning 128 bytes from the end of the file.

An MP3 file with an ID3v2 tag usually begins with ASCII "ID3".

Alternatively, the signature "3DI" could appear 10 bytes from the end of the file, or 138 bytes from the end of the file if there is also an ID3v1 tag. This is much less likely.

There are other (rare) ways to use ID3v2, not covered by the above identification logic.

Specifications

Software

[Ed. note: There are many utilities that can read and write ID3 tags, including Windows Explorer to some extent. We suggest searching the web.]

Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox