[vorbis-dev] timestamping / latency

Segher Boessenkool segher at kernel.crashing.org
Mon Jan 12 15:38:45 PST 2004



On 12-jan-04, at 2:51, Michael Smith wrote:
> Note that for low-latency, the ogg layer is going to be causing you 
> lots of
> problems - vorbis itself doesn't have particularly high latency, but 
> because
> of the multiple vorbis packets per ogg page, the latency gets pretty 
> high.

Vorbis itself has a latency of just one window size (which is max. 2048
with current libvorbis encoders, i.e. about 50ms with normal sample 
rates),
although the libvorbis implementation of the decoder (and especially the
encoder) make for larger latencies.

This still isn't worse than any of the other natural audio, good 
compression,
codecs.

But yeah, Ogg framing amplifies the latency a lot.  If that's a problem 
for
your specialized application, nothing forces you to use Ogg -- just send
the Vorbis packets with some other framing method.

<p>Segher

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