Browse Source

Update ffmpeg detection error to be more clear

pull/2841/head
Gabe Kangas 3 years ago
parent
commit
ed5ba00f7b
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      utils/utils.go

2
utils/utils.go

@ -241,7 +241,7 @@ func ValidatedFfmpegPath(ffmpegPath string) string { @@ -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))

Loading…
Cancel
Save