]> git.sesse.net Git - ffmpeg/blob - doc/ffmpeg-scaler.texi
Merge commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6'
[ffmpeg] / doc / ffmpeg-scaler.texi
1 \input texinfo @c -*- texinfo -*-
2
3 @settitle FFmpeg Scaler Documentation
4 @titlepage
5 @center @titlefont{FFmpeg Scaler Documentation}
6 @end titlepage
7
8 @top
9
10 @contents
11
12 @chapter Description
13 @c man begin DESCRIPTION
14
15 The FFmpeg rescaler provides an high-level interface to the libswscale
16 library image conversion utilities. In particular it allows to perform
17 image rescaling and pixel format conversion.
18
19 @c man end DESCRIPTION
20
21 @chapter Scaler Options
22 @c man begin SCALER OPTIONS
23
24 The video scaler supports the following named options.
25
26 Options may be set by specifying -@var{option} @var{value} in the
27 FFmpeg tools. For programmatic use, they can be set explicitly in the
28 @code{SwsContext} options or through the @file{libavutil/opt.h} API.
29
30 @table @option
31
32 @item sws_flags
33 Set the scaler flags. This is also used to set the scaling
34 algorithm. Only a single algorithm should be selected.
35
36 It accepts the following values:
37 @table @samp
38 @item fast_bilinear
39 Select fast bilinear scaling algorithm.
40
41 @item bilinear
42 Select bilinear scaling algorithm.
43
44 @item bicubic
45 Select bicubic scaling algorithm.
46
47 @item experimental
48 Select experimental scaling algorithm.
49
50 @item neighbor
51 Select nearest neighbor rescaling algorithm.
52
53 @item area
54 Select averaging area rescaling algorithm.
55
56 @item bicubiclin
57 Select bicubic scaling algorithm for the luma component, bilinear for
58 chroma components.
59
60 @item gauss
61 Select Gaussian rescaling algorithm.
62
63 @item sinc
64 Select sinc rescaling algorithm.
65
66 @item lanczos
67 Select lanczos rescaling algorithm.
68
69 @item spline
70 Select natural bicubic spline rescaling algorithm.
71
72 @item print_info
73 Enable printing/debug logging.
74
75 @item accurate_rnd
76 Enable accurate rounding.
77
78 @item full_chroma_int
79 Enable full chroma interpolation.
80
81 @item full_chroma_inp
82 Select full chroma input.
83
84 @item bitexact
85 Enable bitexact output.
86 @end table
87
88 @item srcw
89 Set source width.
90
91 @item srch
92 Set source height.
93
94 @item dstw
95 Set destination width.
96
97 @item dsth
98 Set destination height.
99
100 @item src_format
101 Set source pixel format (must be expressed as an integer).
102
103 @item dst_format
104 Set destination pixel format (must be expressed as an integer).
105
106 @item src_range
107 Select source range.
108
109 @item dst_range
110 Select destination range.
111
112 @item param0, param1
113 Set scaling algorithm parameters. The specified values are specific of
114 some scaling algorithms and ignored by others. The specified values
115 are floating point number values.
116
117 @end table
118
119 @c man end SCALER OPTIONS
120
121 @ignore
122
123 @setfilename ffmpeg-scaler
124 @settitle FFmpeg video scaling and pixel format converter
125
126 @c man begin SEEALSO
127 ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libswscale(3)
128 @c man end
129
130 @c man begin AUTHORS
131 See Git history (git://source.ffmpeg.org/ffmpeg)
132 @c man end
133
134 @end ignore
135
136 @bye