Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-10-30 23:40:19 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-10-31 17:43:47 +0400
commit93399e9381e62f37f46031f9bb35dec596967b3a (patch)
tree6fb9810a012e4ba31c2774cf99a512de95c1ebd4 /doc
parent84833b028bf3fa08d09939330989df8d8820cd59 (diff)
lavfi/drawbox: add thickness option
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index edbe4092c1..8bb7a9e80c 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1744,12 +1744,15 @@ Specify the color of the box to write, it can be the name of a color
(case insensitive match) or a 0xRRGGBB[AA] sequence. If the special
value @code{invert} is used, the box edge color is the same as the
video with inverted luma.
+
+@item thickness, t
+Set the thickness of the box edge. Default value is @code{4}.
@end table
If the key of the first options is omitted, the arguments are
interpreted according to the following syntax:
@example
-drawbox=@var{x}:@var{y}:@var{width}:@var{height}:@var{color}
+drawbox=@var{x}:@var{y}:@var{width}:@var{height}:@var{color}:@var{thickness}
@end example
Some examples follow:
@@ -1770,6 +1773,12 @@ The previous example can be specified as:
@example
drawbox=x=10:y=20:w=200:h=60:color=red@@0.5
@end example
+
+@item
+Fill the box with pink color:
+@example
+drawbox=x=10:y=10:w=100:h=100:color=pink@@0.5:t=max
+@end example
@end itemize
@section drawtext