mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-08 19:42:12 +00:00
FilmCraft's `filmcraft-ogg` as `craft_media::ogg`, behind the opt-in `ogg` feature: pages (CRC-32 checked, damage skipped by searching for the next `OggS`), logical streams, packets across pages, and the Ogg Opus, Vorbis and FLAC mappings. `OpusTiming` gives each Opus packet's start, the pre-skip and the final page's end trimming. `Stream::codec_params()` returns `CodecParams` like the other containers; for FLAC each stream keeps its own header count, and an unstated count is bounded (it ends at the first audio frame, or at 32 MiB with a warning). `ogg::ByteSource` is `craft_media::ByteSource`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>