Wacaw
Wacaw: Mac Webcam Capture Tool
Wacaw is a command-line utility for macOS that empowers users to capture both still images and video from attached cameras. It provides a straightforward and efficient way to interact with your webcam directly from the terminal.
Key Features and Usage
This tool is designed for developers and power users who prefer terminal-based operations. Below are common usage examples:
Capture a Picture
To take a single picture from your default webcam and save it to a file:
wacaw filename
Record Video
To record a video clip for a specified duration:
wacaw --video filename -D duration_in_seconds
Replace duration_in_seconds with the desired length of the video recording.
Custom Resolution Capture
You can specify the width and height for image captures:
wacaw -x width -y height filename
Adjust width and height to your preferred resolution.
Copy Image to Clipboard
After taking a picture, you can directly copy it to your clipboard:
wacaw --to-clipboard
List Available Devices
To see a list of all connected camera devices recognized by Wacaw:
wacaw -L
External Resources
- Apple AVFoundation Documentation - For understanding camera and media capture on macOS.
- Wacaw GitHub Repository - The official source for the tool's code and further development.
- Using Terminal to Take Photos with Webcam on Mac - A guide on utilizing command-line tools for webcam captures.