Informal standard M. Nilsson
Document: id3v2.3.0.txt 3rd February 1999
ID3 tag version 2.3.0
Status of this document
This document is an informal standard and replaces the ID3v2.2.0
standard [ID3v2]. The informal standard is released so that
implementors could have a set standard before a formal standard is
set. The formal standard will use another version or revision number
if not identical to what is described in this document. The contents
in this document may change for clarifications but never for added or
altered functionallity.
Distribution of this document is unlimited.
Abstract
This document describes the ID3v2.3.0, which is a more developed
version of the ID3v2 informal standard [ID3v2] (version 2.2.0),
evolved from the ID3 tagging system. The ID3v2 offers a flexible way
of storing information about an audio file within itself to determine
its origin and contents. The information may be technical
information, such as equalisation curves, as well as related meta
information, such as title, performer, copyright etc.
1. Table of contents
2. Conventions in this document
3. ID3v2 overview
3.1. ID3v2 header
3.2. ID3v2 extended header
3.3. ID3v2 frames overview
3.3.1. Frame header flags
3.3.2. Default flags
4. Declared ID3v2 frames
4.1. Unique file identifier
4.2. Text information frames
4.2.1. Text information frames - details
4.2.2. User defined text information frame
4.3. URL link frames
4.3.1. URL link frames - details
4.3.2. User defined URL link frame
4.4. Involved people list
4.5. Music CD Identifier
4.6. Event timing codes
4.7. MPEG location lookup table
4.8. Synced tempo codes
4.9. Unsychronised lyrics/text transcription
4.10. Synchronised lyrics/text
4.11. Comments
4.12. Relative volume adjustment
4.13. Equalisation
4.14. Reverb
4.15. Attached picture
4.16. General encapsulated object
4.17. Play counter
4.18. Popularimeter
4.19. Recommended buffer size
4.20. Audio encryption
4.21. Linked information
4.22. Position synchronisation frame
4.23. Terms of use
4.24. Ownership frame
4.25. Commercial frame
4.26. Encryption method registration
4.27. Group identification registration
4.28. Private frame
5. The 'unsynchronisation scheme'
6. Copyright
7. References
8. Appendix
A. Appendix A - Genre List from ID3v1
9. Author's Address
2. Conventions in this document
In the examples, text within "" is a text string exactly as it
appears in a file. Numbers preceded with $ are hexadecimal and
numbers preceded with % are binary. $xx is used to indicate a byte
with unknown content. %x is used to indicate a bit with unknown
content. The most significant bit (MSB) of a byte is called 'bit 7'
and the least significant bit (LSB) is called 'bit 0'.
A tag is the whole tag described in this document. A frame is a block
of information in the tag. The tag consists of a header, frames and
optional padding. A field is a piece of information; one value, a
string etc. A numeric string is a string that consists of the
characters 0-9 only.
3. ID3v2 overview
The two biggest design goals were to be able to implement ID3v2
without disturbing old software too much and that ID3v2 should be
as flexible and expandable as possible.
The first criterion is met by the simple fact that the MPEG [MPEG]
decoding software uses a syncsignal, embedded in the audiostream, to
'lock on to' the audio. Since the ID3v2 tag doesn't contain a valid
syncsignal, no software will attempt to play the tag. If, for any
reason, coincidence make a syncsignal appear within the tag it will
be taken care of by the 'unsynchronisation scheme' described in
section 5.
The second criterion has made a more noticeable impact on the design
of the ID3v2 tag. It is constructed as a container for several
information blocks, called frames, whose format need not be known to
the software that encounters them. At the start of every frame there
is an identifier that explains the frames' format and content, and a
size descriptor that allows software to skip unknown frames.
If a total revision of the ID3v2 tag should be needed, there is a
version number and a size descriptor in the ID3v2 header.
The ID3 tag described in this document is mainly targeted at files
encoded with MPEG-1/2 layer I, MPEG-1/2 layer II, MPEG-1/2 layer III
and MPEG-2.5, but may work with other types of encoded audio.
The bitorder in ID3v2 is most significant bit first (MSB). The
byteorder in multibyte numbers is most significant byte first (e.g.
$12345678 would be encoded $12 34 56 78).
It is permitted to include padding after all the final frame (at the
end of the ID3 tag), making the size of all the frames together
smaller than the size given in the head of the tag. A possible
purpose of this padding is to allow for adding a few additional
frames or enlarge existing frames within the tag without having to
rewrite the entire file. The value of the padding bytes must be $00.
3.1. ID3v2 header
The ID3v2 tag header, which should be the first information in the
file, is 10 bytes as follows:
ID3v2/file identifier "ID3"
ID3v2 version $03 00
ID3v2 flags %abc00000
ID3v2 size 4 * %0xxxxxxx
The first three bytes of the tag are always "ID3" to indicate that
this is an ID3v2 tag, directly followed by the two version bytes. The
first byte of ID3v2 version is it's major version, while the second
byte is its revision number. In this case this is ID3v2.3.0. All
revisions are backwards compatible while major versions are not. If
software with ID3v2.2.0 and below support should encounter version
three or higher it should simply ignore the whole tag. Version and
revision will never be $FF.
The version is followed by one the ID3v2 flags field, of which
currently only three flags are used.
a - Unsynchronisation
Bit 7 in the 'ID3v2 flags' indicates whether or not
unsynchronisation is used (see section 5 for details); a set bit
indicates usage.
b - Extended header
The second bit (bit 6) indicates whether or not the header is
followed by an extended header. The extended header is described in
section 3.2.
c - Experimental indicator
The third bit (bit 5) should be used as an 'experimental
indicator'. This flag should always be set when the tag is in an
experimental stage.
All the other flags should be cleared. If one of these undefined
flags are set that might mean that the tag is not readable for a
parser that does not know the flags function.
The ID3v2 tag size is encoded with four bytes where the most
significant bit (bit 7) is set to zero in every byte, making a total
of 28 bits. The zeroed bits are ignored, so a 257 bytes long tag is
represented as $00 00 02 01.
The ID3v2 tag size is the size of the complete tag after
unsychronisation, including padding, excluding the header but not
excluding the extended header (total tag size - 10). Only 28 bits
(representing up to 256MB) are used in the size description to avoid
the introducuction of 'false syncsignals'.
An ID3v2 tag can be detected with the following pattern:
$49 44 33 yy yy xx zz zz zz zz
Where yy is less than $FF, xx is the 'flags' byte and zz is less than
$80.
3.2. ID3v2 extended header
The extended header contains information that is not vital to the
correct parsing of the tag information, hen
没有合适的资源?快使用搜索试试~ 我知道了~
TagLib--多媒体解析库

