summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vf.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/vf.rst')
-rw-r--r--DOCS/man/vf.rst16
1 files changed, 12 insertions, 4 deletions
diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst
index 5c29cba0e9..3e3a251754 100644
--- a/DOCS/man/vf.rst
+++ b/DOCS/man/vf.rst
@@ -103,7 +103,7 @@ filter list.
compared. (Passing multiple filters is currently still possible, but
deprecated.)
-``-vf-toggle=filter``
+``--vf-toggle=filter``
Add the given filter to the list if it was not present yet, or remove it
from the list if it was present. Matching of filters works as described in
``--vf-remove``.
@@ -192,7 +192,7 @@ Available mpv-only filters are:
space if the system video driver supports it, but not input and output
levels. The ``scale`` video filter can configure color space and input
levels, but only if the output format is RGB (if the video output driver
- supports RGB output, you can force this with ``-vf scale,format=rgba``).
+ supports RGB output, you can force this with ``--vf=scale,format=rgba``).
If this option is set to ``auto`` (which is the default), the video's
color space flag will be used. If that flag is unset, the color space
@@ -433,7 +433,7 @@ Available mpv-only filters are:
subtitle colors and video under the influence of the video equalizer
settings.
-``vapoursynth=file:buffered-frames:concurrent-frames``
+``vapoursynth=file:buffered-frames:concurrent-frames:user-data``
Loads a VapourSynth filter script. This is intended for streamed
processing: mpv actually provides a source filter, instead of using a
native VapourSynth video source. The mpv source will answer frame
@@ -559,6 +559,10 @@ Available mpv-only filters are:
By default, this uses the special value ``auto``, which sets the option
to the number of detected logical CPU cores.
+ ``user-data``
+ Optional arbitrary string that is passed to the script. Default to empty
+ string if not set.
+
The following ``.vpy`` script variables are defined by mpv:
``video_in``
@@ -585,10 +589,14 @@ Available mpv-only filters are:
``display_res``
Resolution of the current display. This is an integer array with the
- first entry corresponding to the width and the second entry coresponding
+ first entry corresponding to the width and the second entry corresponding
to the height. These values can be 0. Note that this will not respond to
monitor changes and may not work on all platforms.
+ ``user_data``
+ User data passed from the filter. This variable always exists, and defaults
+ to empty string.
+
``vavpp``
VA-API video post processing. Requires the system to support VA-API,
i.e. Linux/BSD only. Works with ``--vo=vaapi`` and ``--vo=gpu`` only.