diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-27 11:27:12 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-27 23:27:50 +0100 |
commit | 2ac6a3d1bfd0a165a3f15da6ed75c718e908f5f4 (patch) | |
tree | 94f4185dcc9a15f18b72016769739c1a6356a335 /doc | |
parent | 2cfa6fd025f730d91f5904951dd4dbee5899c32a (diff) | |
download | ffmpeg-2ac6a3d1bfd0a165a3f15da6ed75c718e908f5f4.tar.gz |
lavfi/drawtext: add support to expansion of generic expressions
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 10 |
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. |