From b957bf03716b96e4a0c46e47c609b24915411ede Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Thu, 25 Sep 2014 08:41:59 -0700 Subject: [PATCH] Forced libvorbis encoder --- CHANGELOG.md | 3 +++ mumbledj/download_audio.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f73b189..55df933 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ MumbleDJ Changelog ================== +### September 25, 2014 +* Forced ffmpeg to use libvorbis codec. + ### September 23, 2014 * Bot now seems to be working! * Skipping songs works now. diff --git a/mumbledj/download_audio.py b/mumbledj/download_audio.py index 87b784d..06c92ce 100644 --- a/mumbledj/download_audio.py +++ b/mumbledj/download_audio.py @@ -30,7 +30,7 @@ except: while isfile('song.ogg.temp'): sleep(1) -system('ffmpeg -i song.ogg -ar 48000 -ac 1 -loglevel quiet -vol ' + str(volume) + ' song-converted.ogg -y') +system('ffmpeg -i song.ogg -codec:a libvorbis -ar 48000 -ac 1 -loglevel quiet -vol ' + str(volume) + ' song-converted.ogg -y') while not isfile('song-converted.ogg') and not isfile(".video_fail"): sleep(1)