# Class Crop (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.2 1.14.0 1.13.1 1.12.5 1.11.0 1.10.1 1.9.1 1.8.2 1.7.0 1.6.1 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.1 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

    Crop(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Video cropping configuration for the input video. The cropped
input video is scaled to match the output resolution.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `top_pixels` | `int` The number of pixels to crop from the top. The default is 0. |
| `bottom_pixels` | `int` The number of pixels to crop from the bottom. The default is 0. |
| `left_pixels` | `int` The number of pixels to crop from the left. The default is 0. |
| `right_pixels` | `int` The number of pixels to crop from the right. The default is 0. |