I am trying to extract a .wav file from a .mp4 file using the following code:
import subprocess
import ffmpeg
command = "ffmpeg -i afoomtx.mp4 -ab 160k -ac 2 -ar 44100 -vn audio.wav"
subprocess.call(command, shell=True)
The only output I get is 127
. What am I doing wrong?