Revision 931b832a
doc/libavfilter.texi | ||
---|---|---|
110 | 110 |
|
111 | 111 |
@section crop |
112 | 112 |
|
113 |
Crop the input video to x:y:width:height.
|
|
113 |
Crop the input video to @var{x}:@var{y}:@var{width}:@var{height}.
|
|
114 | 114 |
|
115 | 115 |
@example |
116 | 116 |
./ffmpeg -i in.avi -vfilters "crop=0:0:0:240" out.avi |
117 | 117 |
@end example |
118 | 118 |
|
119 |
``x'' and ``y'' specify the position of the top-left corner of the
|
|
119 |
@var{x} and @var{y} specify the position of the top-left corner of the
|
|
120 | 120 |
output (non-cropped) area. |
121 | 121 |
|
122 |
The default value of ``x'' and ``y'' is 0.
|
|
122 |
The default value of @var{x} and @var{y} is 0.
|
|
123 | 123 |
|
124 |
The ``width'' and ``height'' parameters specify the width and height
|
|
124 |
The @var{width} and @var{height} parameters specify the width and height
|
|
125 | 125 |
of the output (non-cropped) area. |
126 | 126 |
|
127 | 127 |
A value of 0 is interpreted as the maximum possible size contained in |
... | ... | |
137 | 137 |
100:100 and the right-bottom corner corresponding to the right-bottom |
138 | 138 |
corner of the input image. |
139 | 139 |
|
140 |
The default value of ``width'' and ``height'' is 0.
|
|
140 |
The default value of @var{width} and @var{height} is 0.
|
|
141 | 141 |
|
142 | 142 |
@section format |
143 | 143 |
|
... | ... | |
179 | 179 |
|
180 | 180 |
@section scale |
181 | 181 |
|
182 |
Scale the input video to width:height and/or convert the image format.
|
|
182 |
Scale the input video to @var{width}:@var{height} and/or convert the image format.
|
|
183 | 183 |
|
184 | 184 |
For example the command: |
185 | 185 |
|
... | ... | |
193 | 193 |
the next filter, the scale filter will convert the input to the |
194 | 194 |
requested format. |
195 | 195 |
|
196 |
If the value for ``width'' or ``height'' is 0, the respective input
|
|
196 |
If the value for @var{width} or @var{height} is 0, the respective input
|
|
197 | 197 |
size is used for the output. |
198 | 198 |
|
199 |
If the value for ``width'' or ``height'' is -1, the scale filter will
|
|
199 |
If the value for @var{width} or @var{height} is -1, the scale filter will
|
|
200 | 200 |
use, for the respective output size, a value that maintains the aspect |
201 | 201 |
ratio of the input image. |
202 | 202 |
|
203 |
The default value of ``width'' and ``height'' is 0.
|
|
203 |
The default value of @var{width} and @var{height} is 0.
|
|
204 | 204 |
|
205 | 205 |
@section slicify |
206 | 206 |
|
... | ... | |
288 | 288 |
template and to be employed in analysis / debugging tools. |
289 | 289 |
|
290 | 290 |
It accepts as optional parameter a string of the form |
291 |
``width:height'', where ``width'' and ``height'' specify the size of
|
|
291 |
@var{width}:@var{height}, where @var{width} and @var{height} specify the size of
|
|
292 | 292 |
the configured source. |
293 | 293 |
|
294 |
The default values of ``width'' and ``height'' are respectively 352
|
|
294 |
The default values of @var{width} and @var{height} are respectively 352
|
|
295 | 295 |
and 288 (corresponding to the CIF size format). |
296 | 296 |
|
297 | 297 |
@chapter Available video sinks |
Also available in: Unified diff