diff options
author | Niklas Haas <git@haasn.dev> | 2021-04-26 18:31:16 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-05-26 17:35:29 +0200 |
commit | 353cccfa8cc4aa86f502a751c2441ab68737341c (patch) | |
tree | 7c9af59c23fd6e847613e5ab3a11fe08c0a8f92e /DOCS | |
parent | c26d83348b730d083f3be313556039fd31d32505 (diff) | |
download | mpv-353cccfa8cc4aa86f502a751c2441ab68737341c.tar.bz2 mpv-353cccfa8cc4aa86f502a751c2441ab68737341c.tar.xz |
vo_gpu: replace --icc-contrast by --icc-force-contrast
Not only does this have semantics that make far more sense, it also has
a default that makes far more sense. (Equivalent to the old
`icc-contrast=inf`)
This removes the weird 1000:1 contrast default assumption which
especially broke perceptual profiles and also screws things up for
OLED/CRT/etc.
Should probably close some issues but I honestly can't be bothered to
figure out which of the thousands colorimetry-related issues are
affected.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 3 | ||||
-rw-r--r-- | DOCS/man/options.rst | 17 |
2 files changed, 12 insertions, 8 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 4a36041595..a3539c156e 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -37,6 +37,9 @@ Interface changes - add an additional optional `albumart` argument to the `video-add` command, which tells mpv to load the given video as album art. - undeprecate `--cache-secs` option + - remove `--icc-contrast` and introduce `--icc-force-contrast`. The latter + defaults to the equivalent of the old `--icc-contrast=inf`, and can + instead be used to specifically set the contrast to any value. --- mpv 0.33.0 --- - add `--d3d11-exclusive-fs` flag to enable D3D11 exclusive fullscreen mode when the player enters fullscreen. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index e07f7a7851..f8f20d6e32 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6358,14 +6358,15 @@ The following video options are currently all specific to ``--vo=gpu`` and Size of the 3D LUT generated from the ICC profile in each dimension. Default is 64x64x64. Sizes may range from 2 to 512. -``--icc-contrast=<0-1000000|inf>`` - Specifies an upper limit on the target device's contrast ratio. This is - detected automatically from the profile if possible, but for some profiles - it might be missing, causing the contrast to be assumed as infinite. As a - result, video may appear darker than intended. This only affects BT.1886 - content. The default of 0 means no limit if the detected contrast is less - than 100000, and limits to 1000 otherwise. Use ``--icc-contrast=inf`` to - preserve the infinite contrast (most likely when using OLED displays). +``--icc-force-contrast=<no|0-1000000|inf>`` + Override the target device's detected contrast ratio by a specific value. + This is detected automatically from the profile if possible, but for some + profiles it might be missing, causing the contrast to be assumed as + infinite. As a result, video may appear darker than intended. If this is + the case, setting this option might help. This only affects BT.1886 + content. The default of ``no`` means to use the profile values. The special + value ``inf`` causes the BT.1886 curve to be treated as a pure power gamma + 2.4 function. ``--blend-subtitles=<yes|video|no>`` Blend subtitles directly onto upscaled video frames, before interpolation |