mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
* fix(media-use): carve decodes only media files inside the composition's folder carve.mjs resolved each media src from the composition and handed the result to ffmpeg, so an absolute, climbing, UNC or linked name reached a file outside the project, and a playlist inside the project was followed to the files it lists. Each src must now be a relative name that lands on a regular file inside the composition's folder after links are resolved, outside the files the project keeps private, and free of ffmpeg pattern characters. Every source is checked before any is decoded. ffmpeg then reads the one file, pinned to its probed format and the file protocol, and a list or playlist format is refused. The probe and the pinned input move from recording.mjs into lib/media-input.mjs so both scripts share them. The private-path rule and the image2 pattern guard are bundled into audio-carve.mjs from packages/parsers. * fix(media-use): media-input.mjs loads the Windows program guard first Every skill script that starts programs imports windows-exe-search.mjs before anything else, so ffprobe and ffmpeg are never looked up in the working directory on Windows.