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

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))