VideoResolution#
- class nominal.experimental.video_processing.VideoResolution(resolution_width: int | None = None, resolution_height: int | None = None, allow_upscaling: bool = False)#
Bases:
objectWidth and height limits for video scaling, with optional upscaling.
- resolution_width: int | None = None#
Maximum width of the video, in pixels. Unbounded if None. NOTE: MUST be divisible by 2.
- resolution_height: int | None = None#
Maximum height of the video, in pixels. Unbounded if None. NOTE: MUST be divisible by 2.