diff --git a/internal/ffmpeg/helpers.go b/internal/ffmpeg/helpers.go index 30c3520d..56598fbf 100644 --- a/internal/ffmpeg/helpers.go +++ b/internal/ffmpeg/helpers.go @@ -6,7 +6,7 @@ import ( ) func TranscodeToJPEG(b []byte) ([]byte, error) { - cmd := exec.Command("ffmpeg", "-hide_banner", "-i", "-", "-f", "mjpeg", "-") + cmd := exec.Command(defaults["bin"], "-hide_banner", "-i", "-", "-f", "mjpeg", "-") cmd.Stdin = bytes.NewBuffer(b) return cmd.Output() }