From 74b55a50d43072be8241c1e174f85745fb0234be Mon Sep 17 00:00:00 2001 From: azlux Date: Mon, 4 Jun 2018 20:41:29 +0200 Subject: [PATCH] #2 Custom ffmpeg install --- mumbleBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mumbleBot.py b/mumbleBot.py index 26cca79..aec7e89 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -279,7 +279,7 @@ class MumbleBot: else: ffmpeg_debug = "warning" - command = ["/usr/bin/ffmpeg", '-v', ffmpeg_debug, '-nostdin', '-i', path, '-ac', '1', '-f', 's16le', '-ar', '48000', '-'] + command = ["/usr/bin/env ffmpeg", '-v', ffmpeg_debug, '-nostdin', '-i', path, '-ac', '1', '-f', 's16le', '-ar', '48000', '-'] self.thread = sp.Popen(command, stdout=sp.PIPE, bufsize=480) var.current_music[2] = title var.current_music[3] = path