Capture both still pictures and video from an attached camera. More information: https://webcam-tools.sourceforge.net.
wacaw filename
wacaw --video filename --duration 10
wacaw --width width --height 100 filename
wacaw --to-clipboard
wacaw --list-devices