The FFmpeg rescaler provides a high-level interface to the libswscale library image conversion utilities. In particular it allows one to perform image rescaling and pixel format conversion.
The video scaler supports the following named options.
Options may be set by specifying -option value in the
FFmpeg tools. For programmatic use, they can be set explicitly in the
SwsContext options or through the ‘libavutil/opt.h’ API.
Set the scaler flags. This is also used to set the scaling algorithm. Only a single algorithm should be selected.
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.
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).
Select source range.
Select destination 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
The FFmpeg developers.
For details about the authorship, see the Git history of the project
(git://source.ffmpeg.org/ffmpeg), e.g. by typing the command
git log in the FFmpeg source directory, or browsing the
online repository at http://source.ffmpeg.org.
Maintainers for the specific components are listed in the file ‘MAINTAINERS’ in the source code tree.