aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-13 01:13:04 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-03-13 20:38:54 +0100
commitae732640ab3415a661a88b7c9cbd9691a07a67ca (patch)
treef3596d5a9fbfe2b93d3767ebc47cdf373cf3f366 /doc/filters.texi
parentfebd78e9044fa8210f751189c39f7f9e1ce185e9 (diff)
downloadffmpeg-ae732640ab3415a661a88b7c9cbd9691a07a67ca.tar.gz
lavfi/cropdetect: add support for named options
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi29
1 files changed, 16 insertions, 13 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 4610bdec0a..3c5955ef66 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2190,27 +2190,30 @@ Calculate necessary cropping parameters and prints the recommended
parameters through the logging system. The detected dimensions
correspond to the non-black area of the input video.
-It accepts the syntax:
-@example
-cropdetect[=@var{limit}[:@var{round}[:@var{reset}]]]
-@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
+[@option{limit}[:@option{round}[:@option{reset}]]].
+
+A description of the accepted options follows.
@table @option
@item limit
-Threshold, which can be optionally specified from nothing (0) to
-everything (255), defaults to 24.
+Set higher black value threshold, which can be optionally specified
+from nothing (0) to everything (255). An intensity value greater
+to the set value is considered non-black. Default value is 24.
@item round
-Value which the width/height should be divisible by, defaults to
-16. The offset is automatically adjusted to center the video. Use 2 to
-get only even dimensions (needed for 4:2:2 video). 16 is best when
-encoding to most video codecs.
+Set the value for which the width/height should be divisible by. The
+offset is automatically adjusted to center the video. Use 2 to get
+only even dimensions (needed for 4:2:2 video). 16 is best when
+encoding to most video codecs. Default value is 16.
@item reset
-Counter that determines after how many frames cropdetect will reset
-the previously detected largest video area and start over to detect
-the current optimal crop area. Defaults to 0.
+Set the counter that determines after how many frames cropdetect will
+reset the previously detected largest video area and start over to
+detect the current optimal crop area. Default value is 0.
This can be useful when channel logos distort the video area. 0
indicates never reset and return the largest area encountered during