# Crop Video

This node crops a video to a rectangular region defined in pixels, keeping only the area inside that rectangle. It saves a temporary MP4 preview of the cropped result and outputs the cropped video.

## Inputs

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `video` | The source video that will be cropped. | VIDEO | Yes | Any video |
| `crop` | Crop region in pixels. Zero width/height keeps the full frame. The crop rectangle provides `x`, `y`, `width`, and `height` values, all with a default of 0. | VIDEO_EDIT | Yes | `x` ≥ 0<br>`y` ≥ 0<br>`width` ≥ 0<br>`height` ≥ 0<br>All values default to 0 |

Note: The crop region is described in pixel coordinates. When the width and height are 0, no cropping is applied and the node outputs the full input video.

## Outputs

| Output Name | Description | Data Type |
|-------------|-------------|-----------|
| `video` | The video cropped to the selected rectangular region. When the crop width and height are 0, the output is the full input video. The cropped result is also saved as a temporary MP4 file and shown as a video preview. | VIDEO |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/VideoCrop/en.md)

---
**Source fingerprint (SHA-256):** `0c4ebd51027669fc232fe42a5e8840b5e4e95083b6794cd7b4c43123ddc0341b`
