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. |
16th January 2013, 21:08 | #16961 | Link | |
Registered User
Join Date: Mar 2007
Location: London, UK
Posts: 576
|
Quote:
|
|
16th January 2013, 21:11 | #16962 | Link | ||||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
I was able to find examples where the Libsamplerate resampler (the default) produced audible aliasing. (in tests specifically designed to reveal it) Quote:
And with Windows 8, until this refresh rate bug gets sorted (unclear on whether it's Nvidia, Windows 8, or madVR at fault) you don't necessarily have the option for perfect timings. I can't get 24Hz playback in Fullscreen Exclusive any more, and a large number of my Blu-rays are 24.0fps, not 23.976. Something I thought was interesting, and may be somewhat related; when playing Deus Ex Human Revolution the other night, it gives me the full list of resolutions and refresh rates to choose from in the config, when set to DX9. If I enable DirectX 11, I can only choose 59Hz. I don't know if that's just the game, or something that's happening with Windows 8, but maybe that has something to do with it? (I know madVR shouldn't be using DX11 now) And if your sync is good enough that ReClock shouldn't have to do any work... then won't it not do any resampling? Quote:
Quote:
With all this talk of deinterlacing, I'll have to get a sample of another film that I just recently received, which is giving poor results regardless of what I set. I suspect it's a mastering issue, but I might as well upload it to see if there's anything that can be done. I'll try and get something up within the hour. EDIT: Won't be for a while now, something came up. Last edited by 6233638; 16th January 2013 at 22:16. |
||||
16th January 2013, 22:11 | #16963 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
I don't think it works that way. Either you enable the resampler or you disable it. I don't think you enable it for one audio block and then disable it for the next, depending on whether the sync is "good" or not. Resampling is based on a sliding window, so enabling/disabling isn't as simple as just turning it on/off. I believe if you allow Reclock to resample, it will *always* do so, regardless of how good the sync is. |
||
16th January 2013, 22:33 | #16964 | Link | |
Registered User
Join Date: Jul 2008
Posts: 157
|
Quote:
My samples are taken from the same file; A recording from BBC One HD, a DVB-T2 channel in the UK. I first took a sample in the middle of the file, played the file and it worked fine, MadVR recognised the interlaced content and automatically did the job. I was so surprised I checked the mediainfo of the file, it was labeled as Interlaced. So i checked the source file in mediainfo and it was labeled "progressive". Then I realised something I read online. The BBC said that it would be switching its broadcasts between 25p and 25i, depending on the program shown. I duly took a sample from the advertisements at the beginning of my recording and as I thought, it was labeled as progressive, meaning the recording changed from 25p to 25i when the program started, the stream was changed. So this begs the question really, I'm guessing this is the cause of the error, but is it possible for Madvr to detect the change? I have uploaded 3 files, one of which i think is when the change occurs, but for certain you can see the differences in flags for interlacing between the files. Obviously at the moment I can just force deinterlacing or just use the Cyberlink decoder. But its odd this occurs using the FFDSHOW Dxva, LAV and Windows default decoder. http://www.mediafire.com/?737zdww3dz4yx Your work Madshi is commendable, the amount of time it must take you to help everyone in this thread. Truly amazing. Thanks! |
|
16th January 2013, 23:26 | #16965 | Link |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
Changing from DXVA2 (under Image downscaling) to something else with DXVA2 native decoding on in LAV Video doesn't make a difference The video basically freezes for 10 seconds and then LAV switches over to software decoding with avcodec and playback starts again.
|
17th January 2013, 00:24 | #16966 | Link | ||
Registered User
Join Date: Mar 2007
Posts: 934
|
Quote:
Quote:
Auto Mode (detected as "video") Film Mode They are identical.
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7 |
||
17th January 2013, 00:56 | #16967 | Link |
Audiophile
Join Date: Oct 2006
Posts: 353
|
I have two crash reports relating to VSync functions. As I remember reading a few pages back about crashes with DXVA2 decoding and two displays, this might already be known. Let me know if they are needed. One crash is in d3d9.dll and the other in madVR.ax
|
17th January 2013, 01:32 | #16968 | Link | |
Registered User
Join Date: Nov 2010
Posts: 6
|
Quote:
The exact steps I took are basically load up the file, pause the file frame step a few times really quickly to try and navigate to a specific frame and it throws a freeze. It then seems to be ok for a few seconds of frame stepping, and then freezes again. Each time it freezes the video also seems to skip a few seconds. I cannot differentiate the freezes between different files, ie. they all seem to freeze equally, so I've uploaded a short file. http://www56.zippyshare.com/v/1652887/file.html |
|
17th January 2013, 04:38 | #16969 | Link | ||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
Auto (Video) Film That's why I have madVR set to force film mode by default, and change it to auto myself if that causes problems, which is rare. (rarer than this, at least) Quote:
It's only when you are dealing with "faulty" chroma samples where there is any real difference between them, and where Jinc 8 or SoftCubic 100 show any benefit. That is extremely rare, and so I do not recommend using those settings for chroma in general use. What I did notice, however, was that the anti-ringing filter introduces artifacts (aliasing?) with that sample: Lanczos 3 (no AR) for Luma. That's not to say you shouldn't use the AR filter, just that it can cause problems in some cases. I also found that going above a certain scaling factor seems to just give me a blank image now. With MPC-HC set to "Double Image" zooming in beyond 2.122 blacks out with Blu-ray. |
||
17th January 2013, 04:57 | #16970 | Link |
Registered User
Join Date: Mar 2009
Posts: 3,646
|
Yeah the AR is making it lumpy, it still cleans up the edges fairly nicely though, I think I'd go with AR disabled there (I'm all for nice smooth gradients) and maybe we'll get improved AR sometime that will be best in all cases.
|
17th January 2013, 08:54 | #16972 | Link | |
Registered User
Join Date: Feb 2006
Posts: 1,076
|
Quote:
PS: Also see no 12 @ http://forum.doom9.org/forum-rules.htm |
|
17th January 2013, 09:31 | #16973 | Link | |
Registered User
Join Date: Sep 2012
Location: Turin
Posts: 104
|
Quote:
http://forum.doom9.org/showthread.php?t=157634 If by "effects" you mean sharpening I personally like "r=1, sharpen edge complex, deband and minimal denoise.txt", I have a plasma and edge sharpening helps, it really depends on personal tastes and your tv/monitor.
__________________
Raven RVZ01 * i7-4790k * 16GB RAM * Zotac GTX 970 4G * SSD 850Evo 500GB * Blu-Ray Burner Slot-In * PSU SFX 80+ Gold 450Watt * Windows 10 64bit * MPCHC+MadVR+SVP * Panasonic 50" VT30 ^^ Last edited by AndreaMG; 17th January 2013 at 09:34. |
|
17th January 2013, 09:51 | #16974 | Link | |
Registered User
Join Date: Mar 2007
Posts: 934
|
Quote:
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7 |
|
17th January 2013, 10:11 | #16975 | Link | |
Registered User
Join Date: Oct 2010
Posts: 131
|
Quote:
// script=ps_3_0 // SuperResolution - V1.0=ps_2_0 // Emmanuel - 6/03/2010 // www.homecinema-fr.com/forum/viewtopic.php?f=1195&t=29814317&start=981 // Super-resolution filter to be used behind a sharpen filter // such as unsharp mask, ffdshow or avisynth LSF. #define FinesseRendu 1 // 0: very fine, 1: end, 2: medium, 3: coarse #define SeuilBruit 0.15 // to prevent the rise in background noise and // The enhancement of small details in the textures // Between 0.1 and 0.2 #define diff 0.49 // affect the rendering "3D-Like", type: // 0.49 => 3D-Like + now // 0.50 => 3D-Like this // 0.51 => 3D-Like - this #define ICG 3 // Intensity of gamma correction, type 0 to 5 // 0: low, 5: high #define IAT 0 // Intensity enhancement of textures, from 0 to 3 type // 0: strong (recommended for diffuser 720p) // 3: low (recommended for diffuser 1080p) sampler s0 : register(s0); float4 p1 : register(c1); #define dx (p1[0]) #define dy (p1[1]) float4 main( float2 tex : TEXCOORD0 ) : COLOR { // Pixel original, blurred, corrected float4 ori = tex2D(s0, tex); float4 flou; float4 cori; float seuil = 0.82 + FinesseRendu/100; // Get the matrix of 9 points // [1, 2, 3] // [4, ori, 5] // [6, 7, 8] float4 c1 = tex2D(s0, tex + float2(-dx,-dy)); float4 c2 = tex2D(s0, tex + float2(0,-dy)); float4 c3 = tex2D(s0, tex + float2(dx,-dy)); float4 c4 = tex2D(s0, tex + float2(-dx,0)); float4 c5 = tex2D(s0, tex + float2(dx,0)); float4 c6 = tex2D(s0, tex + float2(-dx,dy)); float4 c7 = tex2D(s0, tex + float2(0,dy)); float4 c8 = tex2D(s0, tex + float2(dx,dy)); // Edge detection // Filter by sobel float delta1,delta2,value; // Horizontal gradient // [ -1, 0 ,1 ] // [ -2, 0, 2 ] // [ -1, 0 ,1 ] delta1 = (c3 + 2*c5 + c8)-(c1 + 2*c4 + c6); // Vertical Gradient // [ -1,- 2,-1 ] // [ 0, 0, 0 ] // [ 1, 2, 1 ] delta2 = (c6 + 2*c7 + c8)-(c1 + 2*c2 + c3); // Calculation value = sqrt(mul(delta1,delta1) + mul(delta2,delta2)) ; // Gamma adaptive near a transition cori = ori; if ((value >= seuil-diff*1.15)&&(value <= seuil)) cori = pow(ori,1./(1-value/(10.5-ICG/10))); //If ((value> = threshold-diff * 1.15) && (value <= threshold)) cori = float4 (1,0,0,0); // Unsharp Mask to enhance the textures // Calculate blurring (Gaussian) // To normalize the values, divide by the sum of the coef // 1/(1+2+1+2+4+2+1+2+1) = 1/ 16 = .0625 flou = (c1+c3+c6+c8 + 2*(c2+c4+c5+c7)+ 4*cori)*0.0625; // Sharpen textures if they are far from an edge if ((value > SeuilBruit) && (value < seuil-diff)) cori = (2-IAT/10)*cori - (1-IAT/10)*flou; //If ((value> SeuilBruit) && (value <prev-line)) cori = float4 (0,0,1,0); return cori; } |
|
17th January 2013, 10:28 | #16976 | Link | ||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
This is a PAL DVD. 6233638 sent me a sample of this a while ago. This is a rare case, though. Most other PAL DVDs are not as bad as this. Also my AMD card handles this a lot better than 6233638's GPU. Seems that AMD vs. NVidia are quite different in their PAL DVD IVTC quality. Quote:
Last edited by madshi; 17th January 2013 at 10:32. |
||||
17th January 2013, 14:05 | #16978 | Link | |
Registered User
Join Date: Dec 2011
Posts: 54
|
Quote:
I've read some posts on Hydrogenaudio stating that good quality resamplers aren't much different as long as they do their math right. |
|
17th January 2013, 14:28 | #16979 | Link | |
Registered User
Join Date: Nov 2010
Posts: 6
|
Quote:
|
|
17th January 2013, 15:09 | #16980 | Link |
Registered User
Join Date: Jul 2008
Posts: 157
|
Thanks Madshi. Can someone explain what the problem is to me? I have tried to scan through the thread to understand, but have had no success.
So far I notice that the problem relates to "film mode" rather than "video mode". So film mode presumes theres no deinterlacing? Video mode presumes there is? How does this work with pal compared to ntsc? |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|