[vorbis] What tags are allowed in ogg files?
Anders Thomsen
list at mexp.dk
Fri Jul 26 19:03:44 PDT 2002
Thanks for all the answers!
I missed the CRC information, found it in the framing document : )
I wrote a CRC routine to my program, and it works now.
I have a little trouble on understanding the page_Segment and segment_Table.
I've looked at some random ogg files, and all have the page_Segment set to
11H (17).
The 17 bytes in the segment_Table are all set to 0xFF, except the first,
which matches the size of the "comment header".
I then tried modifying the tag (using Winamp) to make sure it the tag length
exceeded the 255 bytes.
I looked at the file again, and see that the page_Segment hasn't changed,
even though the segment_Table has changed
the first "slots" are now filled with 0xFF.
Could anyone explain what these two values describes.
Thanks again,
-Thomsen
PS: I'm working with Delphi, this is why I don't use the libs.
<p>----- Original Message -----
From: "Moritz Grimm" <gtgbr at gmx.net>
To: <vorbis at xiph.org>
Sent: Saturday, July 27, 2002 1:20 AM
Subject: Re: [vorbis] What tags are allowed in ogg files?
<p>> Anders Thomsen wrote:
> > What tags, besides ogg-tags, are allowed in ogg files (if any).
> > I'm thinking of id3v1, id3v2, ape tags and so on.
>
> http://www.xiph.org/ogg/vorbis/doc/v-comment.html
>
> As longs as all three Vorbis headers are correct (and they aren't if you
> tinker with them in hex editors, unless you also manually adjust the CRC
> checksums (good luck :) )), every compliant player will play the .ogg
> file - even when you put random data in the beginning or the end of the
> file (haven't tried putting stuff from /dev/random in the middle of an
> .ogg file, yet ;) ). That means, braindead tags like ID3v* et al simply
> get ignored by a sane player. On the other hand, this definitely breaks
> the specs, or at least as far as I understand them.
>
> Of course, you're free to do whatever you like, but don't expect fame
> and/or appreciation by breaking things. ;P I personally see no point in
> throwing restrictive and legacy tags at Ogg Vorbis, or to create things
> like .ogm that violates the Ogg specs, in order to have features that
> can, and should be implemented correctly.
>
>
> Moritz
>
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list