mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* fix(engine): bound the seek-index rebuild copy to a single mov/mp4 source The seek-index rebuild now runs only for a source ffprobe reads as one mov/mp4 file, and reads it with the mov demuxer, so a playlist or list input is never copied. The copy is capped with -fs at twice the source's size plus 1 MiB; a copy that reaches the cap is removed and extraction continues as it does without a rebuild. The copy also waits for an extraction slot like other ffmpeg work. * fix(engine): remove the seek-index copy folder when the copy throws The stream copy now runs in try/finally, so its temp folder is removed whenever the copy is not kept, including when ffmpeg fails to start.