Revision e40032e2 doc/filters.texi

View differences:

doc/filters.texi
190 190
"crop=in_w/2:in_h/2:y:10+10*sin(n/10)"
191 191
@end example
192 192

  
193
@section drawbox
194

  
195
Draw a colored box on the input image.
196

  
197
It accepts the syntax:
198
@example
199
drawbox=@var{x}:@var{y}:@var{width}:@var{height}:@var{color}
200
@end example
201

  
202
@table @option
203

  
204
@item x, y
205
Specify the top left corner coordinates of the box. Default to 0.
206

  
207
@item width, height
208
Specify the width and height of the box, if 0 they are interpreted as
209
the input width and height. Default to 0.
210

  
211
@item color
212
Specify the color of the box to write, it can be the name of a color
213
(case insensitive match) or a 0xRRGGBB[AA] sequence.
214
@end table
215

  
216
Follow some examples:
217
@example
218
# draw a black box around the edge of the input image
219
drawbox
220

  
221
# draw a box with color red and an opacity of 50%
222
drawbox=10:20:200:60:red@@0.5"
223
@end example
224

  
193 225
@section fifo
194 226

  
195 227
Buffer input images and send them when they are requested.

Also available in: Unified diff