- Vorbis comment
A Vorbis comment is a
metadata container used in theVorbis ,FLAC , andSpeex audio file format s. It allows information such as the title, artist, album, track number or other information about the file to be added to the file itself. However, as the official Ogg Vorbis documentation notes: [ [http://www.xiph.org/vorbis/doc/v-comment.html Ogg Vorbis I format specification: comment field and header specification] , with suggestions of field names]Format
A Vorbis tag is a list of fields in the format
FieldName=Data
. The field name can be composed of printableASCII characters, 0x20 (space) through 0x7D ('}'), with 0x3D ('=') and 0x7E ('~') excluded. It is case insensitive, so "artist" and "ARTIST" are the same field. The number of fields and their length is restricted to 4,294,967,295 (the maximum value of a 32-bit integer), but most tag editing applications impose stricter limits.The data are encoded in
UTF-8 , and so anyUnicode string may be used as a value.Any tag name is allowed, and there is no format that the data values must be in. This is in contrast to the
ID3 format used forMP3 s, which is highly structured. Field names are also permitted to be used more than once. It is encouraged to use this feature to support multiple values, for example twoartist=...
fields to list both artists of a single composition.The specification gives several example tag names such as "title" and "tracknumber". Most applications also support common "de facto" standards, such as "discnumber" and tags for
Replay Gain information.There are no provisions for storing binary data in Vorbis comments. This is by design; they are intended to be used as part of a
container format such asOgg , and any additional binary data should be encoded into the container directly.ee also
*
ID3
*APEv2 tag
* getID3()References
External links
* [http://www.xiph.org/vorbis/doc/v-comment.html Xiph.Org's specification for Vorbis comments]
* [http://www.gophernet.org/articles/vorbiscomment.html Metadata issues and proposals for extending the Ogg Vorbis comment system]
Wikimedia Foundation. 2010.