Crop video
crop_videoCrop a video to a rectangular region by specifying the top-left corner (x, y) and dimensions (width, height). Removes all content outside the selected area.
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 |