forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on fbc29d12fa2e194b105dd2344342fc50da4e90cdFiltered to vendor/mp4/src/reader.rsClear filter

2026-09-06

🐛 fix(engine): a QuickTime .mov keeps its AAC — read v1/v2 sound descriptionsAhmet Kaan Gümüş · 7fbbd0f
🐛 fix(engine): a QuickTime .mov keeps its AAC — read v1/v2 sound descriptions

A Resolve export (qt brand) opened with no sound: mp4 0.14
reads the mp4a sample entry as ISO only, skipping the 8 bytes QuickTime
uses for version/revision/vendor, so a version-1 SoundDescription's
16-byte tail was taken for the first child box and the wave-wrapped esds
behind it never seen -- "trak[2].stbl.esds not found", and with it every
Resolve / Final Cut / `ffmpeg -f mov` file. Vendored mp4 0.14 under
vendor/mp4 (patch table entry, workspace exclude): Mp4aBox::read_box now
reads the version, skips the v1 tail or takes rate/channels from the v2
block, and finds the esds directly or inside `wave`; the crate's ten
lint warnings cleaned with it. New fixture assets/test_qt.mov (ffmpeg -f
mov, same 440/880 tone) and a test in audio_decode that fails on stock
0.14 and passes here.

Verified in the harness on a Resolve export: opens with picture and waveform,
plays (sink RMS -26.9 dBFS), seeks to 00:10 and plays the right audio
(captured peak -11.109 dBFS = source's own). Workspace suite 981/987;
the six failures are five load flakes that pass serially and one
pre-existing failure on clean main (audio_multi layout refusal), logged.