aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-11-27 11:27:12 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-11-27 23:27:50 +0100
commit2ac6a3d1bfd0a165a3f15da6ed75c718e908f5f4 (patch)
tree94f4185dcc9a15f18b72016769739c1a6356a335 /doc
parent2cfa6fd025f730d91f5904951dd4dbee5899c32a (diff)
downloadffmpeg-2ac6a3d1bfd0a165a3f15da6ed75c718e908f5f4.tar.gz
lavfi/drawtext: add support to expansion of generic expressions
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 99654ebcfb..f3e86c1693 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2075,6 +2075,16 @@ The following functions are available:
@table @command
+@item expr, e
+The expression evaluation result.
+
+It must take one argument specifying the expression to be evaluated,
+which accepts the same constants and functions as the @var{x} and
+@var{y} values. Note that not all constants should be used, for
+example the text size is not known when evaluating the expression, so
+the constants @var{text_w} and @var{text_h} will have an undefined
+value.
+
@item gmtime
The time at which the filter is running, expressed in UTC.
It can accept an argument: a strftime() format string.