diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-04-11 19:04:25 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-04-21 11:13:30 +0200 |
commit | 9b2c57bef5e2f3f61a5fd708ba7d5351f5b3f386 (patch) | |
tree | 5f91c4ef886e1fedfc5cb51d0cadc95ba87f3090 /doc | |
parent | eaa2d123f0a643664721593d248ece6bcd85f1e6 (diff) | |
download | ffmpeg-9b2c57bef5e2f3f61a5fd708ba7d5351f5b3f386.tar.gz |
drawtext: Add an alpha option
And document both `draw` and `alpha`.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 11 |
1 files changed, 11 insertions, 0 deletions
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. |