Silenced ffmpeg output
This commit is contained in:
parent
389fe7e765
commit
48e4eea70a
|
@ -30,11 +30,10 @@ except:
|
||||||
while isfile('song.ogg.temp'):
|
while isfile('song.ogg.temp'):
|
||||||
sleep(1)
|
sleep(1)
|
||||||
|
|
||||||
system('ffmpeg -i song.ogg -ar 48000 -ac 1 -vol ' + str(volume) + ' song-converted.ogg -y')
|
system('ffmpeg -i song.ogg -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)
|
||||||
|
|
||||||
remove('song.ogg')
|
remove('song.ogg')
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue