summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-09-14 22:18:02 +0200
committersfan5 <sfan5@live.de>2019-09-14 23:02:39 +0200
commit0f79444c6dfe48a4d3a6b5075e504decca8c967a (patch)
tree5ee0c56e0fcb0b48571025603b33115ffdd48446 /DOCS
parent8925f10962d13d9c3cbcb2e198b892177366c09f (diff)
downloadmpv-0f79444c6dfe48a4d3a6b5075e504decca8c967a.tar.bz2
mpv-0f79444c6dfe48a4d3a6b5075e504decca8c967a.tar.xz
image_writer: add WebP support (lossy or lossless)
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/options.rst8
-rw-r--r--DOCS/man/vo.rst6
2 files changed, 14 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 6170008213..15b960f4c2 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3319,6 +3319,7 @@ Screenshot
:png: PNG
:jpg: JPEG (default)
:jpeg: JPEG (alias for jpg)
+ :webp: WebP
``--screenshot-tag-colorspace=<yes|no>``
Tag screenshots with the appropriate colorspace.
@@ -3452,6 +3453,13 @@ Screenshot
of compression that can be achieved. For most images, "mixed" achieves the
best compression ratio, hence it is the default.
+``--screenshot-webp-lossless=<yes|no>``
+ Write lossless WebP files. ``--screenshot-webp-quality`` is ignored if this
+ is set. The default is no.
+
+``--screenshot-webp-quality=<0-100>``
+ Set the WebP quality level. Higher means better quality. The default is 75.
+
Software Scaler
---------------
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index f4a06f2e56..7ffcf47443 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -415,6 +415,8 @@ Available video output drivers are:
JPEG files, extension .jpeg.
png
PNG files.
+ webp
+ WebP files.
``--vo-image-png-compression=<0-9>``
PNG compression factor (speed vs. file size tradeoff) (default: 7)
@@ -425,6 +427,10 @@ Available video output drivers are:
JPEG quality factor (default: 90)
``--vo-image-jpeg-optimize=<0-100>``
JPEG optimization factor (default: 100)
+ ``--vo-image-webp-lossless=<yes|no>``
+ Enable writing lossless WebP files (default: no)
+ ``--vo-image-webp-quality=<0-100>``
+ WebP quality (default: 75)
``--vo-image-outdir=<dirname>``
Specify the directory to save the image files to (default: ``./``).