Very dumb question but I've always pondered on how to simply turn something like this:
ffmpeg -i input.mp3 output.wav
into a function I can write in a custom .py script like this:
in = input.mp3
out = output.wav
def conv(in, out)
return ffmpeg(in,out)
(above script makes 0 sense I am aware, but I hope you understand my question)
Is it always dependent on the package itself, or is there a universal way to do this?