crop: object
Default value:
undefined
Option to crop the video by defining a rectangular area within the dimensions of the output video. When simultaneously downscaling the input video (by setting the resolution
parameter to a value different from "keep"
), the cropping region will apply to an output video, having potentially different (smaller) resolution than the input video. We will not automatically scale the cropping region alongside the input video video.
x: number
Default value:
undefined
Horizontal coordinate value of upper-left corner of the cropping area.
y: number
Default value:
undefined
Vertical coordinate value of upper-left corner of the cropping area.
width: number
Default value:
undefined
Width of the cropping area in pixels.
height: number
Default value:
undefined
Height of the cropping area in pixels.