Forced libvorbis encoder

This commit is contained in:
Matthieu Grieger 2014-09-25 08:41:59 -07:00
parent 5360b64fe0
commit b957bf0371
2 changed files with 4 additions and 1 deletions

View file

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

View file

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