Comments Vorbis is a metadata container used in the Vorbis , FLAC , and Speex audio file formats. It allows you to add to the file itself such information about the file as the title, artist, album, track number, etc. Nevertheless, as noted by the official documentation of Ogg Vorbis: [1]
| [Comment Title] is intended for short, textual comments, not for arbitrary metadata; custom metadata is for a separate logical bitstream (typically an XML stream) that provides better structure and usability for machine analysis. |
Content
Format
The Vorbis tag is a list of fields in the format ИмяПоля=Данные . The field name can consist of printable ASCII characters, 0x20 (space) - 0x7D ("}"), excluding 0x3D ("=") and 0x7E ("~"). It is not case sensitive, so artist and ARTIST are the same field. The number of fields and their length is limited to 4,294,967,295 (maximum value of a 32- bit integer), but most tag editing applications impose more stringent restrictions.
Data is encoded in UTF-8 , so any Unicode string can be used as a value.
Any tag names are allowed, and there is no format for the data value. This is different from the highly structured ID3 format used for MP3 files. It is also allowed to use field names more than once. This feature is used to support multiple values, for example two fields artist=... to list both artists of the same composition.
The specification provides several sample tag names, such as title ( Track ) and tracknumber ( Track Number ). Most applications also support common de facto standards, such as discnumber ( Disc Number ) and tags for Replay Gain information.
Vorbis comments do not provide binary data storage. This is intentional — comments are intended to be used as part of a container format such as Ogg , and any additional binary data should be encoded directly into the container.
See also
- ID3
- APEv2
Notes
- ↑ Ogg Vorbis I format specification: comment field and header specification ( Ogg Vorbis I format specification: comment field and comment header ), with suggestions regarding field names
Links
- Xiph.Org's specification for Vorbis comments . - The Xiph.Org specification for Vorbis comments. Date of treatment March 15, 2009. Archived May 19, 2012.
- Metadata issues and proposals for extending the Ogg Vorbis comment system . - Metadata issues and suggestions for expanding the Ogg Vorbis comment system. Date of treatment March 15, 2009. Archived May 19, 2012.