From 93399e9381e62f37f46031f9bb35dec596967b3a Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 30 Oct 2012 20:40:19 +0100 Subject: lavfi/drawbox: add thickness option --- doc/filters.texi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3