From 0f79444c6dfe48a4d3a6b5075e504decca8c967a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 14 Sep 2019 22:18:02 +0200 Subject: image_writer: add WebP support (lossy or lossless) --- DOCS/man/options.rst | 8 ++++++++ DOCS/man/vo.rst | 6 ++++++ 2 files changed, 14 insertions(+) (limited to 'DOCS') 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=`` 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=`` + 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=`` + Enable writing lossless WebP files (default: no) + ``--vo-image-webp-quality=<0-100>`` + WebP quality (default: 75) ``--vo-image-outdir=`` Specify the directory to save the image files to (default: ``./``). -- cgit v1.2.3