ogg at illiminable.com
Fri May 14 17:08:46 PDT 2004
----- Original Message -----
From: "Ralph Giles" <giles at xiph.org>
To: <theora-dev at xiph.org>
Sent: Saturday, May 15, 2004 1:10 AM
Subject: Re: [theora-dev] Timestamps...
<p>> On Fri, May 14, 2004 at 04:23:53PM +0800, illiminable wrote:
> > The conversion of time representations is just a simple calculation...
> > decode the packets options is a far more complicated operation, and
> > requires the demux knowing how to decode itself or being able to call
> > decoder to figure it out. Which means processing the page... certainly
> > simple calculation will be far more efficient that potentially reading
> > processing a whole page of data.
> Sounds like you're arguing for real-time granulepos again.
No... it that would be nice, but it doesn't really matter, any granule pos
scheme is fine.
> If you know the media is 'continuous' the start time of the page is the
> 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.
It does help because it means you don't have to search for a pervious page
in every logical stream. At the moment, you have to find the page you want
to start at, then seek backwards to ensure you go back far enough that you
find the previous page of every stream, in order to find the relative start
times of each stream at your desired start position.
Yes... start packet times are pretty much essential for the renderer.
> --- >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.
<p>--- >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