diff options
author | wm4 <wm4@nowhere> | 2017-03-25 17:07:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-25 17:07:40 +0100 |
commit | 7d424b4ce45534ade52f38df68308498decc0171 (patch) | |
tree | f5ed0a3c98cab67ce50e76a0223031cb73eb39b8 /DOCS/man/af.rst | |
parent | 29f9e44723104aac8ce91d0347a91fb206afba8d (diff) | |
download | mpv-7d424b4ce45534ade52f38df68308498decc0171.tar.bz2 mpv-7d424b4ce45534ade52f38df68308498decc0171.tar.xz |
command: add better runtime filter toggling method
Basically, see the example in input.rst.
This is better than the "old" vf-toggle method, because it doesn't
require the user to duplicate the filter string in mpv.conf and
input.conf.
Some aspects of this changes are untested, so enjoy your alpha testing.
Diffstat (limited to 'DOCS/man/af.rst')
-rw-r--r-- | DOCS/man/af.rst | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 040b44cd64..9dff18ebbe 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -4,8 +4,8 @@ AUDIO FILTERS Audio filters allow you to modify the audio stream and its properties. The syntax is: -``--af=<filter1[=parameter1:parameter2:...],filter2,...>`` - Setup a chain of audio filters. +``--af=...`` + Setup a chain of audio filters. See ``--vf`` for the syntax. .. note:: @@ -15,27 +15,8 @@ syntax is: wrapper, which gives you access to most of libavfilter's filters. This includes all filters that have been ported from MPlayer to libavfilter. -You can also set defaults for each filter. The defaults are applied before the -normal filter parameters. - -``--af-defaults=<filter1[=parameter1:parameter2:...],filter2,...>`` - Set defaults for each filter. - -Audio filters are managed in lists. There are a few commands to manage the -filter list: - -``--af-add=<filter1[,filter2,...]>`` - Appends the filters given as arguments to the filter list. - -``--af-pre=<filter1[,filter2,...]>`` - Prepends the filters given as arguments to the filter list. - -``--af-del=<index1[,index2,...]>`` - Deletes the filters at the given indexes. Index numbers start at 0, - negative numbers address the end of the list (-1 is the last). - -``--af-clr`` - Completely empties the filter list. +See ``--vf`` group of options for info on how ``--af-defaults``, ``--af-add``, +``--af-pre``, ``--af-del``, ``--af-clr``, and possibly others work. Available filters are: |