diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-17 14:14:52 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-17 14:14:52 +0400 |
commit | 23ccf3c7a7621175156b4f8f89d321f081adbe59 (patch) | |
tree | 8e0ee53e397b35c42073e623b9eab549c848f019 /doc | |
parent | bbfb2c8077d0b865135c50d3f4aa40a42aefb9ac (diff) |
Add color source.
Originally committed as revision 24282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index cd4364a786..dea8556c77 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -229,6 +229,45 @@ Flip the input video vertically. Below is a description of the currently available video sources. +@section color + +Provide an uniformly colored input. + +It accepts the following parameters: +@var{color}:@var{frame_size}:@var{frame_width} + +Follows the description of the accepted parameters. + +@table @option + +@item color +Specify the color of the source. It can be the name of a color (case +insensitive match) or a 0xRRGGBB[AA] sequence, possibly followed by an +alpha specifier. The default value is "black". + +@item frame_size +Specify the size of the sourced video, it may be a string of the form +@var{width}x@var{heigth}, or the name of a size abbreviation. The +default value is "320x240". + +@item frame_rate +Specify the frame rate of the sourced video, as the number of frames +generated per second. It has to be a string in the format +@var{frame_rate_num}/@var{frame_rate_den}, an integer number, a float +number or a valid video frame rate abbreviation. The default value is +"25". + +@end table + +For example the following graph description will generate a red source +with an opacity of 0.2, with size "qcif" and a frame rate of 10 +frames per second, which will be overlayed over the source connected +to the pad with identifier "in". + +@example +"color=red@@0.2:qcif:10 [color]; [in][color] overlay [out]" +@end example + @section nullsrc Null video source, never return images. It is mainly useful as a |