summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-04 22:37:34 +0100
committerwm4 <wm4@nowhere>2013-12-04 23:13:46 +0100
commitadc843f984ade5603288523245a808a697bea792 (patch)
tree510ad8cacc786b9b7ed2a88ba13ac2f9ec357cdf /DOCS
parentbcd8afc2ad086b07b1cad8379581bbbae5e67a6e (diff)
downloadmpv-adc843f984ade5603288523245a808a697bea792.tar.bz2
mpv-adc843f984ade5603288523245a808a697bea792.tar.xz
af_ladspa: change options, use option parser
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/af.rst17
1 files changed, 13 insertions, 4 deletions
diff --git a/DOCS/man/en/af.rst b/DOCS/man/en/af.rst
index a0332c1327..4df4b51ae0 100644
--- a/DOCS/man/en/af.rst
+++ b/DOCS/man/en/af.rst
@@ -471,7 +471,7 @@ Available filters are:
This filter can cause distortion with audio signals that have a very
large dynamic range.
-``ladspa=file:label[:controls...]``
+``ladspa=file:label:[<control0>,<control1>,...]``
Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin. This
filter is reentrant, so multiple LADSPA plugins can be used at once.
@@ -487,12 +487,21 @@ Available filters are:
one filter, but others contain many of them. Entering 'help' here
will list all available filters within the specified library, which
eliminates the use of 'listplugins' from the LADSPA SDK.
- ``<controls>``
- Controls are zero or more floating point values that determine the
- behavior of the loaded plugin (for example delay, threshold or gain).
+ ``[<control0>,<control1>,...]``
+ Controls are zero or more ``,`` separated floating point values that
+ determine the behavior of the loaded plugin (for example delay,
+ threshold or gain).
In verbose mode (add ``-v`` to the mpv command line), all
available controls and their valid ranges are printed. This eliminates
the use of 'analyseplugin' from the LADSPA SDK.
+ Note that ``,`` is already used by the option parser to separate
+ filters, so you must quote the list of values with ``[...]`` or
+ similar.
+
+ .. admonition:: Example
+
+ ``mpv --af=ladspa='/usr/lib/ladspa/delay.so':delay_5s:[0.5,0.2] media.avi``
+ Does something.
``karaoke``
Simple voice removal filter exploiting the fact that voice is usually