[Theora-dev] Resyncing cut streams...

illiminable ogg at illiminable.com
Thu Jan 6 18:40:00 PST 2005


----- Original Message ----- 
From: "Timothy B. Terriberry" <tterribe at vt.edu>
To: <msmith at xiph.org>
Cc: <theora-dev at xiph.org>
Sent: Friday, January 07, 2005 8:45 AM
Subject: Re: [Theora-dev] Resyncing cut streams...


> Correct me if I'm wrong, but I thought it was a _negative_ offset applied 
> to the granule position of the _end_ of the first page. This effectively 
> moves the granule position "0" into the middle of that page, which is what 
> indicates how many samples to drop. So the start of the stream is still at 
> granule zero.
>

if understand it correctly, lets say the page has 2000 granules of stuff on 
it, and you stamp the first page 1800, that implies you drop the first 200 
granules worth. I'm not sure how a negative end time could even make 
sense... and i'm also of the opinion that granule pos is unsigned 
with -1(2's complement) having a special value ie 2^64-1. There's certainly 
nothing in the spec that suggests this is a signed value.

Zen. 




More information about the Theora-dev mailing list