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

From XPUB & Lens-Based wiki
< User:Manetta
Revision as of 12:14, 24 March 2015 by Manetta (talk | contribs) (Created page with "<source lang="python"> import os x = "ffmpeg -i ./imgs/2001.mp4 -f image2 -r .1 -an -y ./imgs/%04d.jpg" print x os.system(x) </source>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
import os

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