FFmpeg 重缩放器为 libswscale 库图像转换实用程序，提供高级接口。 尤其，它允许履行图像重新缩放和像素格式转换。
Options may be set by specifying -
FFmpeg tools, with a few API-only exceptions noted below.
For programmatic use, they can be set explicitly in the
options or through the ‘
Set the scaler flags. This is also used to set the scaling algorithm. Only a single algorithm should be selected. Default value is ‘ bicubic ’.
It accepts the following values:
Select fast bilinear scaling algorithm.
Select bilinear scaling algorithm.
Select bicubic scaling algorithm.
Select experimental scaling algorithm.
Select nearest neighbor rescaling algorithm.
Select averaging area rescaling algorithm.
Select bicubic scaling algorithm for the luma component, bilinear for chroma components.
Select Gaussian rescaling algorithm.
Select sinc rescaling algorithm.
Select Lanczos rescaling algorithm. The default width (alpha) is 3 and can be
changed by setting
Select natural bicubic spline rescaling algorithm.
Enable printing/debug logging.
Enable accurate rounding.
Enable full chroma interpolation.
Select full chroma input.
Enable bitexact output.
Set source width.
Set source height.
Set destination width.
Set destination height.
Set source pixel format (must be expressed as an integer).
Set destination pixel format (must be expressed as an integer).
If value is set to
, indicates source is full range. Default value is
, which indicates source is limited range.
If value is set to
, enable full range for destination. Default value
, which enables limited range.
Set scaling algorithm parameters. The specified values are specific of some scaling algorithms and ignored by others. The specified values are floating point number values.
Set the dithering algorithm. Accepts one of the following values. Default value is ‘ auto ’.
error diffusion dither
arithmetic dither, based using addition
arithmetic dither, based using xor (more random/less apparent patterning that a_dither).
Set the alpha blending to use when the input has alpha but the output does not. Default value is ‘ none ’.
Blend onto a uniform background color
Blend onto a checkerboard
For details about the authorship, see the Git history of the project
(git://source.ffmpeg.org/ffmpeg), e.g. by typing the command
in the FFmpeg source directory, or browsing the
online repository at
Maintainers for the specific components are listed in the file ‘ MAINTAINERS ’ in the source code tree.