Update ffmpeg detection error to be more clear

This commit is contained in:
Gabe Kangas 2023-03-16 12:36:28 -07:00
parent 78c865cb6c
commit ed5ba00f7b
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -241,7 +241,7 @@ func ValidatedFfmpegPath(ffmpegPath string) string {
cmd := exec.Command("which", "ffmpeg")
out, err := cmd.CombinedOutput()
if err != nil {
log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the admin or place a copy in the Owncast directory.")
log.Fatalln("Unable to locate ffmpeg. Either install it globally on your system or put the ffmpeg binary in the same directory as Owncast. The binary must be named ffmpeg.")
}
path := strings.TrimSpace(string(out))