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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th October 2013, 12:30   #20281  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
drmpeg, did I really need to see that? Just a link to the file or heaven forbid a thumbnail.. My eyes..
ryrynz is offline   Reply With Quote
Old 10th October 2013, 12:49   #20282  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Quote:
Originally Posted by ryrynz View Post
drmpeg, did I really need to see that? Just a link to the file or heaven forbid a thumbnail.. My eyes..
The blocks or Miley?

Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 10th October 2013, 13:00   #20283  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
Quote:
Originally Posted by THX-UltraII View Post
Morguh Madshi,

I m thinking about getting the AMD 7950. Will this card give me perfect playback with madVR?

If so, am I right that I need to do:

1. set madVR to 0-255
2. set LAV filters to output 'same as input'
3. set nvidia output range to full range (does this need a registry fix or something or will it work with the most recent drivers 'out-of-the-box'?)
4. set nvidia input to 0-255
5. set my display to FULL RANGE

Any other things I need to config like settings in the nvidia control panel? Also, the LAV video filter has got a lot of boxes you can check with the input formats. Which do I select there? Only RGB32 and RGB24 and leave the rest unchecked?
leave everything as it is. the worst you can do is to force rgb output in lav.

Quote:
3. set nvidia output range to full range (does this need a registry fix or something or will it work with the most recent drivers 'out-of-the-box'?)
with nvidia you mostlikly need a tweak. very easy tweak.

Quote:
4. set nvidia input to 0-255
just leave everything to "with the video player settings"

Quote:
Do you recommend to get a dedicated GPU? If so, which brand supports FULL RGB out for sure? NVIDIA or AMD?
you got a hd 2000 and it work right ?

a 7950 is a total over kill but do as you please.
huhn is offline   Reply With Quote
Old 10th October 2013, 13:12   #20284  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
Thanks for your reply huhn.

Ok. So no need in lav to specifically DISable any of the checkboxes?

Can you point me in the right direction for the nvidia tweak?

You told me my Intel card transforms to ycbcr which is bad. So i just picked up a amd for this reason. Also, there has been too many reports about problems with the FULL/LIMITED output of Intel and I just want to be sure all works fine.
THX-UltraII is offline   Reply With Quote
Old 10th October 2013, 13:12   #20285  |  Link
romulous
Registered User
 
Join Date: Oct 2012
Posts: 179
Quote:
Originally Posted by madshi View Post
Are we talking about LAV Video Decoder? If so, I think it's probably nevcairiel's job to fix this. At least I'd ask him first. If he says it's my problem, then I'll look into it.
I was using LAV Video, yes. But LAV+EVR works fine, it is only the combination of LAV+madVR that does not work correctly. That to me says it's a madVR problem, especially as you have had to fix menu issues with madVR in the past. I know people have provided DVD menu samples here on Doom9 in the past, I just don't know how they do it.

Last edited by romulous; 10th October 2013 at 13:14.
romulous is offline   Reply With Quote
Old 10th October 2013, 13:32   #20286  |  Link
Werewolfy
Registered User
 
Join Date: Feb 2013
Posts: 137
Quote:
Originally Posted by madshi View Post
Could use some more samples with light blocking. There are 2 different cases of light blocking:

(1) Only a few artefact blocks spread over the frame, but with hard edges.
(2) Big parts of the image covered in blocks, but the block edges are only barely visible.

Could use samples for both. Thanks!
I tried to capture some scenes with lighter blocking, I hope that's what you're looking for. They're generally on the roof, the walls, the hairs or dark areas. I don't know why but the ratio on screenshots from DVD is not respected but I think it doesn't change anything for you.



















Werewolfy is offline   Reply With Quote
Old 10th October 2013, 14:04   #20287  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by THX-UltraII View Post
I m thinking about getting the AMD 7950. Will this card give me perfect playback with madVR?
Generally, the 7950 sounds powerful enough to do almost anything madVR currently does, as long as your output solution is limited to 1080p. If you need 4K output, that changes a lot of things, but it also depends on the framerate. But then there are also new algorithms coming to madVR in the near and far future, so what is fast enough today might not be fast enough in the future, if you want to make use of all new algorithms. But I don't know myself.

