#2 Custom ffmpeg install

This commit is contained in:
azlux 2018-06-04 20:41:29 +02:00 committed by GitHub
parent 65f07678aa
commit 74b55a50d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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