mpv-player / mpv-player/mpv

dither-depth

Open
#16,647 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv Information
mpv v0.40.0-dev-g967dcf383 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on Aug  7 2025 15:55:23
libplacebo version: v7.352.0
FFmpeg version: e052277
FFmpeg library versions:
   libavcodec      61.19.101
   libavdevice     61.3.100
   libavfilter     10.4.100
   libavformat     61.7.100
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100
Other Information
- Windows version: 24H2
- GPU model, driver and version: RTX4080
- Source of mpv: mpv test build
- Latest known working version: unknown
- Issue started after the following happened: unknown
Reproduction Steps

My display output depth is 10 bit.
The GPU driver's output depth is 10 bit.
Set dither-depth in mpv to 10 would generate bandings. While setting to 8 is safe.

Expected Behavior

No banding with dither-depth=10. (The img is output with dither-depth=8)

Actual Behavior

Noticeable bandings. (The img is output with dither-depth=10)

Log File

mpv-d8.log
mpv-d10.log

Sample Files

No response

I carefully read all instruction and confirm that I did the following:
  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

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

Start by comparing the attached mpv-d8.log and mpv-d10.log and trace how the dither-depth setting affects video output on the Windows and RTX4080 setup described. Done means reproducing the banding with dither-depth=10 and confirming that the output no longer bands at the reported 10-bit display and driver depth.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
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.