mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 07:35:24 +02:00
webcam utils
This commit is contained in:
parent
65dc09a67c
commit
f48efad4de
2 changed files with 42 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue