I am trying to run ffmpeg application from python.I am using the following code to execute the application
import subprocess
subprocess.call(['C:/ffmpeg/bin/ffmpeg.exe'])
by this command the application is getting executed. could somebody tell me how can i pass commands to the application, i tried
subprocess.call(['C:/ffmpeg/bin/ffmpeg.exe','ffmpeg -i 2.mp4 -vn -ab 128 outputaudio.mp3'])
but its not working.