Vorbis comment: Difference between revisions

Content deleted Content added
Explain what a metadata tag is, mention de facto standards, lack of binary data, use more pipe links
Line 1:
A '''Vorbis comment''' is thea tagging[[metadata]] formatcontainer used in the [[Vorbis]] and [[FLAC]] [[audio file format|audio file formats]]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.
 
==Format==
 
FieldsA areVorbis tag is a list of fields in the format <code>FieldName=Data</code>. The field name can be any printable [[ASCII]] character except for ''='' and ''~','. andIt is case- insensitive, ("field"so ''artist'' and "FIELD"''ARTIST'' are the same). The data is encoded in the [[UTF-8]] encoding of [[Unicode]] and can be any languagefield. The number of fields, the length of the field names and thetheir length ofis the comments in each field are setrestricted to a limit of an unsigned 32-bit integer, that is, 4,294,967,295 (fields,the andmaximum bytesvalue forof eacha name32-[[bit]] and commentinteger), thoughbut metadatamost editorstag mayediting restrictapplications theimpose availablestricter input lengthlimits.
 
The data is encoded in [[UTF-8]], and so any [[Unicode]] string may be used as a value.
Fields are permitted to be used more than once, for example one ARTIST field for each of multiple artists for a single composition. A few fields names are the recommended standard for all editors, such as TITLE, ARTIST and ALBUM, but any other field can be added.
 
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 for [[MP3|MP3s]], 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 two <code>artist=...</code> 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 [[ReplayGain]] 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 as [[Ogg]], and any additional binary data should be encoded into the container directly.
 
==See also==
Line 14 ⟶ 20:
==External link==
 
* [[Xiph.Org Foundation|Xiph.Org]]'s specification for Vorbis Commentcomments [http://www.xiph.org/vorbis/doc/v-comment.html]