(command)
| 29 | const exportJobs = new Map(); |
| 30 | |
| 31 | function ffToolInfo(command) { |
| 32 | const executable = String(command).split(/[\\/]/).pop().toLowerCase(); |
| 33 | if (executable.startsWith("ffprobe")) return { name: "FFprobe", env: "FFPROBE_PATH" }; |
| 34 | if (executable.startsWith("ffmpeg")) return { name: "FFmpeg", env: "FFMPEG_PATH" }; |
| 35 | return null; |
| 36 | } |
| 37 | |
| 38 | function explainMissingTool(error, command) { |
| 39 | if (error.code !== "ENOENT") return error.message; |
no outgoing calls
no test coverage detected