mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 13:58:20 +00:00
The CLI had its own ffmpeg PATH resolver in packages/cli/src/browser/ffmpeg.ts, separate from the engine resolver that already preferred spawnable Windows binaries. Its results feed spawn/execFileSync without shell:true in snapshot.ts, transcribe.ts, and background-removal/pipeline.ts, so a .cmd/.bat shim ahead of ffmpeg.exe on Windows PATH still caused spawn EINVAL there. Converges both resolvers on the engine's shared selectBinaryFromPathResults (now re-exported from the engine package root) instead of duplicating the selection logic a third time.