Video Reframe
video_reframeCrops a video to a target aspect ratio (e.g. "9:16" vertical, "1:1" square, "4:5") around a focus point — for social clips. Takes the LARGEST crop of that aspect that fits, centered on focus (x,y in source pixels, top-left origin; default = center) and clamped to the frame. Audio passes through. Returns the output path + new dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | {x,y} center of interest in source pixels (top-left). Default: frame center. | |
| input | Yes | Path to the source video file. | |
| aspect | Yes | Target aspect "W:H", e.g. 9:16, 1:1, 4:5, 16:9. | |
| output | No | Default: <input>_<aspect>.mov. Missing parent folders are created. |