Wav zu MP3
import os
command = f"ffmpeg -i {sys.argv[1]} -vn -ar 44100 -ac 2 -b:a 192k output.mp3"
os.system(command)
Qulx Qulx
import os
command = f"ffmpeg -i {sys.argv[1]} -vn -ar 44100 -ac 2 -b:a 192k output.mp3"
os.system(command)
sox -t wav -r 8000 -c 1 <wavfilename> -t mp3 <mp3filename>