1FFMPEG-SCALER(1)                                              FFMPEG-SCALER(1)
2
3
4

NAME

6       ffmpeg-scaler - FFmpeg video scaling and pixel format converter
7

DESCRIPTION

9       The FFmpeg rescaler provides a high-level interface to the libswscale
10       library image conversion utilities. In particular it allows one to
11       perform image rescaling and pixel format conversion.
12

SCALER OPTIONS

14       The video scaler supports the following named options.
15
16       Options may be set by specifying -option value in the FFmpeg tools,
17       with a few API-only exceptions noted below.  For programmatic use, they
18       can be set explicitly in the "SwsContext" options or through the
19       libavutil/opt.h API.
20
21       sws_flags
22           Set the scaler flags. This is also used to set the scaling
23           algorithm. Only a single algorithm should be selected. Default
24           value is bicubic.
25
26           It accepts the following values:
27
28           fast_bilinear
29               Select fast bilinear scaling algorithm.
30
31           bilinear
32               Select bilinear scaling algorithm.
33
34           bicubic
35               Select bicubic scaling algorithm.
36
37           experimental
38               Select experimental scaling algorithm.
39
40           neighbor
41               Select nearest neighbor rescaling algorithm.
42
43           area
44               Select averaging area rescaling algorithm.
45
46           bicublin
47               Select bicubic scaling algorithm for the luma component,
48               bilinear for chroma components.
49
50           gauss
51               Select Gaussian rescaling algorithm.
52
53           sinc
54               Select sinc rescaling algorithm.
55
56           lanczos
57               Select Lanczos rescaling algorithm. The default width (alpha)
58               is 3 and can be changed by setting "param0".
59
60           spline
61               Select natural bicubic spline rescaling algorithm.
62
63           print_info
64               Enable printing/debug logging.
65
66           accurate_rnd
67               Enable accurate rounding.
68
69           full_chroma_int
70               Enable full chroma interpolation.
71
72           full_chroma_inp
73               Select full chroma input.
74
75           bitexact
76               Enable bitexact output.
77
78       srcw (API only)
79           Set source width.
80
81       srch (API only)
82           Set source height.
83
84       dstw (API only)
85           Set destination width.
86
87       dsth (API only)
88           Set destination height.
89
90       src_format (API only)
91           Set source pixel format (must be expressed as an integer).
92
93       dst_format (API only)
94           Set destination pixel format (must be expressed as an integer).
95
96       src_range (boolean)
97           If value is set to 1, indicates source is full range. Default value
98           is 0, which indicates source is limited range.
99
100       dst_range (boolean)
101           If value is set to 1, enable full range for destination. Default
102           value is 0, which enables limited range.
103
104       param0, param1
105           Set scaling algorithm parameters. The specified values are specific
106           of some scaling algorithms and ignored by others. The specified
107           values are floating point number values.
108
109       sws_dither
110           Set the dithering algorithm. Accepts one of the following values.
111           Default value is auto.
112
113           auto
114               automatic choice
115
116           none
117               no dithering
118
119           bayer
120               bayer dither
121
122           ed  error diffusion dither
123
124           a_dither
125               arithmetic dither, based using addition
126
127           x_dither
128               arithmetic dither, based using xor (more random/less apparent
129               patterning that a_dither).
130
131       alphablend
132           Set the alpha blending to use when the input has alpha but the
133           output does not.  Default value is none.
134
135           uniform_color
136               Blend onto a uniform background color
137
138           checkerboard
139               Blend onto a checkerboard
140
141           none
142               No blending
143

SEE ALSO

145       ffmpeg(1), ffplay(1), ffprobe(1), libswscale(3)
146

AUTHORS

148       The FFmpeg developers.
149
150       For details about the authorship, see the Git history of the project
151       (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command git log in
152       the FFmpeg source directory, or browsing the online repository at
153       <http://source.ffmpeg.org>.
154
155       Maintainers for the specific components are listed in the file
156       MAINTAINERS in the source code tree.
157
158
159
160                                                              FFMPEG-SCALER(1)
Impressum