mpv-player / mpv-player/mpv

--icc-force-contrast does not work with --vo=gpu-next

Open
#9,752 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

vo:gpu-next
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

icc-profile-auto
icc-force-contrast=inf

--vo=gpu:
Screenshot_20220123_202114

--icc-force-contrast=inf should turn BT.1886 gamma curve into pure power 2.4, but it doesn't with --vo=gpu-next:
Screenshot_20220123_202028

--vf=format:gamma=gamma2.4 can be used as a workaround.

Log:
output.txt

latest mpv & libplacebo git-master as of today.
Tested on Linux Xorg.

I btw. still think that pure power gamma 2.4 would be a better default for rec709 content, as BT.1886 just looks too bright with most of the content on any display that doesn't have an extremely low black point.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce with --vo=gpu-next, icc-profile-auto, and icc-force-contrast=inf on Linux Xorg, comparing the result with --vo=gpu and the gamma=gamma2.4 workaround. Trace the gpu-next/libplacebo color-management path and verify that forcing contrast produces a pure power 2.4 curve rather than BT.1886 behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
cli, computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.