[theora-dev] Theora packets with granulepos of -1
Timothy B. Terriberry
tterribe at email.unc.edu
Tue Feb 24 05:31:29 PST 2009
salsaman wrote:
> It means the stream starts at 2980.
No, it doesn't. If you've captured a live stream with, e.g., an audio
track, the timestamps are synchronized such that the first packet starts
at time 00:00:00.000. If you pick an arbitrary cut point and call _that_
time 00:00:00.000, you will be out of sync by up to as much as the
buffering delay between the two streams, which can be much larger than a
frame. The only way to correctly synchronize two tracks is relative to
the beginning of the original stream (frame 0 or 1, depending on the
subminor version number).
More information about the theora-dev
mailing list