[FFmpeg-cvslog] doc/filters: document rand() drawtext expression function

Stefano Sabatini git at videolan.org
Thu May 3 10:40:06 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue May  1 12:52:16 2012 +0200| [56b39bd55d4a280fbdd7f5a1e0bd809ad4700f91] | committer: Stefano Sabatini

doc/filters: document rand() drawtext expression function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=56b39bd55d4a280fbdd7f5a1e0bd809ad4700f91
---

 doc/filters.texi |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index a965e3f..11122f9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1364,11 +1364,11 @@ output image.
 
 The default value of @var{x} and @var{y} is "0".
 
-See below for the list of accepted constants.
+See below for the list of accepted constants and functions.
 @end table
 
 The parameters for @var{x} and @var{y} are expressions containing the
-following constants:
+following constants and functions:
 
 @table @option
 @item dar
@@ -1412,6 +1412,9 @@ contained in the rendered text
 @item n
 the number of input frame, starting from 0
 
+ at item rand(min, max)
+return a random number included between @var{min} and @var{max}
+
 @item sar
 input sample aspect ratio
 



More information about the ffmpeg-cvslog mailing list