[ogg-dev] Ordering pages by granulepos or presentation time
giles at xiph.org
Tue Mar 11 03:20:35 PDT 2008
On 11-Mar-08, at 10:55 AM, ogg.k.ogg.k at googlemail.com wrote:
> oggmerge, when deciding what timestamp to assign to a page, uses
> the previous
> page's granulepos. Since continuous codecs time by end time
> (oggmerge as in
> the current xiph svn only does Vorbis), this is more or less
> equivalent to
> assigning a page the timestamp of its starting time. I've copied
> this behavior
> to Speex and Theora.
The spec says pages should be ordered by the time-equivalent of their
granulepos, so what oggmerge is currently doing is probably incorrect.
More information about the ogg-dev