Crop video
crop_videoCuts a video to a selected rectangular region using x,y coordinates for the top-left corner and width/height, discarding everything outside.
Instructions
Crop a rectangular region out of the video frame. x/y is the top-left corner of the region to keep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge of the crop region, in pixels | |
| y | Yes | Top edge of the crop region, in pixels | |
| width | Yes | Width of the crop region, in pixels | |
| height | Yes | Height of the crop region, in pixels | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |