oggpacket
An Ogg packet is a fundamental unit of data within the Ogg multimedia framework. It represents a discrete chunk of compressed audio or video data, along with associated metadata. Ogg packets are designed to be independent and self-contained, allowing for efficient seeking, error resilience, and parallel processing of media streams. Each Ogg packet contains a header that includes information such as the packet's serial number (identifying the stream it belongs to), page number (indicating which Ogg page it is part of), granule position (a time-based counter for synchronization), and packet type.
The Ogg format structures these packets into larger containers called Ogg pages. A page can contain one