diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-03-16 00:07:15 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-03-17 00:27:08 +0100 |
commit | 0407a79e412e7e7229d4e70c8c0df86e4db9066e (patch) | |
tree | a02614ab8d6c0b1ca758805501ac5151478ed26b /doc/filters.texi | |
parent | 356922e237690e95c5e814845d4f320526e40906 (diff) | |
download | ffmpeg-0407a79e412e7e7229d4e70c8c0df86e4db9066e.tar.gz |
lavfi/blackframe: add support for named options
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index fa8f69be44..13cd99bc2a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1801,16 +1801,22 @@ the position in the file if known or -1 and the timestamp in seconds. In order to display the output lines, you need to set the loglevel at least to the AV_LOG_INFO value. -The filter accepts the syntax: -@example -blackframe[=@var{amount}:[@var{threshold}]] -@end example +The filter accepts parameters as a list of @var{key}=@var{value} +pairs, separated by ":". If the key of the first options is omitted, +the arguments are interpreted according to the syntax +blackframe[=@var{amount}[:@var{threshold}]]. -@var{amount} is the percentage of the pixels that have to be below the -threshold, and defaults to 98. +A description of the accepted options follows. + +@table @option +@item amount +Set the percentage of pixels that have to be below the +threshold to enable black detection. Default value is 98. -@var{threshold} is the threshold below which a pixel value is -considered black, and defaults to 32. +@item threshold +Set the threshold below which a pixel value is considered +black. Default value is 32. +@end table @section blend |