[ogg-dev] How many Ogg streams?

Martin Leese martin.leese at stanfordalumni.org
Sat Mar 1 15:59:43 PST 2008


Ian Malone <ibmalone at gmail.com> wrote:
>
>  Martin Leese wrote:
>  > I nice simple question to start the day.
>  >
>  > How many streams can an Ogg container contain.
>
>  I don't remember a set limit.  All streams within a physical
>  bitstream (chained or concurrent) must have unique serial
>  numbers which is a 2^32 limit.

Also, a follow-up to aid my understanding.

There is a limit of 2^32 pages (because of
page_sequence_number), and a page has
a maximum size of 65,307 bytes (of which
256 * 255 bytes can be "useful" data).

Many thanks,
Martin
-- 
Martin J Leese
Web: http://members.tripod.com/martin_leese/


More information about the ogg-dev mailing list