Convert any soundfile with python and ffmpeg

suggest change
from subprocess import check_call

ok = check_call(['ffmpeg','-i','input.mp3','output.wav'])
if ok:
    with open('output.wav', 'rb') as f:
        wav_file = f.read()

note:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents