virtualxdemo/fmvdemo.py

5 lines
193 B
Python

bashcommand = "ffplay -autoexit -window_title FMV-demo fish.ogv"
import subprocess
process = subprocess.Popen(bashcommand.split(), stdout=subprocess.PIPE)
output, error = process.communicate()