redact_region
Covers specified rectangular areas in a video to hide on-screen secrets, using an irreversible solid box by default. Define each region; automatic secret detection is not included.
Instructions
Redact declared rectangles in a video so secrets on screen are covered. This covers regions you specify; it is NOT automatic secret detection. The default style is a solid box, which is irreversible (a blur or mosaic can be partially recovered). A region that falls outside the frame is rejected rather than silently doing nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pad | No | Optional pixels to expand each region by, to cover anti-aliased edges (default 0). | |
| color | No | Fill color for box style (default black). | |
| input | Yes | Path to the source video. | |
| style | No | box (default) draws an irreversible solid fill; blur and pixelate are softer but partially recoverable. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| regions | Yes | One or more rectangles to redact. Each may be limited to a time window. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |