[theora-dev] Timestamps...

Ralph Giles giles at xiph.org
Fri May 14 10:10:46 PDT 2004

On Fri, May 14, 2004 at 04:23:53PM +0800, illiminable wrote:

> The conversion of time representations is just a simple calculation... The
> decode the packets options is a far more complicated operation, and either
> requires the demux knowing how to decode itself or being able to call the
> decoder to figure it out. Which means processing the page... certainly any
> simple calculation will be far more efficient that potentially reading and
> processing a whole page of data.

Sounds like you're arguing for real-time granulepos again.

If you know the media is 'continuous' the start time of the page is the end-
time of the previous page. Having an extra granulepos field on each page
doesn't help you at all here. Is there any problem with just applying this
abstraction to 'discontinuous' streams in DirectShow? I guess so if you
really need per-packet start and end timestamps.

--- >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 'theora-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 Theora-dev mailing list