[vorbis] Slow stream opening (Was Re: Average Bitrate Calculation)

Jay Sprenkle cupycake_jay at yahoo.com
Wed Oct 3 11:24:37 PDT 2001

> > Any editing is MUCH nicer if you can seek without having to decompress the
> > stream all along the way.
> Ogg packets actually have a field called granule_pos which the encoder fills
> with a codec specific index _allowing_ you to seek through a stream without
> decoding.  The vorbis codec sets granule_pos to the sample number (if I
> remember correctly).  So the problem you describe has already been solved.
> The opening delay is described above is due to seeking through the file, not
> decoding anything at the vorbis level.

NICE! You guys are a wonder. Thanks.

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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