mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
604 B
Plaintext
26 lines
604 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fswebcam
|
|
|
|
> Small and simple webcam for *nix.
|
|
> More information: <https://www.sanslogic.co.uk/fswebcam/>.
|
|
|
|
- Take a picture:
|
|
|
|
`fswebcam {{filename}}`
|
|
|
|
- Take a picture with custom resolution:
|
|
|
|
`fswebcam {{[-r|--resolution]}} {{width}}x{{height}} {{filename}}`
|
|
|
|
- Take a picture from selected device(Default is `/dev/video0`):
|
|
|
|
`fswebcam {{[-d|--device]}} {{device}} {{filename}}`
|
|
|
|
- Take a picture with timestamp(timestamp string is formatted by strftime):
|
|
|
|
`fswebcam --timestamp {{timestamp}} {{filename}}`
|