ID3
Line 6: | Line 6: | ||
}} | }} | ||
'''ID3''', or '''ID3 tag''', is a metadata format, used in [[MP3]] audio files. It stores information such as the song title, artist, and album. | '''ID3''', or '''ID3 tag''', is a metadata format, used in [[MP3]] audio files. It stores information such as the song title, artist, and album. | ||
+ | |||
+ | We don't know if ID3 has ever been used with formats other than MP3, but since it is a single self-contained blob of bytes, it could easily be incorporated into most any format that is designed to be extensible. | ||
== Format details == | == 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. | 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, | + | 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 == | == Identification == | ||
+ | For an MP3 file with an ID3v1 tag, ASCII "{{magic|TAG}}" appears beginning 128 bytes from the end of the file. | ||
+ | |||
An MP3 file with an ID3v2 tag usually begins with ASCII "{{magic|ID3}}". | An MP3 file with an ID3v2 tag usually begins with ASCII "{{magic|ID3}}". | ||
− | + | Alternatively, the signature "{{magic|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 == | == Specifications == |
Revision as of 15:16, 2 December 2017
ID3, or ID3 tag, is a metadata format, used in MP3 audio files. It stores information such as the song title, artist, and album.
We don't know if ID3 has ever been used with formats other than MP3, but since it is a single self-contained blob of bytes, it could easily be incorporated into most any format that is designed to be extensible.
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
- ID3.org Developer Information
- ID3v1
- ID3v2.2.0
- ID3v2.3.0: Plain text · HTML
- ID3v2.4.0: Main Structure · Native Frames
- ID3 tag version 2 (Another copy of v2.2.0)
- MPEG Audio Tag ID3v1
- Hydrogenaudio Knowledgebase: ID3v1
- Hydrogenaudio Knowledgebase: ID3v1.1
- Hydrogenaudio Knowledgebase: ID3v2
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.]