scale
Resize a video to a target width or height and re-encode it; set one dimension to preserve aspect ratio or both for an exact size.
Instructions
Resize a video to a target width and/or height and re-encode. Provide one side to keep the aspect ratio, or both to set an exact size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the source video. | |
| width | No | Target width in px. Omit to derive from height (keeps aspect). | |
| height | No | Target height in px. Omit to derive from width (keeps aspect). | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |