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. |
28th February 2014, 17:09 | #24041 | Link | ||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
After some research, looking into this topic again, I think the following matrixes should work for converting RGB <-> YCbCr for BT.709. However, please note that these matrixes expect luma to be in the 0..1 range and chroma to be in the -0.5..+0.5 range: Code:
YCbCr -> RGB 1.0000000000000000, 0.0000000000000000, 1.5748000000000000 1.0000000000000000, -0.1873242729306488, -0.4681242729306488 1.0000000000000000, 1.8556000000000000, 0.0000000000000000 RGB -> YCbCr 0.212600, 0.715200, 0.072200 -0.114572, -0.385428, 0.500000 0.500000, -0.454153, -0.045847 Quote:
My comments where not aimed at figuring out whether something is wrong. I was one step ahead, thinking about how to figure out whether the problem is caused by madVR or by the color conversion used when encoding the output_ll.mkv file. Exactly. |
||||||||
28th February 2014, 17:19 | #24042 | Link |
Registered User
Join Date: Oct 2012
Posts: 99
|
I think it's safe to say that from average Joe's point of view whole MadVR is little more than minute pixel difference None of my friends see, or care to see any "real" PQ difference between mpc+mvr and VLC when we watch movies at my house. Yes, some people here do seem to possess almost superhuman eyesight when it comes to PQ, but hey, isn't this the place to go crazy with it?
|
28th February 2014, 17:25 | #24043 | Link | ||
Registered User
Join Date: May 2008
Posts: 84
|
Quote:
Quote:
Last edited by *Touche*; 28th February 2014 at 18:05. |
||
28th February 2014, 17:30 | #24044 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
(or so. has to check AviSynth/dither code) |
|
28th February 2014, 18:01 | #24045 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
FWIW, after checking the whole RGB -> YCbCr -> RGB pipeline, using the original source, and the "lossless" encode, it seems that the encode is probably correct and there might be a bug in madVR, probably in the fullrange handling, but I'm not totally sure yet.
|
28th February 2014, 18:03 | #24046 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I am pretty sure LAVs handling of YUV->RGB is correct in full range, so you could also compare LAV in full-range RGB32 output with LAV in YUV output mode.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 28th February 2014 at 18:21. |
28th February 2014, 18:23 | #24048 | Link |
Registered User
Join Date: Sep 2013
Posts: 919
|
About 3DLUTs,
Here's a tip for you: Profile the monitor (and create 3DLUT) without Calibrating it first. Profile the display using MadPTG with at least 128 gray patches (targen -g128). Read the display (dispread) without -k or -K, then create a 3DLUT (colprof). The result a an absolutely smooth and even greyscale without banding or and visible coloration. P.S What about the problem of the blacks being dithered (green dots) in lower bit depths, is it fixable (or going to be)?
__________________
System: i7 3770K, GTX660, Win7 64bit, Panasonic ST60, Dell U2410. Last edited by James Freeman; 28th February 2014 at 18:47. |
28th February 2014, 18:51 | #24049 | Link | |
Registered User
Join Date: Aug 2012
Posts: 73
|
Quote:
Anyway the both are really good so great work and thank you Madshi !! "Envoyé depuis mon GT-I9300 avec Tapatalk" |
|
28th February 2014, 18:55 | #24050 | Link | |
Registered User
Join Date: Sep 2010
Posts: 321
|
Quote:
I'm assuming Error 1 is A4/ED4 and Error 2 is ED11? Also what is all this static and dynamic talk? Is that referring to the 2 extra options? Thanks!
__________________
MPC-HC/MPC-BE, Lav Filters, MadVR CPU: AMD Ryzen 5 1600, Video: AMD Radeon RX Vega 56 -> TCL S405 55", Audio: Audio-Technica M50S |
|
28th February 2014, 18:56 | #24051 | Link | |
Registered User
Join Date: Sep 2013
Posts: 919
|
Heh..
I think it will be hard to vote out any of the Dithering options, because they all seem to be loved equally. Quote:
Random Dithering = Random Dithering. Ordered Dithering = OD32 ED Option 1 = Adaptive 4 ED Option 2 = ED11 Colored noise = OppositeColor (MultiColor only for Random Dithering), (MonoColor when Off). Change dither for every frame = Enable Dynamic (Static when Off). You can also change to any bit depth in Devices -> Device-> Properties without creating a "4bit" folder on the desktop.
__________________
System: i7 3770K, GTX660, Win7 64bit, Panasonic ST60, Dell U2410. Last edited by James Freeman; 28th February 2014 at 19:03. |
|
28th February 2014, 19:05 | #24052 | Link | |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
Oh, that changes everything then. PWM 6bit TN hopefully. Anyway I can confirm that your message has full gotten through by now and I'm afraid you might start boring the readers of this thread who have more interesting matters to attend to than listening to your sciencetification knowledge, but I'll give you that it's most impressivistic and I humbly bow down to your wisdomness again. Last edited by leeperry; 28th February 2014 at 19:07. |
|
28th February 2014, 19:18 | #24053 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
@sneaker_ger, @mzso,
there was a bug in madVR's handling of fullrange YCbCr content... Thanks for bringing that to my attention. Here's a test build with a fix: http://madshi.net/madVRyuvFullrange.rar FWIW, some pixels are still different in the "lossless" decoding compared to the original RGB file due to colorspace conversion rounding errors. (And yes, nevcairiel, LAV seems to do this correctly.) |
28th February 2014, 19:41 | #24054 | Link | |
Registered User
Join Date: May 2008
Posts: 84
|
8bit non-PWM IPS, actually.
Quote:
|
|
28th February 2014, 20:38 | #24056 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
I've come to the conclusion that ED11 mono dynamic blurs fine details slightly, and losing low-contrast edge definition compared to the source. The dynamic quality enhances this effect, behaving as a minor denoising effect. Unfortunately, I can still sometimes see checkerboard patterns with ED11 static, so if I were to use ED11 it would need to be dynamic to help hide them. AD4 mono static by comparison slightly enhances low-contrast edge-definition compared to the source. Neither ED11 or AD4 would I consider neutral.
Overall I'd lean towards AD4 mono static as being more accurate and visually pleasing than ED11 mono dynamic, as my final preference. ED11 mono dynamic isn't bad though, so I'm pondering if it would fit well in a certain profile. I think it may be useful if you added the display 'Device Name' which madVR is currently active on as a variable for profiles switches, no rush on that though. Did you forget to enable compiler optimizations again? I wouldn't have expected such a change to grow by ~0.4MB, unless the fix required adding an additional codepath. Last edited by cyberbeing; 28th February 2014 at 20:45. |
28th February 2014, 20:39 | #24057 | Link | |
Registered User
Join Date: Oct 2009
Posts: 930
|
Quote:
|
|
28th February 2014, 20:40 | #24058 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Yes, the build is without optimization. |
|
28th February 2014, 20:43 | #24059 | Link | |
Registered User
Join Date: Dec 2011
Posts: 1,812
|
Quote:
I have to set GPU queue to 16 frames to avoid the glitches with debanding in the particular Crysis 3 video. But then my GTX 670 is too slow for 4k content. Time for a r9 290x... The AMD drivers also seemed to be less vulnerable for presentation glitches. I hadn't to alter flush settings with the r9 290. Confirmed. Nice find, mzso. In the past I always used limited range with YUV (haven't found a test picture that shows any difference towards full range yet). The Trine 2 pictures of mine above were with full range, but maybe the difference is too subtle to recognize it well with that complex content. Last edited by aufkrawall; 28th February 2014 at 20:45. |
|
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|