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. |
10th July 2014, 17:15 | #26861 | Link |
Registered User
Join Date: Nov 2011
Posts: 44
|
4k upconvert
How well does MadVR upconvert 1080p to 4k. Is this incredibly processor intensive? Is it dual or quad upconvert (seems that it wouldn't need to down-convert because 1080p and 2160p are divisible by each other.
I'm upgrading to a 4k TV in the fall and want to use MadVR to upconvert 1080p content. |
10th July 2014, 17:15 | #26862 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
And probably also quite a bit more work than spending an afternoon making sure the existing code builds in x64 and the build system is up to snuff...
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
10th July 2014, 17:53 | #26863 | Link | |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
Quote:
I'm not sure why I'm having this problem since this is on Windows 8.1 and using the latest beta Nvidia driver. |
|
10th July 2014, 18:52 | #26864 | Link |
Guest
Posts: n/a
|
I suddenly have many dropped frames when I playback any video. Could it be nVidia 340.43 drivers? I can't even use NNEDI3 any neurons or Jinc or other options without without many dropped frames... No doubling or quadrupling is enabled. I use latest MPC-HC, LAV, ReClock, and madVR. I set my vdieocard to stock clocks and it doesn't produce any issues in games even when its overclocked, so that can't be the issue...
I don't get it - I haven't changed a thing since the times when I had 0 dropped frames.., except for the drivers. Anyone else having issues with 340.43? |
10th July 2014, 18:52 | #26865 | Link | ||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
|
||||
10th July 2014, 19:04 | #26867 | Link | |
Registered User
Join Date: Dec 2013
Posts: 753
|
Quote:
FWIW 4:2:0 chroma upscaling does exhibit some of the same problems, although it is barely noticeable with most algorithms. Unfortunately I recently discovered that the chromaNEDI algorithm is particularly bad at this. Also, color bleeding is not the only possible artefact that can be caused by 'bad' scaling of the chroma channel. If you accept that chroma can be too high in some regions then you must also accept that chroma can be too low in some regions. And this does seem to decrease the brightness of those pixels. A few possible explanations for why it looks darker are: YCbCr is not a perfect model of human sight, YCbCr only models human sight when used in linear light, chroma and luma are not orthogonal. |
|
10th July 2014, 19:15 | #26868 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
@Shiandow, I can agree with some/most of what you say, but I definitely disagree with your earlier comment: "This creates a small region around the letters where the image is neither white nor red, hence black". There's no way a luma/chroma edge misalignment can cause anything near to black, if the original image is pure red/white. If you still think you're right about that, please give me a numerical example. I think the only reasonable explanation for those black pixels is ringing - or a simple bug in the processing chain.
|
10th July 2014, 19:52 | #26869 | Link |
Registered User
Join Date: Dec 2013
Posts: 753
|
I think I was probably mistaken to call it "black", you're right that what I described can't cause anything close to black. But if you look at the images in the linear light scaling thread you'll see that the pixels around those letters aren't black either, more of a dark red. This just happens to look like there is a very thin (less than 1 pixel wide) black line around those letters.
But I just realised that using a (linear) downscaling algorithm should give higher values in linear light, not lower, so at this point I'm no longer sure what's causing the dark ringing. |
10th July 2014, 20:20 | #26871 | Link |
Registered User
Join Date: Dec 2013
Posts: 753
|
Well, not sure if it is any help, but it should be impossible for any linear downscaling algorithm to give lower values in linear light than in gamma light because of Jensen's inequality. This holds for any algorithm that takes some kind of weighted average of the surrounding pixels and where these weights do not depend on the pixel values, which I think includes all downscaling algorithms used by MadVR. So it seems that it is not just a bad combination of algorithms as I originally thought.
|
10th July 2014, 20:35 | #26872 | Link | |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Quote:
Shiandow's description is a bit over simplified, it isn't the lack of a value leaving a default black but rather a result of displaying a pixel with red's luma but white's chroma. Even this is over simplified because it isn't the exact color pixel's luma and chroma but the small position differences due to the different resamplers that are interpolating/scaling differently along the edges. I guess you can think of the black in the red as the white letters' chroma bleeding? Edit: Blue and white should give the same effect with an even darker black but it might be harder to notice tiny black edges on blue. Last edited by Asmodian; 10th July 2014 at 20:51. |
|
10th July 2014, 21:07 | #26873 | Link | |
Registered User
Join Date: Dec 2013
Posts: 753
|
Quote:
|
|
10th July 2014, 21:09 | #26874 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Ok, but it's not black, but darkish gray (RGB value 54,54,54, which is some distance away from black). Furthermore this can only happen with Nearest Neighbor interpolation, which no sane person would ever use. With any sort of linear interpolation this won't happen. Instead you'll get a softly blended Luma and Chroma channel. So it will not be Red's luma exactly, but a mixture of Red's and White's luma, and it will also be a mixture of Red's and White's chroma, which should make the resulting color quite a bit brighter.
|
10th July 2014, 21:50 | #26875 | Link |
Registered User
Join Date: May 2009
Posts: 33
|
Is there a consensus on Luma Doubling vs quadrupling for 480p source, 1080p target?
Basically, is it better to do 480p -> 1920 -> 1080 via quadrupling and downscaling 480p -> 960 -> 1080 via doubling and upscaling (lanczos AR) |
10th July 2014, 22:18 | #26876 | Link | |
Registered User
Join Date: Nov 2012
Posts: 167
|
Quote:
Scale factor for 960->1080 is 1.125, so doubling and downscaling it seems pointless. If you can use doubling with 128 neurons or quadrupling with 32+32 neurons (random numbers, not sure how the performance actually scales), you might actually get better results from more neurons with "only" doubling and perhaps Jinc3+AR instead of Lanczos+AR. If you have power to spare and can max both doubling and quadrupling, consider the crazy power consumption/heat you'll be getting. Anyway, that's just my opinion. Consider running some tests to see for yourself both the image quality and performance/power consumption implications. |
|
10th July 2014, 23:03 | #26877 | Link | ||
Troubleshooter
Join Date: Feb 2014
Posts: 339
|
Quote:
If you can get to a point where you can pause, right click on a video, and hover over filters - what does it list? Lets try this to make your registry key. Open a blank text file (notepad or wordpad preferably) and type or paste: Code:
[HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL] "forceVendor"="Nvidia" I'm also thinking you might want to try using a codec/filter repair tool in case you have broken or incorrectly associated codec. You could try using the codec tweak tool linked below to check for broken filters/codec, and re-associate filters to types of files. http://www.softpedia.com/get/Tweak/V...eak-Tool.shtml After opening the program select: General: fixes put a check in detect and remove broken VFW/ACM codecs and detect and remove broken DirectShow filters. (If you want you could also check the re-register base DirectShow filters). Under Win7DSFilterTweaker Preferred decoders I also recommend settings everything to recommended if given the option. Quote:
Oddly he doesn't seem to be the only one encountering this type of problem right now. Its also been reported by someone else here: http://haruhichan.com/forum/showthre...ll=1#post41448
__________________
System specs: Sager NP9150 SE with i7-3630QM 2.40GHz, 16 GB RAM, 64-bit Windows 10 Pro, NVidia GTX 680M/Intel 4000 HD optimus dual GPU system. Video viewed on LG notebook screen and LG 3D passive TV. Last edited by Anime Viewer; 10th July 2014 at 23:16. Reason: NNEDI3 to get the key question added |
||
11th July 2014, 00:04 | #26878 | Link |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
I added the reg key again, just to make sure. I ran the fixes in the codec tweak tool as well as selected the recommended preferred decoders. I also had previouly disabled Media Foundation and MS Codec Tweaks in Win7DSFilterTweaker.
Upon selecting NNEDI3 for image upscaling, the graphics card key was added under OpenCL, "GeForce GT 750M" with Binary (binary), DriverVersion (string), and KernelCRC (DWORD) inside. However, the same problem remains as pointed out by the other thread up there as well. Black screen, madVR OSD frozen, audio working. However now I can close the player and MPC-HC and madVR exit gracefully without the need to manually kill the processes. Filters currently loaded: - DirectSound: Speakers (Realtek High Defi... - madVR - LAV Audio Decoder (internal) - LAV Video Decoder (internal) - LAV Splitter Source (internal) Last edited by dansrfe; 11th July 2014 at 00:06. |
11th July 2014, 00:38 | #26879 | Link | |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Quote:
But when using a very sharp resize for luma (like NNEDI) and a softer resize for chroma (anything else) it makes sense the chroma would blur more. Luma isn't blurred very much while chroma is so the border red pixels don't get their luma lightened as much as they get their chroma whitened. I hope that made sense. Of course the border white pixels get their chroma reddened more then their luma darkened too but that is a light pink so it is not very noticeable. Last edited by Asmodian; 11th July 2014 at 02:29. |
|
11th July 2014, 06:45 | #26880 | Link | |
Registered User
Join Date: Feb 2009
Posts: 77
|
Quote:
On different occations in the past I've found subtile behaviour differences using the external versions. i.e. disable ALL the itnernall decoders/splitters etc. It might be worth a try.
__________________
ASUS H97 Plus, Intel i5-4690 2.50Ghz, 16GB DD3 1600, XFX R9 270X 2GB DDR5, LynxTwo B Win 8.1 Pro with WMC 64Bit, Kodi, MPC-HC 1.7.8, LAV 0.65.0, Reclock 1.8.8.5, HD AnyDVD |
|
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|