crop
Extract a specified pixel rectangle from a video and re-encode it; rectangles that extend beyond the source frame are rejected.
Instructions
Crop a video to a pixel rectangle (x, y, width, height) and re-encode. A rectangle that runs off the source frame is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge of the crop in pixels. | |
| y | Yes | Top edge of the crop in pixels. | |
| input | Yes | Path to the source video. | |
| width | Yes | Crop width in pixels. | |
| height | Yes | Crop height in pixels. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |