Revision 24413399

View differences:

doc/filters.texi
229 229

  
230 230
Below is a description of the currently available video sources.
231 231

  
232
@section buffer
233

  
234
Buffer video frames, and make them available to the filter chain.
235

  
236
This source is mainly intended for a programmatic use, in particular
237
through the interface defined in @file{libavfilter/vsr_buffer.h}.
238

  
239
It accepts the following parameters:
240
@var{width}:@var{height}:@var{pix_fmt_string}
241

  
242
All the parameters need to be explicitely defined.
243

  
244
Follows the list of the accepted parameters.
245

  
246
@table @option
247

  
248
@item width, height
249
Specify the width and height of the buffered video frames.
250

  
251
@item pix_fmt_string
252

  
253
A string representing the pixel format of the buffered video frames.
254
It may be a number corresponding to a pixel format, or a pixel format
255
name.
256

  
257
@end table
258

  
259
For example:
260
@example
261
buffer=320:240:yuv410p
262
@end example
263

  
264
will instruct the source to accept video frames with size 320x240 and
265
with format "yuv410p". Since the pixel format with name "yuv410p"
266
corresponds to the number 6 (check the enum PixelFormat definition in
267
@file{libavutil/pixfmt.h}), this example corresponds to:
268
@example
269
buffer=320:240:6
270
@end example
271

  
232 272
@section color
233 273

  
234 274
Provide an uniformly colored input.

Also available in: Unified diff