Skip to content

Instantly share code, notes, and snippets.

@joyrexus
Last active January 3, 2016 08:49
Show Gist options
  • Select an option

  • Save joyrexus/8438369 to your computer and use it in GitHub Desktop.

Select an option

Save joyrexus/8438369 to your computer and use it in GitHub Desktop.
CLI for image/movie capture on OSX

wacaw is a command-line tool for capturing images and video (with sound) from connected cameras. It's a universal binary that works as long as the camera has a QuickTime digitizer component. It works on >= OSX 10.3.

Usage

wacaw [OPTIONS] FILE

See wacaw --help for details on options.

Examples

Capture a VGA-sized image and write to sample.tiff:

wacaw --tiff --VGA sample 

Same as previous, but copy image to the clipboard:

wacaw --to-clipboard --tiff --VGA sample

Capture a 30 second VGA-sized movie and write to sample.avi:

wacaw --video --duration 30 --VGA sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment