[ogg-dev] video chapters and subtitles in ogg containers

Ralph Giles giles at xiph.org
Mon Nov 17 10:33:28 PST 2008

On Mon, Nov 17, 2008 at 3:01 AM, ogg.k.ogg.k at googlemail.com
<ogg.k.ogg.k at googlemail.com> wrote:

> Technically, if you find two packets with the same serialno,
> it is possible that they'd be *different* logical streams just
> happening to have the same serial, which would be OK if
> there was another stream in the middle with *another* serial.
> OK, maybe that's very unlikely, but still legal.

It's the other way around. The RFC says,

  "Each chained logical bitstream MUST have a unique serial
   number within the scope of the physical bitstream."

So it's illegal, but likely to occur occasionally. So I guess it
depends how hard you want to try. Bisection search should find
anything but adjacent repeated segments.


More information about the ogg-dev mailing list