Forced libvorbis encoder
This commit is contained in:
parent
5360b64fe0
commit
b957bf0371
|
@ -1,6 +1,9 @@
|
||||||
MumbleDJ Changelog
|
MumbleDJ Changelog
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
### September 25, 2014
|
||||||
|
* Forced ffmpeg to use libvorbis codec.
|
||||||
|
|
||||||
### September 23, 2014
|
### September 23, 2014
|
||||||
* Bot now seems to be working!
|
* Bot now seems to be working!
|
||||||
* Skipping songs works now.
|
* Skipping songs works now.
|
||||||
|
|
|
@ -30,7 +30,7 @@ except:
|
||||||
while isfile('song.ogg.temp'):
|
while isfile('song.ogg.temp'):
|
||||||
sleep(1)
|
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"):
|
while not isfile('song-converted.ogg') and not isfile(".video_fail"):
|
||||||
sleep(1)
|
sleep(1)
|
||||||
|
|
Reference in a new issue