[Vorbis] Ogg container format question
Michael Smith
msmith at xiph.org
Sun Oct 17 18:37:01 PDT 2004
On Monday 18 October 2004 01:42, Tor-Einar Jarnbjo wrote:
> Ralph Giles wrote:
> > Vorbis requires some kind for container to provide framing (basically
> > keeping
> > the packets separate). So you could put vorbis in RTP or Quicktime or
> > whatever,
> > but a 'raw' vorbis stream can't work on its own.
>
> It can if the packets are complete and not "peeled". The parser can
> simply decode the complete packets and assume the next packet to start
> at the next byte boundary or whatever.
>
> Tor
>
You could do this, but it'd be a really, really bad idea.
Truncated packets are common, and a core part of the spec. Peeling is not the
only use of them - the reference encoder uses them.
Mike
More information about the Vorbis
mailing list