温馨提示
很好的开源的解析多媒体格式的库 TagLib is a library for reading and editing the meta-data of several popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files.
资源推荐
资源详情
资源评论












收起资源包目录





































































































共 380 条
- 1
- 2
- 3
- 4
资源评论

- huohuohong2017-09-27没有下载成功,跳转到错误页面

lixingchenqq
- 粉丝: 26
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 【IOS应用源码】分类.zip
- 【IOS应用源码】分享到facebook的API.zip
- 【IOS应用源码】分享action sheet.zip
- 【IOS应用源码】分享最近给别人做的一个项目,供学习交流参考~.zip
- 【IOS应用源码】个人信息输入表(支持表单增删).zip
- 基于心电信号时空特征的QRS波检测算法matlab 2022a仿真:功能介绍及包含内容
- 【IOS应用源码】改进的simpleFTPSampleiphoneftp.orig.zip
- 【IOS应用源码】感恩---奉上大量samplecode(共7部分).zip
- 【IOS应用源码】各种效果的字体.zip
- 【IOS应用源码】给大家分享代码 如何自定义协议从自己的一个app打开另一个app iPhoneURLScheme_Reference.pdf.zip
- 【IOS应用源码】各种效果的字体2.zip
- 【IOS应用源码】共享一个自己做的,采用了cocos2d和chipmunk的DEMOCrayonBallDemo.zip
- 【IOS应用源码】宫格视图(支持横屏)LOGO.zip
- 【IOS应用源码】功能完整的瀑布墙视图效果.zip
- 【IOS应用源码】国家拾取器.zip
- 【IOS应用源码】股票的走势线.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
