summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-03-26 14:03:24 +0100
committerwm4 <wm4@nowhere>2014-06-22 19:01:25 +0200
commitef6db24366da2974cdee1d9578cf91910b5faa9c (patch)
treee06720ce263fc8c15630f49ebd8901139610ce21 /DOCS
parent70f50ddc5e97020d64ea0702748a00eddebc2473 (diff)
downloadmpv-ef6db24366da2974cdee1d9578cf91910b5faa9c.tar.bz2
mpv-ef6db24366da2974cdee1d9578cf91910b5faa9c.tar.xz
options: Expose --colormatrix-primaries to the user
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst6
-rw-r--r--DOCS/man/options.rst18
2 files changed, 24 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 9e9863b9db..befa41b709 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -872,6 +872,9 @@ Property list
``colormatrix-output-range`` (RW)
See ``--colormatrix-output-range``.
+``colormatrix-primaries`` (RW)
+ See ``--colormatrix-primaries``.
+
``ontop`` (RW)
See ``--ontop``.
@@ -949,6 +952,9 @@ Property list
``video-params/colorlevels``
The colorlevels as string. (Exact values subject to change.)
+ ``video-params/primaries``
+ The primaries in use as string. (Exact values subject to change.)
+
``video-params/chroma-location``
Chroma location as string. (Exact values subject to change.)
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 6e96c9c541..92dd35d0cf 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -574,6 +574,24 @@ OPTIONS
It is advisable to use your graphics driver's color range option
instead, if available.
+``--colormatrix-primaries=<primaries>``
+ RGB primaries the source file was encoded with. Normally this should be set
+ in the file header, but when playing broken or mistagged files this can be
+ used to override the setting. By default, when unset, BT.709 is used for
+ all files except those tagged with a BT.2020 color matrix.
+
+ This option only affects video output drivers that perform color
+ management, for example ``opengl`` with the ``srgb`` or ``icc-profile``
+ suboptions set.
+
+ Available primaries are:
+
+ :auto: automatic selection (default)
+ :BT.601-525: ITU-R BT.601 (SD) 525-line systems (NTSC)
+ :BT.601-625: ITU-R BT.601 (SD) 625-line systems (PAL, SECAM)
+ :BT.709: ITU-R BT.709 (HD)
+ :BT.2020: ITU-R BT.2020 (UHD)
+
``--config-dir=<path>``
Force a different configuration directory. If this is set, the given
directory is used to load configuration files, and all other configuration