Quote:
Originally Posted by StephaneM View Post
Speaking of deinterlacing, I have not extensively tested everything but how is done this deinterlacing? From what I can read here madVR forward the request to deinterlace to the GPU (so DXVA deinterlacing)?

I'm wondering because I still find (for my personal HTPC use) that using a Cyberlink codec + EVR + DXVA2 with DXVA deinterlacing set to auto is what gives the best result : that is you will never ever see a comb effect (Note : this is on AMD GPU for DVB Broadcasted content)

With madVR sometimes I can clearly see comb effect (mainly on things that doesn't move as sharp objects like static text on commercials).
In theory madVR should produce the same output as EVR, as long as you use the default settings. If you force madVR into film mode, everything changes, though, in that case you'll get IVTC. Which should work very nicely for all film based sources, but you will get really bad results for native video content.

With DVB content and madVR default settings, are those combing artifacts perfectly reproducable? Do they happen the same way at the same frame, every time you try? Or do they change? If you can perfectly reproduce such problems, it would be helpful to get a sample, so that I can look into it.

I'm not sure if the source filter can have an effect on deinterlacing. Normally I would expect the video decoder to decide, in combination with the video renderer. But I only see this from the view point of the video renderer, so I don't know for sure whether the video decoder might behave differently, depending on what the source filter might do. It might make sense to double check this with a different source filter. Or to make it easier, with MPC-HC, just to double check whether it's a problem with madVR or something else...

Quote:
Originally Posted by romulous View Post
I was using LAV Video, yes. But LAV+EVR works fine, it is only the combination of LAV+madVR that does not work correctly. That to me says it's a madVR problem, especially as you have had to fix menu issues with madVR in the past. I know people have provided DVD menu samples here on Doom9 in the past, I just don't know how they do it.
It's been quite a while that I looked into anything like this. But from what I remember, LAV does most of the work and madVR only very little. Whether it works with EVR or not has nothing to say. I still think it's more likely that this needs to be fixed in LAV. I might be wrong, but I think nevcairiel has more experience with DVD menu problems, so it would be better to let him look into it first.

Quote:
Originally Posted by Zachs View Post
using 86.11 i'm getting green colourspace(?) being shifted by about 32 pixels vertically. Switching back to EVR the video renders correctly.

Example here (I found it via google - no idea what the source is or whether it is a legal file):
http://www56.zippyshare.com/v/68759153/file.html

The same also happens with some of my HDTV records (one particular channel).
Works fine here with both LAV Video Decoder and the internal madVR video decoder. Which decoder are you testing with? Probably a bug with that decoder.

Quote:
Originally Posted by Werewolfy View Post
I tried to capture some scenes with lighter blocking, I hope that's what you're looking for. They're generally on the roof, the walls, the hairs or dark areas. I don't know why but the ratio on screenshots from DVD is not respected but I think it doesn't change anything for you.
This is *extremely* light blocking. These might still be useful, to check that nothing goes too much wrong. But in many of those images I have a hard time finding the blocking even when zooming in. Do you maybe have something a bit stronger? So that you can see the blocks without zooming in, but only just?

Thanks!

P.S: The Aspect ratio is good that way, if you would correct it, the blocks wouldn't be 8x8, anymore.
madshi is offline   Reply With Quote
Old 10th October 2013, 14:24   #20288  |  Link
Werewolfy
Registered User
 
Join Date: Feb 2013
Posts: 137
Quote:
Originally Posted by madshi View Post
This is *extremely* light blocking. These might still be useful, to check that nothing goes too much wrong. But in many of those images I have a hard time finding the blocking even when zooming in. Do you maybe have something a bit stronger? So that you can see the blocks without zooming in, but only just?

Thanks!

P.S: The Aspect ratio is good that way, if you would correct it, the blocks wouldn't be 8x8, anymore.
Ok here it's a little easier to spot.

http://imageshack.us/a/img34/2682/qmn.png



http://imageshack.us/a/img268/5052/k8sk.png





Werewolfy is offline   Reply With Quote
Old 10th October 2013, 14:36   #20289  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
Quote:
Originally Posted by THX-UltraII View Post
Thanks for your reply huhn.

Ok. So no need in lav to specifically DISable any of the checkboxes?
no
Quote:
Originally Posted by THX-UltraII View Post
Can you point me in the right direction for the nvidia tweak?

You told me my Intel card transforms to ycbcr which is bad. So i just picked up a amd for this reason. Also, there has been too many reports about problems with the FULL/LIMITED output of Intel and I just want to be sure all works fine.
yeah intel is a big truble maker i get limited rgb with my pc monitor...

there is a file called madNvLevelsTweaker.exe in the madvr folder just use that.
huhn is offline   Reply With Quote
Old 10th October 2013, 14:48   #20290  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
I thought that that tool is only for nvidia.

What is THE best PQ algorithm to use for 1080p when sending out 1080p to my projector? (I ll stay with 1080p outputting for now and let my vw1000 do the 4k upscaling)
THX-UltraII is offline   Reply With Quote
Old 10th October 2013, 15:29   #20291  |  Link
StephaneM
Registered User
 
Join Date: Jun 2006
Posts: 15
Quote:
Originally Posted by madshi View Post
In theory madVR should produce the same output as EVR, as long as you use the default settings.
Well in this case I'm having an issue, but I'm not sure whose fault it is.

Here are my observations:

I use MPC-HC (to rule out issues with my own software), on an AMD graphic cards (fairly old on my dev machine a HD 4600) on Windows 8.
  • DVB MPEG2 SD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (though LAV reports avcodec as the decoder used)
  • DVB H264 HD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (LAV reporte dxva2n as the decoder used)
  • DVB MPEG2 SD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is Ok
  • DVB H264 HD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is not Ok (i would say it's done twice : resulting in heavy stuttering)

So there is a little issue here with deinterlacing when using madVR because I cannot choose a settings in madVR or LAV that will work for everything and use DXVA interlacing.

The same thing happens when I use my own software (which doesn't set any interlaced information on the media type, as I don't use a VIDEOINFOHEADER2 at all, I only set the avg frame rate)

Quote:
With DVB content and madVR default settings, are those combing artifacts perfectly reproducable? Do they happen the same way at the same frame, every time you try? Or do they change? If you can perfectly reproduce such problems, it would be helpful to get a sample, so that I can look into it.
Yes it is perfectly reproducable. Though I'm not always sure that DXVA deinterlacing is used. I'll send you a screenshot of the issue I'm seeing if I can verify that this is happening while madVR is using DXVA deinterlacing.

Quote:
I'm not sure if the source filter can have an effect on deinterlacing. Normally I would expect the video decoder to decide, in combination with the video renderer. But I only see this from the view point of the video renderer, so I don't know for sure whether the video decoder might behave differently, depending on what the source filter might do. It might make sense to double check this with a different source filter. Or to make it easier, with MPC-HC, just to double check whether it's a problem with madVR or something else...
It may have an effect because the source filter have to expose the media type for the video decoder. This is somehow difficult for me to provide this information as I'm using the DVB tables to identify the content of the streams and it seems that the interlacing nature of the video is not one of the thing I can found in a video stream descriptor.
__________________
LM DVB PVR Windows PVR with madVR support - LM Remote KeyMap customize your Windows PC remote
StephaneM is offline   Reply With Quote
Old 10th October 2013, 15:37   #20292  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
Quote:
Originally Posted by THX-UltraII View Post
I thought that that tool is only for nvidia.

What is THE best PQ algorithm to use for 1080p when sending out 1080p to my projector? (I ll stay with 1080p outputting for now and let my vw1000 do the 4k upscaling)
rules: Do not ask "what's best" because this question cannot be answered objectively.
Quote:
Can you point me in the right direction for the nvidia tweak?
yeah ...

Last edited by huhn; 10th October 2013 at 15:39.
huhn is offline   Reply With Quote
Old 10th October 2013, 15:47   #20293  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
My bad: i bought a AMD (7950) and not a NVIDIA card.

Ok, so what you recommend for algo for 1080p content?
THX-UltraII is offline   Reply With Quote
Old 10th October 2013, 15:58   #20294  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Werewolfy View Post
Ok here it's a little easier to spot.
Thanks, these should help.

Quote:
Originally Posted by StephaneM View Post
I use MPC-HC (to rule out issues with my own software), on an AMD graphic cards (fairly old on my dev machine a HD 4600) on Windows 8.
  • DVB MPEG2 SD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (though LAV reports avcodec as the decoder used)
  • DVB H264 HD Interlaced content with LAV Auto for deinterlacing and set to DXVA2 (native) on EVR : Deinterlacing is Ok (LAV reporte dxva2n as the decoder used)
  • DVB MPEG2 SD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is Ok
  • DVB H264 HD Interlaced now with madVR (automatic deinterlacing selected): Deinterlacing is not Ok (i would say it's done twice : resulting in heavy stuttering)
There are 3 possible causes that are coming to my mind right now:

(1) Maybe deinterlacing is not activated, for some reason? Please activate the madVR debug OSD (Ctrl+J). It should tell you whether deinterlacing is active or not. If it's not active, you can force it active by pressing Ctrl+Alt+Shift+D multiple times.

(2) Maybe the field order is detected incorrectly? You can change it by pressing Ctrl+Alt+Shift+F.

(3) Maybe your GPU is too slow for the settings you've chosen? In the madVR debug OSD look at the number of dropped frames. Does it increase all the time? If so, try using "Bilinear" for chroma and image scaling as a quick test.

If the problem is not any of these things, maybe you can upload a sample for me to look at.

Quote:
Originally Posted by THX-UltraII View Post
My bad: i bought a AMD (7950) and not a NVIDIA card.
Actually, unlike Intel and NVidia, AMD usually offers a limited/full switch in the GPU driver control panel. So AMD does this better than NVidia and Intel, and that's why the madNvLevelsTweaker tool isn't even needed for AMD users. I think the switch is called "pixel format" or something like that. Set it to full range (0-255) or whatever it is called.
madshi is offline   Reply With Quote
Old 10th October 2013, 16:42   #20295  |  Link
StephaneM
Registered User
 
Join Date: Jun 2006
Posts: 15
Quote:
Originally Posted by madshi View Post
(1) Maybe deinterlacing is not activated, for some reason? Please activate the madVR debug OSD (Ctrl+J).
It is active. If I deactivated in madVR video is Ok (it is deinterlaced and playing smoothly)

Quote:
(2) Maybe the field order is detected incorrectly? You can change it by pressing Ctrl+Alt+Shift+F.
No doesn't change anything

Quote:
(3) Maybe your GPU is too slow for the settings you've chosen? In the madVR debug OSD look at the number of dropped frames. Does it increase all the time? If so, try using "Bilinear" for chroma and image scaling as a quick test.
There is indeed an impact when changing the downscaling (when I do tests, it's always windowed and so HD video is downscaled).

When I use Nearest Neightbor / Bilinear nothing changes : video stutter badly and madVR reports dropped frames (GPU load 70%), but it doesn't feels like dropped frames.

When I use DXVA2 : video is fine (GPU load 40%)

When I use anything from Mitchell-Netravali to SoftCubic : video is fine (GPU load from 50% to 90%)

When I use anything from Lanczos to Spline : video is not fine (GPU load 90%++), though I think it's because the GPU is clearly overloaded (it looks like normal dropped frames)

Changing chroma upscaling does nothing.

Note : Deinterlacing add approx. 40% of GPU load.

So GPU load explains some of it. Though I do not understand why the video IS deinterlaced even if I turn off deinterlacing in madVR (I can confirm that the video is interlaced)... It's confusing to say the least...
__________________
LM DVB PVR Windows PVR with madVR support - LM Remote KeyMap customize your Windows PC remote
StephaneM is offline   Reply With Quote
Old 10th October 2013, 17:22   #20296  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
How did you confirm that the video is interlaced? And did you disable deinterlacing in LAV Video Decoder, too?
madshi is offline   Reply With Quote
Old 10th October 2013, 17:32   #20297  |  Link
StephaneM
Registered User
 
Join Date: Jun 2006
Posts: 15
Quote:
Originally Posted by madshi View Post
How did you confirm that the video is interlaced?
I load the video into VLC and disable any deinterlacing in VLC and I see comb effect.
Quote:
And did you disable deinterlacing in LAV Video Decoder, too?
Yes in LAV for AMD there is no options to turn on / off hardware interlacing (And of course I do not turn on YADIF software interlacing). Field order is set to Auto / deinterlacing mode is set to Auto

Note : if I set deinterlacing mode to Disabled (progressive) in LAV it doesn't change anything for H264 HD (they seems deinterlaced), while for MPEG2 SD video are not deinterlaced when played back

Oh and I can also confirm that there is no other filters in the graph that would deinterlace without notice (graph = source / splitter / video decoder / renderer)
__________________
LM DVB PVR Windows PVR with madVR support - LM Remote KeyMap customize your Windows PC remote
StephaneM is offline   Reply With Quote
Old 10th October 2013, 17:51   #20298  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Probably VLC is doing something weird/wrong then? I don't know. Normally if a clip looks clean with deinterlacing turned off, that means that it's a soft-telecined movie file. I can look at this, if you want. If so, just upload a small sample with which I can reproduce the combing with VLC. Then I can tell you what's going on with that file.
madshi is offline   Reply With Quote
Old 10th October 2013, 18:28   #20299  |  Link
StephaneM
Registered User
 
Join Date: Jun 2006
Posts: 15
Quote:
Originally Posted by madshi View Post
Probably VLC is doing something weird/wrong then? I don't know. Normally if a clip looks clean with deinterlacing turned off, that means that it's a soft-telecined movie file.
It's not movie content, it's regular broadcast content (when I do the same thing in VLC with broadcasted movie, yes there is no comb effect so that's ok)

Quote:
I can look at this, if you want. If so, just upload a small sample with which I can reproduce the combing with VLC. Then I can tell you what's going on with that file
No it's fine the problem was me the content is not always interlaced, so I was fooled by looking at the wrong spots in the stream, and the info reported by madVR OSD...

So the only confusing thing really is a combination of factors : LAV settings that makes you think hardware deinterlacing is not possible with AMD GPU, and the fact that even with bilinear the problem seems to be with the deinterlacing (wether the content is really interlaced or not).

What difference there is between bilinear and softcubic ? Are they applied at a different time in the rendering pipeline, that may explain what I'm seeing.
__________________
LM DVB PVR Windows PVR with madVR support - LM Remote KeyMap customize your Windows PC remote
StephaneM is offline   Reply With Quote
Old 10th October 2013, 19:12   #20300  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
I'm not sure why you would have problems with bilinear but not with SoftCubic. Usually it's the other way round. Bilinear is ultra-cheap, SoftCubic consumes quite a bit more resources. So something is weird here. Have you been testing in windowed mode or in fullscreen exclusive mode? The latter is usually more reliable...

Could it be possible that you changed the scaling settings to bilinear in the wrong section? E.g. you changed it for upscaling instead of downscaling or something like that? A stupid question, I know, but I don't remember any other user having reported anything like this in the last couple of months. Usually bilinear (or nearest neighbor) has always worked better on slow GPUs than anything else, according to anything users have reported so far.
madshi is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.