From ef6db24366da2974cdee1d9578cf91910b5faa9c Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 26 Mar 2014 14:03:24 +0100 Subject: options: Expose --colormatrix-primaries to the user Signed-off-by: wm4 --- DOCS/man/input.rst | 6 ++++++ DOCS/man/options.rst | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) (limited to 'DOCS/man') 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=`` + 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=`` Force a different configuration directory. If this is set, the given directory is used to load configuration files, and all other configuration -- cgit v1.2.3