Resize video
resize_videoResize a video by setting width and height in pixels, or use a percentage scale. When only one dimension is given, the other adjusts to preserve the aspect ratio.
Instructions
Scale a video to a new resolution. Give width and/or height in pixels (the missing one keeps aspect ratio), or a scale percentage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Target width in pixels | |
| height | No | Target height in pixels | |
| percent | No | Scale by percentage instead (e.g. 50 = half size) | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |