View Single Post
Old 15th February 2019, 10:50   #273  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
See documentation about "resample" "sx", "sy", "sw", "sh" parameters.

Quote:
sx, sy

Coordinate of the top-left corner of the picture sub-area used as source for the resizing. They can be fractional. If negative, the picture is extended by replicating the left pixel column.

These parameters are arrays, so it’s possible to specify a different value for each plane. The last value is used for the unspecified planes. The coordinates are always related to the pixel dimensions, you don’t need to scale them with the chroma subsampling.

sw, sh

Size in pixels of the sub-area to resize. They can be fractional. If 0, the area has the same size as the source clip. If negative, they define coordinates relative to the bottom-right corner, in a Crop-like manner. These parameters are arrays like sx and sy.
sneaker_ger is offline   Reply With Quote