Created
December 27, 2017 18:34
-
-
Save Yardanico/c8574960c83e7ff9633378c12f3acfc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import osproc | |
let komande = ["-f", "video4linux2", "-s 640x480", "-i /dev/video0", "-ss 0:0:2", "-frames 1" , "/tmp/out.jpg"] | |
let process = startProcess("ffmpeg", "", komande) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment