(family: LinuxDistroFamily)
| 196 | * on every family we support). |
| 197 | */ |
| 198 | export function ffmpegInstallCommand(family: LinuxDistroFamily): string { |
| 199 | if (family === "unknown") { |
| 200 | return "Install ffmpeg (which includes ffprobe) via your distro package manager, then re-run."; |
| 201 | } |
| 202 | return `${INSTALL_PREFIX[family]} ffmpeg`; |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Human-readable environment label for a detected distro — "WSL" when running |
no outgoing calls
no test coverage detected