[vorbis] Ogg spec clarification

Michael Smith msmith at xiph.org
Tue Apr 22 01:48:47 PDT 2003



On Tuesday 22 April 2003 18:38, Aaron Knauf wrote:
> Hi,
>
> I am considering implementing the Ogg bitstream spec.  Having read the
> spec, I am left with just one matter requiring clarification (making it
> a pretty well written spec, in my book):
>
> Can a packet begin on the same page as the previous packet ends on?  The
> spec does not appear to be explicit about this.
>
> It would seem that I could indicate that there were (e.g.) 3 segments in
> my page, with lengths 30, 255, 42.  The first segment, being less than
> 255 bytes, would be the end of the first packet, the next segment would
> therefore be the first in the next packet, with the remaining segment
> being the last in the second packet.
>
> Obviously, a decoder would have to explicitly support this.  Given that
> the spec does not explicitly allow (or disallow) this behaviour, can I
> (or should I) expect implementations to support this?  Is it actually
> legal?

This is both legal and common, it's definately a requirement.

Mike

--- >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