Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th December 2020, 05:43 | #1 | Link |
Registered User
Join Date: Dec 2020
Posts: 7
|
Color banding and noise
I see color banding and noise in Kodi, MPC-HE, PotPlayer, and pretty much any player except mpv. I do not use any sort of post-processing in them (including mpv). Before anyone asks, yes, I have read over video output and color space extensively. The colors are correct but these ugly artifacts are present and there's no way they're actually present in the source. I've tried different displays and the problem is still present. You may say "if it ain't broke don't fix it" in regards to this problem not appearing in mpv, but I want to use a madVR-compatible player for tone mapping HDR to SDR, and mpv is not one of those.
I've included images from mpv and Kodi in the Google Drive link below to show what I'm referring to. I use a VA panel for watching movies and shows, but I have trouble seeing the artifacts on my laptop's IPS panel as the images are dark and IPS panels suffer from backlight bleed. Therefore, you may have a bit of trouble seeing the banding and noise depending on what monitor you're using to view the images. https://drive.google.com/drive/folders/1...sp=sharing |
5th January 2021, 01:27 | #2 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
|
Your link is incomplete.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
20th January 2021, 08:36 | #3 | Link |
Registered User
Join Date: Dec 2020
Posts: 7
|
My apologies. Nobody had replied for awhile prior to your response, so I just took the link down, assumed the thread would become buried in the depths of Doom9, and stopped checking for replies. I've created a new, working link and shall vigilantly await your response...
https://drive.google.com/drive/folde...GY?usp=sharing Last edited by cungybuns; 20th January 2021 at 08:40. Reason: Inclusion of quote |
24th January 2021, 09:15 | #4 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
mpv dithers by default, I'm not sure any other players do. You can achieve comparable shots just by turning on dithering, but how each does it is definitely not standardized. I'm pretty sure mpv injects a tiny bit of noise in the process to "boost" the dither for many scenes that are already flattened in the source; MadVR will do something similar if you set it to 6-bit output, which isn't ideal, but beats flat washed-out surfaces on bad 8-bit video. MPDN had a fantastic renderscript to inject a tiny bit of noise via shader, but I haven't been able to get MPDN to run in years.
|
24th January 2021, 11:29 | #5 | Link |
_
Join Date: May 2008
Location: France
Posts: 692
|
Sorry I can't help, but if foxyshadis is in the right direction, by default, I think dithering is disabled in mpv (dither-depth=no) and enabled in madVR ("Ordered Dithering").
In mpv you can enable it by using "profile=gpu-hq". |
25th January 2021, 01:20 | #6 | Link | |
Registered User
Join Date: Dec 2020
Posts: 7
|
Quote:
If I'm understanding you correctly, you're saying the artifacts I'm seeing are part of the source? I'm willing to accept that conclusion, but one of my reservations about doing so is that these are Blu-ray rips I made myself, and they're of high-budget productions like Better Call Saul and Westworld. Surely, there wouldn't be so many artifacts in the Blu-rays of these shows? Furthermore, I did what pirluoy suggested and experimented with the --dither-depth and --profile settings in the mpv configuration file. --dither-depth is set to no by default, but when I removed --profile=gpu-hq, I got an image similar to that I've seen in other players—one accompanied by artifacts. You also mentioned mpv injecting some noise into the video by default. I looked through the manual and found an option by the name of --deband-grain. The manual stated that its set to 48 by default as it "significantly helps cover up remaining quantization artifacts." I set it to 0 in my configuration file yet found no discernible difference. |
|
25th January 2021, 03:40 | #8 | Link |
Registered User
Join Date: Dec 2020
Posts: 7
|
Yes, but there are two separate options: --dither-depth, which is turned off by default, and --deband-grain, which is set to 48 by default from a range of 0–4096. I had both of them turned off and there was still no banding when --profile was set to gpu-hq. However, when I removed --profile=gpu-hq, banding appeared even when --deband-grain was at its default value of 48. This leads me to believe that the lack of artifacts in mpv, whether it's through post-processing or not, is related to --profile being set to gpu-hq.
|
25th January 2021, 19:10 | #10 | Link |
_
Join Date: May 2008
Location: France
Posts: 692
|
Once again, I can't really help but be careful with profile=gpu-hq since it also enables debanding.
To see which options are activated when using gpu-hq profile: mpv.com --show-profile=gpu-hq In my case, I have this: Code:
scale=spline36 cscale=spline36 dscale=mitchell dither-depth=auto correct-downscaling=yes linear-downscaling=yes sigmoid-upscaling=yes deband=yes |
25th January 2021, 23:47 | #11 | Link | |
Registered User
Join Date: Dec 2020
Posts: 7
|
Quote:
|
|
26th January 2021, 20:08 | #12 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
|
What the others said.
The Kodi screenshots are 3840x1902 32bit .png, the mpv are 1920x1080 24bit .png. Not even the same frames...Do we compare apples to oranges ? Asking for samples might also mean: Do we get to see source video to be able to compare various players' renderings against the decoded picture? With blu-ray it will be 8-bit anyway and yes, there may be visible steps encoded around low Y and around neutral U,V, Happens with professional Blu-ray and UHD disc productions, my drawer has a good part of these. Visible Blocks in UHD black letterboxes, "zer"graded shadows from major labels, anything... Which dithering will nicely cover, and it might be sitting hidden within one player's chain and not the other's.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
29th January 2021, 05:35 | #13 | Link | |
Registered User
Join Date: Dec 2020
Posts: 7
|
Quote:
I'm a video purist, so I'd rather see the artifacts if they're actually in the source rather than use post-processing to remove them. Also, what are these "'zer'graded" shadows" you speak of? https://drive.google.com/drive/folde...oX?usp=sharing |
|
29th January 2021, 06:52 | #14 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Sounds like this is it. Do you still hope for more investigation?
I believe the artifacts are in the source, I certainly notice some issues in the source with your samples above.
__________________
madVR options explained |
|
|