diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-10 21:24:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-10 21:25:01 +0200 |
commit | 94ec709e3bdd37368ecfc2973ff931fa4cb775c0 (patch) | |
tree | 2881b2c8f938b0c2c7aa44f0471b6d9dd6214df1 /doc/filters.texi | |
parent | f780a90355aa19256f37df9359a58140a9b4a6b3 (diff) | |
parent | ee0e8d4b15a87932ab6066cd6eae3cab08726319 (diff) | |
download | ffmpeg-94ec709e3bdd37368ecfc2973ff931fa4cb775c0.tar.gz |
Merge commit 'ee0e8d4b15a87932ab6066cd6eae3cab08726319'
* commit 'ee0e8d4b15a87932ab6066cd6eae3cab08726319':
vf_libopencv: switch to an AVOptions-based system.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 ce6ba4decc..ce7417a00c 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -4169,12 +4169,18 @@ Apply video transform using libopencv. To enable this filter install libopencv library and headers and configure FFmpeg with @code{--enable-libopencv}. -The filter takes the parameters: @var{filter_name}@{:=@}@var{filter_params}. +This filter accepts the following parameters: + +@table @option -@var{filter_name} is the name of the libopencv filter to apply. +@item filter_name +The name of the libopencv filter to apply. -@var{filter_params} specifies the parameters to pass to the libopencv -filter. If not specified the default values are assumed. +@item filter_params +The parameters to pass to the libopencv filter. If not specified the default +values are assumed. + +@end table Refer to the official libopencv documentation for more precise information: @@ -4188,7 +4194,7 @@ Follows the list of supported libopencv filters. Dilate an image by using a specific structuring element. This filter corresponds to the libopencv function @code{cvDilate}. -It accepts the parameters: @var{struct_el}:@var{nb_iterations}. +It accepts the parameters: @var{struct_el}|@var{nb_iterations}. @var{struct_el} represents a structuring element, and has the syntax: @var{cols}x@var{rows}+@var{anchor_x}x@var{anchor_y}/@var{shape} @@ -4216,7 +4222,7 @@ Follow some example: ocv=dilate # dilate using a structuring element with a 5x5 cross, iterate two times -ocv=dilate=5x5+2x2/cross:2 +ocv=filter_name=dilate:filter_params=5x5+2x2/cross|2 # read the shape from the file diamond.shape, iterate two times # the file diamond.shape may contain a pattern of characters like this: @@ -4226,7 +4232,7 @@ ocv=dilate=5x5+2x2/cross:2 # *** # * # the specified cols and rows are ignored (but not the anchor point coordinates) -ocv=0x0+2x2/custom=diamond.shape:2 +ocv=dilate:0x0+2x2/custom=diamond.shape|2 @end example @subsection erode @@ -4242,7 +4248,7 @@ with the same syntax and semantics as the @ref{dilate} filter. Smooth the input video. The filter takes the following parameters: -@var{type}:@var{param1}:@var{param2}:@var{param3}:@var{param4}. +@var{type}|@var{param1}|@var{param2}|@var{param3}|@var{param4}. @var{type} is the type of smooth filter to apply, and can be one of the following values: "blur", "blur_no_scale", "median", "gaussian", |