[theora-dev] Theora packets with granulepos of -1
salsaman
salsaman at gmail.com
Tue Feb 24 04:32:28 PST 2009
On Tue, Feb 24, 2009 at 6:00 AM, Conrad Parker <conrad at metadecks.org> wrote:
> 2009/2/24 salsaman <salsaman at gmail.com>:
>> This whole thread should be summarised as a FAQ.
>>
>
> Feel free to add more info, links to this thread etc. to
> http://wiki.xiph.org/index.php/Seeking :-)
>
> Conrad.
Well, your procedure for seeking is dangerously wrong for a start. If
you follow your advice, one would begin decoding from the _last_ page
of the previous keyframe - as opposed to the first page (or as near as
posible) of the keyframe.
Also there is no mention of -1 granulepos, the value of the first
keyframe, or of how to calculate the keyframe shift.
Gabriel.
>
>>
>> Gabriel.
>>
>> http://lives.sf.net
>>
>>
>> On Mon, Feb 23, 2009 at 2:26 PM, Ralph Giles <giles at xiph.org> wrote:
>>> On Mon, Feb 23, 2009 at 9:23 AM, Ralph Giles <giles at xiph.org> wrote:
>>>
>>>> lower two bits of byte 40, actually, and upper 4 bits of byte 41. It's
>>>> a 5 bit field.
>>>
>>> Argh. I meant upper *3* bits of byte 41, for a total of 5 bits.
>>>
>>> -r
>>>
>> _______________________________________________
>> theora-dev mailing list
>> theora-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/theora-dev
>>
>>
>
More information about the theora-dev
mailing list