From 9b2c57bef5e2f3f61a5fd708ba7d5351f5b3f386 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sat, 11 Apr 2015 19:04:25 +0200 Subject: drawtext: Add an alpha option And document both `draw` and `alpha`. Signed-off-by: Luca Barbato --- doc/filters.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 28e3292ff6..e36f9a2a86 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1209,6 +1209,17 @@ The timestamp, expressed in seconds. It's NAN if the input timestamp is unknown. The default value of @var{x} and @var{y} is 0. +@item draw +Draw the text only if the expression evaluates as non-zero. +The expression accepts the same variables @var{x, y} do. +The default value is 1. + +@item alpha +Draw the text applying alpha blending. The value can +be either a number between 0.0 and 1.0 +The expression accepts the same variables @var{x, y} do. +The default value is 1. + @item fontsize The font size to be used for drawing text. The default value of @var{fontsize} is 16. -- cgit v1.2.3