[vorbis-dev] Confusion with page_segments / segment_table

Anders Thomsen list at mexp.dk
Mon Nov 11 09:22:28 PST 2002



> I am not sure if I understand your question, but an ogg packet (which
> is based on any number of segments with length 255 followed by a
> segment with a length < 255) can span page boundaries. There is a
> restriction in the Vorbis specification, that the first and third
> header packets (identification and setup) have to end on a page boundary,
> but the second header (the comment header) does not have to do so.

Thanks for your quick answer!

Where is that specified in the documentation, I can't seem to find it
anywhere?
My problem is, that I'm trying to read the comment. The first header just
before the
tag has the extra segment (< 255), but if the comment is spanned over, let
say 2 pages,
the next header does not have this extra segment. Is this always the case,
that the first
header has it, and the all following has not? If not, how do I determine
wether it has this extra segment.

Thanks again,

Thomsen

--- >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-dev-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-dev mailing list