libogg
libogg is a small, portable C library that implements the core Ogg bitstream container format. It provides the low-level interface used to assemble and parse Ogg streams, consisting of pages, segments, and packets. The library enables codecs and applications to package encoded data into a single stream or file while preserving frame boundaries, stream serial numbers, and sequence information. It is designed to be codec-agnostic and is commonly used as the container layer for codecs such as Vorbis and Theora, and for Opus when stored in an Ogg container.
The API revolves around a few opaque state structures: ogg_sync_state for input buffering and ogg_stream_state for
libogg was developed by the Xiph.Org Foundation as part of the Ogg project and has been distributed
As the container layer of the Ogg ecosystem, libogg serves as a foundation for higher-level projects such