mirror of
https://github.com/CapsAdmin/wowozela.git
synced 2025-03-03 19:03:15 -05:00
Fix #11
This commit is contained in:
parent
9d51cac158
commit
2fa18f41dd
15
convert.py
Normal file
15
convert.py
Normal file
@ -0,0 +1,15 @@
|
||||
import ffmpeg
|
||||
import sys
|
||||
import time
|
||||
import os
|
||||
import os.path
|
||||
file_paths = sys.argv[1:]
|
||||
|
||||
for p in file_paths:
|
||||
name = os.path.basename(p)
|
||||
name = os.path.splitext(name)[0]
|
||||
stream = ffmpeg.input(p)
|
||||
stream = ffmpeg.output(stream, name + "_Output.ogg", acodec="libvorbis", audio_bitrate="80k")
|
||||
ffmpeg.run(stream)
|
||||
|
||||
time.sleep(7)
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user