Class Pad (0.5.1)

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

NameDescription
top_pixelsint
The number of pixels to add to the top. The default is 0.
bottom_pixelsint
The number of pixels to add to the bottom. The default is 0.
left_pixelsint
The number of pixels to add to the left. The default is 0.
right_pixelsint
The number of pixels to add to the right. The default is 0.