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. |
|
|
Thread Tools | Search this Thread | Display Modes |
7th October 2014, 12:31 | #121 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Scaling luma and chroma just once should yield better quality if all else is equal, otherwise it would defy logic wouldn't it? For example, you wouldn't have to upscale chroma once to luma size, and then scale it again from there. Human eyes aren't very sensitive to chroma though, so you may not notice the loss of quality the way madVR does it. Not to mention I just can't get madVR to play 4K movies properly on any of the systems I own! E.g. Softcubic 50, no dithering, no smooth motion, 560 GTX. Test clip: Interstellar-TLR-F2-5.1-4K-HDTN.mp4 Render times: MPDN: 11.7ms madVR: 44.4ms madVR also constantly racks up presentation glitches (~5 per second). EDIT: Just realised my 560GTX was running at lowest power state with MPDN since it didn't need the extra clock speed. MPDN's time was in the 7ms range at max power state. So this explains the difference Shiandow was seeing with his 560ti vs my 560. Last edited by Zachs; 8th October 2014 at 01:34. |
|
7th October 2014, 13:41 | #122 | Link |
Registered User
Join Date: Oct 2012
Posts: 8,157
|
still not working fine it works sometime and sometimes not. don't forget i'm on windows 10 who knows what Microsoft has broken in this preview so please don't take it to serious.
about UHd downscaling. i can easily use madVR to downscale with dithering using spline 3 ar for a 60 fps UHD source to FHD with about 11 ms at max powerstate using a gtx 760. when i use MPDN I get about 14 ms and the powerstate is min running at ~135 mhz so it is about 6-10 times faster and there must be a reason for that. are you using a 16 bit frame buffer like madVR? is the chroma position corrected at all? |
7th October 2014, 14:47 | #124 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Well, you probably could, by using DXVA downscaling, or Bilinear downscaling, but obviously that's not a good idea for image quality. I guess I could add a different rendering path to madVR to skip chroma upsampling under specific circumstances to speedup downscaled 4K playback. It would be quite a lot of extra work, though... |
|
7th October 2014, 21:49 | #125 | Link | |
Registered User
Join Date: Dec 2013
Posts: 753
|
Quote:
Edit: Turns out that MPDN only needs 5 ms (using default settings) so it seems that the performance difference remains relatively the same. Apparently there's a larger difference between the GTX 560 Ti and the GTX 560 than I thought. Last edited by Shiandow; 7th October 2014 at 22:48. |
|
8th October 2014, 00:59 | #126 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Correct me if I'm wrong but are you saying luma is scaled by a third party and chroma is scaled separately by the studio? My thinking was that they were both scaled by the studio?? e.g. Production company shoots footage in IMAX res, studio scales both luma and chroma to 4:2:0 for Bluray/DVD release. Or in the consumer space, video cams record straight to 4:2:0. TBH I can't see how upscaling chroma twice in that regard could be beneficial as opposed to detrimental in any way. Personally I have not seen the benefits of scaling in linear light so I haven't done much research into that. However, my thinking is linear light scaling could be done on the individual YUV planes too, couldn't it? |
|
8th October 2014, 01:02 | #127 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
EDIT: Turns out my GTX 560 was running at lowest power state when I took the measurement because it could with MPDN. At max power state, I got 7ms, so it is quite close to your 560ti, which it should be (384 vs 336 cores). As with madVR, it seems that its performance was affected by presentation glitches. I will try swapping drivers and report back. In the meantime, try comparing with madVR settings Softcubic 50 no AR chroma doubling, softcubic 50 no AR no LL downscaling, no debanding, no dithering and no smooth motion. And set MPDN's dithering to none as well. Last edited by Zachs; 8th October 2014 at 01:58. |
|
8th October 2014, 01:44 | #128 | Link |
Registered User
Join Date: Oct 2012
Posts: 8,157
|
first of all rendertimes are hard to judge. the GPU powerstate is a huge problem in these cases and can easily make rendertimes miss leadering at least.
it's not rare that I see way higher rendertime with a lot easier content. this usually happens with 1080p23 and 1080i30 60 fields. it's not rare that the rendertimes of GPU deinterlaced 1080i 60 fields is way lower than the rendertimes of 1080p23 and the reason is the gpu powerstate. |
8th October 2014, 02:01 | #129 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
It's especially difficult when one is maxing out the GPU while the other was going over leisurely. Is there a way of forcing the GPU to run at constant power state for testing purposes? |
|
8th October 2014, 02:42 | #130 | Link |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
OK this is on an old 8400GS card that has constant clock (i.e. there's only two power states: card is on, or it's off, there's nothing in between) to rule out any difference in power states
Downscaling from 1920x1080 23p video to a 1280x1024 (1280x720 after scaling with aspect ratio) screen in FSE mode for both, all settings equal (Softcubic 50 no AR no LL for all scaling modes with madVR smoothmotion debanding off, MPDN and madVR dithering set to None). Consider this a poor man's UHD 3K to FHD comparison MPDN: 32.8ms (max 35.8ms) madVR: 90ms (max 133ms) ** average rendering time keeps crawling up non-stop even after 5 mins into the video Using the max stats (madVR's max is more consistent vs its avg time hovering around the 130ms mark), it's again a ~4 times difference. This time around, madVR does not suffer too many presentation glitches (only the occasional ones when stopping and playing video from the start). MPDN on the other hand has zero presentation glitches. Last edited by Zachs; 8th October 2014 at 02:56. |
8th October 2014, 05:08 | #131 | Link |
Registered User
Join Date: Oct 2012
Posts: 8,157
|
madVRT creates usually presentation glitches when it is not in focus. and there where always problem when a program like gpu-z was running when madVR was used. and madVr has a lot of presentation mode. for exsample windows 7 overlay does a good job for me.
but the more important part is that when upscaling MPDN is not faster. so it is simply the way madVr handles 4:2:0 downscaling. it is pretty hard to force a newer GPU in highest powerstate because that is not the highest powerstate anymore. all new card overclock them self. you can disable this in most cases and forcing the gpu in highest power mode is possible too. should be in the driver settings. i took a 848x480p23 file for upsacling tests the rendertimes are in the 1-2 ms range with high powerstate and bicubic 75. it's a bad comparison there is simply nothing to do for the gpu. 848x480 at 858x480 has there values: MPDN chroma bicubic 75 directx 10.1 3.46 ms at 135 mhz ~10 % GPU usage madVR chroma bicubic 75 windows 7 overlay 3.57 ms at 135 mhz ~11% GPU usage madVR chroma bicubic 75 window mode (new path) 9.10 ms at 135 mhz ~20% GPU usage madVR chroma bicubic 75 window mode (old path) 2.67 ms at 135 mhz ~10% GPU usage what did we learn new path is pretty slow. on this PC. |
8th October 2014, 08:39 | #133 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
If you look at scientific image scaling papers, often upscaling to a higher resolution, then later downscaling again can provide better PSNR (or similar) results. The differences are usually minor, though. Quote:
One point I'm trying to make is that we have luma available in a higher resolution than chroma. This means that there's a certain chance to use the luma information to guide in chroma upscaling. This method is currently not used in madVR, but it might be in the future. If we downscale chroma to the target resolution first, we're giving away the chance to use the luma information to guide with chroma restauration. But since I'm not using this method yet, this is probably a moot point right now. A more important point might be that using a somewhat softer algorithm for chroma upscaling can sometimes bring benefits (some studios use rather bad/aliased chroma subsampling algorithms), while for image up/downscaling usually a rather sharp algorithm is what most users would prefer. If you scale chroma directly to the target resolution, you can only use one algorithm: Either a softer one or a sharper one. Originally madVR used to do the same you're doing: Namely scaling chroma directly to the target resolution. This proved to be suboptimal in some situations, e.g. because when using a softer algorithm for chroma upsampling, the final image got overly soft when using large scaling factors. Just try this with a test pattern: Use a somewhat soft chroma upscaling algorithm (e.g. SoftCubic), and a sharp image upscaling algorithm (e.g. Lanczos), then upscale a small chroma test image by 400% and you'll see that chroma will be blurred a lot. Using a combination of SoftCubic + Lanczos would achieve better results. Some users argue for using a sharp chroma upscaling algorithm, anyway, so for those it might make no difference, though. No, that would produce incorrect results. The only proper way to convert the video to linear light is to do Y'CbCr -> R'G'B' -> RGB. You can then convert RGB back to YCbCr if you like. But you *have* to go through R'G'B' -> RGB. |
||
8th October 2014, 12:04 | #135 | Link | |
Registered User
Join Date: Oct 2012
Posts: 8,157
|
Quote:
jincs looks pretty good but very unsharp even 8 tabs maybe linear light helps in this case like it helps with catmull-rom. playback is still not working well this time it didn't work well in fullscreen and windowed. i guess the issue has something to do with this: http://abload.de/img/issue4nskk.png edit: forget that screen happens with very stable numbers too. Last edited by huhn; 8th October 2014 at 12:08. |
|
8th October 2014, 12:38 | #136 | Link | |||
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Quote:
Quote:
If playback stutters this time even in FSE mode, then it is definitely to do with backbuffer count (that's the only thing I changed in regards to playback - D3D9 backbuffer count to 4, D3D10 to 2). Are you still testing on Windows 10 preview? Can you try D3D9 path to see if it is better this time? From the stats, if the present time is low and delayed frame count doesn't go up, then it's outside of MPDN's control (it'll be Windows or drivers from the moment you call Present()). Last edited by Zachs; 8th October 2014 at 12:56. |
|||
8th October 2014, 13:03 | #137 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
8th October 2014, 13:25 | #138 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Not to mention a lot of the laptops sold today still spot a 1366x768 screen! In which case, even 1080p videos need to be downscaled. 4K Blu-rays are coming in April 2015. It'll take some time before 4k panels are ubiquitous, definitely not in half a years time! My point is, pick any given point in time, you'll find that downscaling is a necessity -- 1080p on 1280x1024 or 1366x768 screens, 4K on 1080p screens, and in the future, where 4k screens are ubiquitous (long way yet), 8k on 4k screens and so on. I'd say it is just as important as upscaling -- you could argue that we should all be watching 1080p contents now, which means you will never need to upscale, only downscale in windowed mode. Or even at 720p, you will never need to upscale chroma to 400%, hence there's no benefits for chroma doubling. In fact, a couple of years back, I threw away my entire DVD collection because I bought a 1080p TV! Even my wife couldn't bare to watch DVDs on a 55" HDTV, regardless of upscaling algo used. Last edited by Zachs; 8th October 2014 at 13:34. |
|
8th October 2014, 13:33 | #139 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Who is going to buy 4K media for an 1080p display? In my experience the majority of madVR users are asking about upscaling algorithms. Some are asking about downscaling, but it seems to be the minority, at least that's my subjective impression.
BTW, April 2015 appears to be a bit too optimistic for 4K Blu-Ray: http://www.techradar.com/news/televi...s-2015-1264317 |
Tags |
direct3d, mpdn, nnedi3, opencl, reclock |
Thread Tools | Search this Thread |
Display Modes | |
|
|