Skip to content

Instantly share code, notes, and snippets.

@rey
Last active December 23, 2015 08:19
Show Gist options
  • Save rey/6606468 to your computer and use it in GitHub Desktop.
Save rey/6606468 to your computer and use it in GitHub Desktop.
[grab]
device = /dev/video0
driver = libv4l
text = %Y-%m-%d %H:%M:%S
fg_red = 255
fg_green = 255
fg_blue = 255
width = 320
height = 240
delay = 5
wait = 0
rotate = 0
top = 0
left = 0
bottom = -1
right = -1
quality = 100
trigger = 100
once = 0
archive = /home/username/webcam/%Y/%m/%d/cam1-%Y-%m-%d-%H:%M:%S.jpg
[ftp]
host = your.server.com
user = your-username
dir = /home/username/web/public/cam/
file = capture.jpg
tmp = temp.jpg
passive = 1
debug = 3
auto = 0
local = 0
ssh = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment