[xine-devel] [theora-dev] Re: [private] Re: [theora] support for theora in xine

Andreas Heinchen andreas.heinchen at gmx.de
Tue Apr 22 17:16:40 PDT 2003

Am Die, 2003-04-22 um 22.07 schrieb Ralph Giles:

> There's a hack with the granulepos to facilitate streaming: the 
> lower-order bits are always zero. The field is treated something like a 
> fixed-point number, with the fractional part incremented on P frames 
> and the integral part incremented only for key frames. Where exactly 
> the radix is is encoded as part of the packet header (the log of 
> keyframe_frequency_force) so you'll still have to pass that up from the 
> decoder.

I discoverd that at the sources. The problem isn't as described above. I
thought my keyframe detection missed keyframes because they had an
granulepos of -1, but it is working fine because every keyframe seems to
have an fine granulepos.

But somehow after an seek in theora oggstreams xine hangs. I going to
investigate further.

Andreas Heinchen

<p><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 mailing list