Skip to content

Instantly share code, notes, and snippets.

@Yardanico Yardanico/lol.nim
Created Dec 27, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.