live-streamer/utils/has_ffmpeg.go

9 lines
113 B
Go
Raw Normal View History

2024-10-22 16:39:10 -04:00
package utils
import "os/exec"
func HasFFMPEG() bool {
_, err := exec.LookPath("ffmpeg")
return err == nil
}