Record a display, window, or app to a file — the full capture → hardware-encode → mux pipeline.
- --out <path>
- Output file — required. .mp4 (h264/hevc) or .mov (prores).
- --display / --window / --app
- What to capture (id / window id / bundle id). A window or an app records that window at its native resolution, cropped to it, following it as it moves or is resized.
- --duration <s>
- Length in seconds (default 10). Recording is unlimited on Free — processed exports carry a small watermark.
- --fps / --width / --height
- Frame rate (60) and output size. Size defaults to the display's own native resolution — a 4K screen records as 4K. Give one of --width/--height and the other follows the source's aspect ratio.
- --codec <c>
- h264 (default) · hevc · prores.
- --crop "x,y,w,h"
- Capture only a sub-rect of the source.
- --mask-bg <backend>
- Remove the background after recording (vision / onnx).
- --system-audio / --mic
- Add audio (mixed into one track).
- --system-audio-gain / --mic-gain
- Balance the mix, 0.0–2.0.
- --record-cursor / --record-keys
- Write sidecars for Studio zoom / keystrokes. --record-keys needs Accessibility, so it stays empty in the App Store build.
- --hide-cursor / --delay <s>
- Cursor-free recording · self-timer countdown before start.