Ogg: a stream of pages, not a file with an index
.ogg, .opus, .oga and .ogv files are all Ogg: a run of self-contained pages, each starting with “OggS” and carrying its own CRC-32, sequence number and a granule position that says how far into the audio it reaches. There is no table of contents, so players find their place by bisection and recover from damage by scanning for the next valid page. Open a file, or one of the two samples encoded here, to see every page and packet.
arpeggio.opus: encoded here with WebCodecs Opus at 64 kb/sA player that wants second T jumps to the middle of the byte range, scans forward to the next “OggS”, reads that page’s granule position and halves the range again, the way libvorbisfile and libopusfile do. Each read below is an HTTP range request on a streamed file. Opus also needs 80 ms of pre-roll (RFC 7845 §4.6), so the search aims 80 ms early.
Ogg never stores a packet length directly. Each packet is cut into 255-byte segments; a lacing value of 255 means “keeps going”, anything smaller ends the packet. A packet that is an exact multiple of 255 therefore needs an extra 0. A page holds at most 255 lacing values, so big packets spill onto the next page with the continued flag set, and a page where no packet finishes gets granule −1.
Yes. Add your .ogg file, choose MP3 as the output, and download it. OGG (Vorbis) and MP3 are both lossy formats, so the audio is re-encoded; picking a reasonable bitrate keeps the quality close. MP3 plays on almost every device, which is the main reason to convert from OGG.
Audacity can import OGG and export MP3, though older versions needed a separate LAME encoder. You can skip that setup and convert OGG to MP3 right here in your browser instantly, with no install and no signup, then download the finished MP3.
Yes. Converting OGG to WAV gives you uncompressed PCM audio for editing, while OGG to FLAC gives lossless compression. Note that OGG Vorbis is already lossy, so these targets preserve the current quality but cannot restore detail that Vorbis encoding removed. Both conversions are free here.
You can convert OGG audio into an MP4/M4A audio container, which wraps AAC audio that many Apple devices prefer. This changes the audio format rather than creating a video. The conversion is free, needs no account, and runs directly in your browser.