video_resize
Resize videos or adjust aspect ratios for different platforms using width/height parameters or preset ratios like 16:9, 9:16, or 1:1.
Instructions
Resize a video or change its aspect ratio.
Args: input_path: Absolute path to the input video. width: Target width in pixels. Use with height. height: Target height in pixels. Use with width. aspect_ratio: Preset aspect ratio (16:9, 9:16, 1:1, 4:3, 4:5, 21:9). Overrides width/height. quality: Quality preset (low, medium, high, ultra). output_path: Where to save the output. Auto-generated if omitted.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| width | No | ||
| height | No | ||
| aspect_ratio | No | ||
| quality | No | high | |
| output_path | No |