diag(mkv-audio): A/B ec-matroska's AAC and AC-3/E-AC-3 delivery against mp4/ffmpeg -- refuted, not fixed
Two mkv-audio-timing tests exercise ec-matroska's own packet stream, decoded
through ec-aac/ec-ac3 exactly as the consumer does, against the sibling mp4
leg of the same OBS recordings and against ffmpeg:
- mkv_vs_mp4_aac_pipeline: 3 real OBS mkv/mp4 pairs. ASC bytes identical,
packet counts and byte totals identical, mkv pts strictly monotonic with no
duplicates. Decoded PCM (ours-vs-ours and each vs ffmpeg) correlates at
1.0000, lag 0, for the two pairs with real signal; the third pair's near-
silent audio (5180 bytes over 852 packets) reads 0.0 on every leg including
mp4-vs-ffmpeg, which is a zero-variance correlation floor, not a defect.
- mkv_51_channel_order: the two real-library 5.1 mkv rows the consumer sweep
flagged (ReelF, E-AC-3; ReelG, AC-3). Our channel 0 matches
ffmpeg's channel 0 at lag 0, corr 0.9999 and 0.9955 -- no channel-order
mismatch.
Root cause: neither of the charter's two ec-matroska-side hypotheses (lace/
pts damage to AAC packet delivery, 5.1 channel order) holds against real
files -- this crate's demux and the shared ec-aac/ec-ac3 decode of it are
byte- and sample-correct here. No code fix lands in ec-matroska because there
is nothing wrong to fix in it for these files. The 0.06-0.34 mkv-leg
correlation the consumer sweep saw, if still real, has to come from
edith_replica's own consumption of these same packets (SymTrack's pts ->
samples_at conversion, priming, or channel folding in
crates/engine/src/audio.rs) rather than from container demux or codec decode
-- reported, not fixed, since that file is out of this repo.