From 353cccfa8cc4aa86f502a751c2441ab68737341c Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 26 Apr 2021 18:31:16 +0200 Subject: 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. --- DOCS/man/options.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'DOCS/man/options.rst') 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=`` + 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=`` Blend subtitles directly onto upscaled video frames, before interpolation -- cgit v1.2.3