mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
* Fix WebVTT-in-MP4 output by starting the aux writer The ISOBMFF muxer advertises WebVTT as a supported subtitle codec and maps it to the wvtt sample entry, but IsobmffMuxer.start() never calls auxWriter.start(). The aux writer builds subtitle sample boxes in memory, so the first box write for any subtitle track hits its started === false assert and muxing fails. Start the aux writer alongside the main writer so WebVTT subtitle tracks can be written to MP4/MOV. * Move code around, add simple WebVTT muxing test --------- Co-authored-by: hikari <[email protected]> Co-authored-by: Vanilagy <[email protected]>