summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-19 13:29:26 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-19 19:27:41 +0000
commit9e7543361cb87d2a5275b3e80a25cfe931720dd9 (patch)
treece598ece8072ce146f78cd758b83d310f584fd42 /doc
parentcabbd271a5f37042291c06b9f8bd6c641fbddfde (diff)
lavfi/color: use AVOptions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 50cd72ec09..566fbfcd73 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3419,24 +3419,28 @@ cellauto=p='@@@@ @@ @@@@':s=100x400:full=0:rule=18
Provide an uniformly colored input.
-It accepts the following parameters:
-@var{color}:@var{frame_size}:@var{frame_rate}
+This source accepts list of options in the form of
+@var{key}=@var{value} pairs separated by ":".
+
+Alternatively, it accepts a string in the form
+@var{color}:@var{size}:@var{rate}, but this syntax is
+deprecated.
Follows the description of the accepted parameters.
@table @option
-@item color
+@item color, c
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
+@item size, s
Specify the size of the sourced video, it may be a string of the form
@var{width}x@var{height}, or the name of a size abbreviation. The
default value is "320x240".
-@item frame_rate
+@item rate, r
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
@@ -3451,7 +3455,7 @@ 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]"
+"color=c=red@@0.2:s=qcif:r=10 [color]; [in][color] overlay [out]"
@end example
@section movie