[vorbis-dev] timestamping / latency

Michael Smith msmith at xiph.org
Sun Jan 11 17:51:52 PST 2004



On Friday 09 January 2004 21:08, Olaf Matthes wrote:
> Hi there,
>
> for a streaming application developed for a project at the Society for
> Arts and Technology Montreal, Canada, we would need to know the exact
> delay of our ogg/vorbis streams.
>
> It seems there are several factors that make up the total delay I get.
> Is there a way to find out how large the delay introduced by the encoder
> and decoder is? Or in other words, how many unprocessed samples the
> enocder / decoder has stored internally?

This is pretty easy to do. Just hook up an encoder to a decoder, and measure 
how many samples you've put in before you start getting samples out.

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. 

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