From 2049d33e0c6f53dde7f3f34bc63dee410aca016c Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 16 Jan 2021 17:26:35 -0800 Subject: [PATCH] Check error when reading ffmpeg version string --- config/verifyInstall.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/verifyInstall.go b/config/verifyInstall.go index 1ae6c849f..90bbce312 100644 --- a/config/verifyInstall.go +++ b/config/verifyInstall.go @@ -36,6 +36,9 @@ func verifyFFMpegPath(path string) error { cmd := exec.Command(path) out, err := cmd.CombinedOutput() + if err != nil { + return fmt.Errorf("unable to determine the version of your ffmpeg installation at %s. you may experience issues with video.", path) + } response := string(out) if response == "" {