Fmp4Splitter cuts ftyp+moov into the sticky init and moof+mdat into frames, reading sync samples from trun/tfhd/trex flags so fragments shorter than a GOP still mark where late joiners may start. Codec strings come from the sample entries. MediaSplitter sniffs WebM vs fMP4; the CLI's new `live video` uses it (`live webm` stays as the pinned form). Verified: 9 new tests on real ffmpeg output; H.264/AAC live in headless Chromium (49/49 fragments appended, late join, 3.2 s latency) and a sealed H.264 film seeking to 24 s. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
7.4 KiB
7.4 KiB