User:Manetta/scripts/ffmpeg-video-to-image

From XPUB & Lens-Based wiki
import os

x = "ffmpeg -i ./imgs/2001.mp4 -f image2 -r .1 -an -y ./imgs/%04d.jpg"
print x
os.system(x)