edith_codecs
Clone
0 watching0 forksRust370.3 MiB7947774Tahinli1 month ago3899 commits
Edith findings relevant to edith_codecs — 2026-09-19
From a four-bug fix batch in edith (user-reported import/audio/export defects). Verdict from all three investigations: no ec- codec crate is defective.* The bugs were edith-side: extension routing, audio-session state, VA-API plugin NAL framing, container metadata. ec-h264 and ec-aac decoded every test input correctly (sink output matched ffmpeg volume to 0.1 dB).
Knowledge items (not bugs, no action required)
-
ec-mp4 does not read the tkhd display matrix (
crates/ec-mp4/src/demux.rs,b"tkhd"arm inread_trak, ~line 326 reads only the trailing display size). edith worked around this by reading the matrix through the vendoredmp4crate. If ec-mp4 should know rotation, the change is additive: parse the 3x3 matrix in the tkhd arm and surface arotationfield onec_core::registry::StreamInfo(~14 literal sites). Deferred — cross-repo public-API change, no consumer needs it today. -
edith builds symphonia's mp3 bundle without
mp1/mp2features, so MPEG audio layer I/II files are refused ("unsupported audio codec"). This is an edith Cargo-feature question, not an ec-* matter; noted here only because it is the one audio-codec gap found during the batch.
Context (what was fixed in edith)
.mpeg/.mpg(mp3 with embedded cover) now routes to the audio import path.- Timeline audio no longer pins to the first imported source; a sounding file can join a session that started silent (add/remove/add sequence fixed).
- VA-API plugin (
crates/engine-hw) no longer dies on H.264 samples with trailingcabac_zero_wordzero bytes (Android MediaCodec output); export falls back to ec-h264 software decode if hw fails before the first frame. - 90°/180°/270° display-matrix rotation is now honored in preview and export (baked into pixels); other angles refused by name.