HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fswebcam — Small and simple webcam for *nix. More information: <https://www.sanslogic.co.uk/fswebcam/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simplecommandwebcamandclismallforfswebcam

Problem

How to use the fswebcam command: Small and simple webcam for *nix. More information: <https://www.sanslogic.co.uk/fswebcam/>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/fswebcam

Revisions (0)

No revisions yet.