Merge pull request #237 from Like-all/master

Webcam utils
waldyrious/alt-syntax
Romain Prieto 2014-09-13 09:15:19 +10:00
commit 8f2c9b8522
2 changed files with 42 additions and 0 deletions

19
pages/common/fswebcam.md Normal file
View File

@ -0,0 +1,19 @@
#FSWEBCAM
> small and simple webcam for *nix
- Take a picture
`fswebcam {{filename}}`
- Take a picture with custom resolution
`fswebcam -r {{width}}x{{height}} {{filename}}`
- Take a picture from selected device(Default is /dev/vidoe0)
`fswebcam -d {{device}} {{filename}}`
- Take a picture with timestamp(timestamp string is formatted by strftime)
`fswebcam --timestamp {{timestamp}} {{filename}}`

23
pages/osx/wacaw.md Normal file
View File

@ -0,0 +1,23 @@
#WACAW
> a little command-line tool for Mac OS X that allows you to capture both still pictures and video from an attached camera.
- Take a picture from webcam
`wacaw {{filename}}`
- Record a video
`wacaw --video {{filename}} -D {{duration_in_seconds}}`
- Take a picture with custom resolution
`wacaw -x {{width}} -y {{height}} {{filename}}`
- Copy image just taken to clipboard
`wacaw --to-clipboard`
- List the devices available
`wacaw -L`