doc/filters: document rand() drawtext expression function
This commit is contained in:
parent
f4a6c3b099
commit
56b39bd55d
@ -1364,11 +1364,11 @@ output image.
|
|||||||
|
|
||||||
The default value of @var{x} and @var{y} is "0".
|
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
|
@end table
|
||||||
|
|
||||||
The parameters for @var{x} and @var{y} are expressions containing the
|
The parameters for @var{x} and @var{y} are expressions containing the
|
||||||
following constants:
|
following constants and functions:
|
||||||
|
|
||||||
@table @option
|
@table @option
|
||||||
@item dar
|
@item dar
|
||||||
@ -1412,6 +1412,9 @@ contained in the rendered text
|
|||||||
@item n
|
@item n
|
||||||
the number of input frame, starting from 0
|
the number of input frame, starting from 0
|
||||||
|
|
||||||
|
@item rand(min, max)
|
||||||
|
return a random number included between @var{min} and @var{max}
|
||||||
|
|
||||||
@item sar
|
@item sar
|
||||||
input sample aspect ratio
|
input sample aspect ratio
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user