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 widthxheight filename
- Take a picture from selected device(Default is
/dev/video0):
fswebcam -d device filename
- Take a picture with timestamp(timestamp string is formatted by strftime):
fswebcam --timestamp timestamp filename