webcam utils
This commit is contained in:
19
pages/common/fswebcam.md
Normal file
19
pages/common/fswebcam.md
Normal 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
23
pages/osx/wacaw.md
Normal 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`
|
Reference in New Issue
Block a user