live-streamer/utils/has_ffmpeg.go
2024-10-29 17:11:14 +08:00

9 lines
113 B
Go
Executable File

package utils
import "os/exec"
func HasFFmpeg() bool {
_, err := exec.LookPath("ffmpeg")
return err == nil
}