resize_video
Resize videos to custom dimensions. Provide width, height, or only one; missing value is auto-computed to preserve aspect ratio.
Instructions
Resize a video to new dimensions. Provide width, height, or both. Omitted dimension is computed automatically to preserve aspect ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Output width in pixels. Omit to scale proportionally from height. | |
| height | No | Output height in pixels. Omit to scale proportionally from width. | |
| file_path | Yes | Absolute path to the input video file | |
| output_path | No | Absolute path for the output file. Defaults to same directory with '_resized' suffix. |