MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / getFFmpegInstallHint

Function getFFmpegInstallHint

packages/cli/src/browser/ffmpeg.ts:62–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62export function getFFmpegInstallHint(): string {
63 switch (process.platform) {
64 case "darwin":
65 return "brew install ffmpeg";
66 case "linux": {
67 // Distro-aware so WSL/Fedora/Arch/Alpine users get a command that
68 // actually works instead of a Debian-only `apt` line.
69 const distro = detectLinuxDistro();
70 return ffmpegInstallCommand(distro.family);
71 }
72 case "win32":
73 return "Download the 64-bit Windows build from https://ffmpeg.org/download.html#build-windows and add its bin/ directory to PATH.";
74 default:
75 return "https://ffmpeg.org/download.html";
76 }
77}

Callers 8

checkFFmpegFunction · 0.85
checkFFprobeFunction · 0.85
handleVideoFileFunction · 0.85
renderFunction · 0.85
extractAudioFunction · 0.85
prepareAudioFunction · 0.85
transcribeFunction · 0.85
createStudioServerFunction · 0.85

Calls 2

detectLinuxDistroFunction · 0.85
ffmpegInstallCommandFunction · 0.85

Tested by

no test coverage detected