Commits
Commits on
cdccbc2f662cc4e4dda0e2d99d7faf0ca5577064Filtered to crates/ec-ogg/src/mapping.rsClear filterToday
B6: ec-ogg identify rejects Vorbis/FLAC rate 0, drop silent 48 kHz time base fallbackAhmet Kaan Gümüş · b4ff43f
B6: ec-ogg identify rejects Vorbis/FLAC rate 0, drop silent 48 kHz time base fallback Rate 0 in a Vorbis identification or FLAC STREAMINFO header is invalid; the old code kept the stream and silently timed it at 48 kHz. Now identify returns None (stream not claimed), and time_base uses the stated rate directly since Mapping can only be built from a non-zero rate. Regression: identify on a Vorbis header with rate 0 returns None. Golden: only affects streams with rate 0 (none in goldens).
2026-08-14
feat(ec-ogg): Ogg demux/mux with Vorbis, Opus and FLAC mappingsAhmet Kaan Gümüş · 47772cb
feat(ec-ogg): Ogg demux/mux with Vorbis, Opus and FLAC mappings RFC 3533 pages both ways: lacing (255-runs and the zero terminator), packet reassembly across continuations, unreflected page CRC with resync-on-damage, granule positions per mapping, BOS/EOS, and seek by granule bisection. Timing lives in the mapping, not in Ogg: Vorbis and FLAC count samples at the stream rate, Opus counts 48 kHz samples including its pre-skip and states per-packet durations in the TOC byte. Packets carry the page granule they end on as side data, which is what lets a remux reproduce positions the demuxer could not otherwise express. Verified against ffprobe/ffmpeg on the nine Ogg fixtures: packet counts and durations match, and every fixture remuxes to audio that decodes byte for byte identical to the source. feat(shims/oxideav-ogg): mux surface over ec-ogg xiph_lace, open_concrete and set_page_target_bytes beside the oxideav_core::Muxer methods, with the replica's "pts is the granule position" convention translated here rather than at the call site.