# Class Pad (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.1 1.7.4 1.6.0 1.5.2 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.2.0 0.1.5

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

Pad filter configuration for the input video. The padded
input video is scaled after padding with black to match the
output resolution.

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