mirror of https://github.com/mpv-player/mpv
manpage: clarify some --vf options
In particular, mention deprecated things.
This commit is contained in:
parent
a9f97b26d8
commit
4b567aeac8
|
@ -5,7 +5,8 @@ Audio filters allow you to modify the audio stream and its properties. The
|
||||||
syntax is:
|
syntax is:
|
||||||
|
|
||||||
``--af=...``
|
``--af=...``
|
||||||
Setup a chain of audio filters. See ``--vf`` for the syntax.
|
Setup a chain of audio filters. See ``--vf`` (`VIDEO FILTERS`_) for the
|
||||||
|
full syntax.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
VIDEO FILTERS
|
VIDEO FILTERS
|
||||||
=============
|
=============
|
||||||
|
|
||||||
Video filters allow you to modify the video stream and its properties. The
|
Video filters allow you to modify the video stream and its properties. All of
|
||||||
syntax is:
|
the information described in this section applies to audio filters as well
|
||||||
|
(generally using the prefix ``--af`` instead of ``--vf``).
|
||||||
|
|
||||||
|
The exact syntax is:
|
||||||
|
|
||||||
``--vf=<filter1[=parameter1:parameter2:...],filter2,...>``
|
``--vf=<filter1[=parameter1:parameter2:...],filter2,...>``
|
||||||
Setup a chain of video filters. This consists on the filter name, and an
|
Setup a chain of video filters. This consists on the filter name, and an
|
||||||
|
@ -41,11 +44,18 @@ syntax is:
|
||||||
the ``lavfi`` filter, which uses a very similar syntax as mpv (MPlayer
|
the ``lavfi`` filter, which uses a very similar syntax as mpv (MPlayer
|
||||||
historically) to specify filters and their parameters.
|
historically) to specify filters and their parameters.
|
||||||
|
|
||||||
|
Filters can be manipulated at run time. You can use ``@`` labels as described
|
||||||
|
above in combination with the ``vf`` command (see `COMMAND INTERFACE`_) to get
|
||||||
|
more control over this. Initially disabled filters with ``!`` are useful for
|
||||||
|
this as well.
|
||||||
|
|
||||||
You can also set defaults for each filter. The defaults are applied before the
|
You can also set defaults for each filter. The defaults are applied before the
|
||||||
normal filter parameters.
|
normal filter parameters. This is deprecated and never worked for the
|
||||||
|
libavfilter bridge.
|
||||||
|
|
||||||
``--vf-defaults=<filter1[=parameter1:parameter2:...],filter2,...>``
|
``--vf-defaults=<filter1[=parameter1:parameter2:...],filter2,...>``
|
||||||
Set defaults for each filter.
|
Set defaults for each filter. (Deprecated. ``--af-defaults`` is deprecated
|
||||||
|
as well.)
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
@ -75,15 +85,20 @@ normal filter parameters.
|
||||||
Video filters are managed in lists. There are a few commands to manage the
|
Video filters are managed in lists. There are a few commands to manage the
|
||||||
filter list.
|
filter list.
|
||||||
|
|
||||||
``--vf-add=<filter1[,filter2,...]>``
|
``--vf-add=filter``
|
||||||
Appends the filters given as arguments to the filter list.
|
Appends the filter given as arguments to the filter list. (Passing multiple
|
||||||
|
filters is currently still possible, but deprecated.)
|
||||||
|
|
||||||
``--vf-pre=<filter1[,filter2,...]>``
|
``--vf-pre=filter``
|
||||||
Prepends the filters given as arguments to the filter list.
|
Prepends the filters given as arguments to the filter list. (Passing
|
||||||
|
multiple filters is currently still possible, but deprecated.)
|
||||||
|
|
||||||
``--vf-del=<index1[,index2,...]>``
|
``--vf-del=filter``
|
||||||
Deletes the filters at the given indexes. Index numbers start at 0,
|
Deletes the filter. The filter can even given the way it was added (filter
|
||||||
negative numbers address the end of the list (-1 is the last).
|
name and its full argument list), by label (prefixed with ``@``), or as
|
||||||
|
index number. Index numbers start at 0, negative numbers address the end of
|
||||||
|
the list (-1 is the last). (Passing multiple filters is currently still
|
||||||
|
possible, but deprecated.)
|
||||||
|
|
||||||
``--vf-clr``
|
``--vf-clr``
|
||||||
Completely empties the filter list.
|
Completely empties the filter list.
|
||||||
|
@ -94,10 +109,6 @@ With filters that support it, you can access parameters by their name.
|
||||||
Prints the parameter names and parameter value ranges for a particular
|
Prints the parameter names and parameter value ranges for a particular
|
||||||
filter.
|
filter.
|
||||||
|
|
||||||
``--vf=<filter=named_parameter1=value1[:named_parameter2=value2:...]>``
|
|
||||||
Sets a named parameter to the given value. Use on and off or yes and no to
|
|
||||||
set flag parameters.
|
|
||||||
|
|
||||||
Available mpv-only filters are:
|
Available mpv-only filters are:
|
||||||
|
|
||||||
``format=fmt=<value>:colormatrix=<value>:...``
|
``format=fmt=<value>:colormatrix=<value>:...``
|
||||||
|
|
Loading…
Reference in New Issue