Subprocess

From Yefu's notes
Jump to: navigation, search
import subprocess

        cmd="ffmpeg -i \""+original+"\" -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 \""+newname+"\""
        print(cmd)
        subprocess.call(cmd, shell=True)