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 5th October 2013, 09:08   #20241  |  Link
Coldblackice
Registered User
 
Join Date: Jul 2011
Posts: 10
Quote:
Originally Posted by huhn View Post
make sure your refresh rate match's the content you play. or try smooth motion.

as long as dropped frames repeated fraes and delayed frames don't increase madvr should work fine.

you can press control + r to reset the stats
Thanks, good to know.

If system resources happened to be an issue, like memory or CPU, would that manifest itself in the form of delayed/repeated/dropped frames? Or could those affect performance while not bearing on those counts?
Coldblackice is offline   Reply With Quote
Old 5th October 2013, 10:17   #20242  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by dansrfe View Post
What should we look for in providing samples of banding due to 8bit encoding?
Look for Blu-Rays which look clean, but have very slight banding artifacts which are removed when you activate madVR's debanding in "low" setting.

Quote:
Originally Posted by huhn View Post
the eva 3 bd has 40 mbit vbr and a sceen like this

http://picload.org/image/olpdcil/00002.m2ts_snaps.png
Does the madVR debanding take care of this?

Quote:
Originally Posted by clsid View Post
madshi, have you considered running post-processing algorithms such as Deband in software using the CPU before copying the data to the GPU?

GPU resources are very scarce, while most here will have plenty of CPU resources to spare. Playing a 1080p video uses less than 10% on a decent CPU.
I know it wouldn't work with DXVA native, but that is hardly a necessity on modern systems. Plus you could offer a Shader implementation as well.
Of course the optimal solution would be to have every algorithm available on both CPU and GPU and then do a dynamic load balancing. The problem for me is that writing every algorithm for GPU and CPU means not only twice the amount of work, but actually more than that, because optimizing algorithms like this for CPU is much more difficult than optimizing GPU pixel shaders. SSE2 can do a lot of tricks, but writing really well optimized SSE2 code takes hours.

Another problem is that on the CPU side I have the decoded frames in the format the decoder sent. There are dozens of different pixels formats that the decoder could send. 8bit, 9bit, 10bit, 11bit, 12bit, 16bit. 4:2:0, 4:2:2, 4:4:4. YCbCr or RGB. Planar or interleaved etc etc. I've routines for all those formats to upload them to the GPU with matching texture formats. Once they're on the GPU and after deinterlacing and color conversion I only have one format and pixels shaders are written without caring about whether the texture buffers are 8bit or 16bit or whatever. On the CPU side I would either have to write separate SSE2 routines for every possible pixel format, or I'd have to convert every format to one common "processing" format. But then in order to be able to handle all formats, I'd also have to support chroma upsampling on the CPU, maybe even video mode deinterlacing. And I'd have to do all processing in 16bit instead of 8bit.

I hope you can understand now why I'm currently only writing GPU processing algorithms. Maybe some day far away I could also make some processing steps available on the CPU, but I don't have the resources to do that anytime soon.

Quote:
Originally Posted by Coldblackice View Post
If system resources happened to be an issue, like memory or CPU, would that manifest itself in the form of delayed/repeated/dropped frames? Or could those affect performance while not bearing on those counts?
If the CPU or system RAM is too slow/small, probably the decoder queue will go empty in the madVR OSD (Ctrl+J). If the GPU is too slow, the other queues might go empty. As long as there are no frame drops, presentations glitches and delayed frames, everything should be fine. If you still have laggy playback, something else is probably causing it. E.g. maybe your refresh rate doesn't match the movie framerate or something like that...

Quote:
Originally Posted by Werewolfy View Post
Hi, this is my first post here. I've tested the new deband function and I think that even at its low setting, it blows away too many details in dark areas.

Here some examples :

deband off http://img12.imageshack.us/img12/5824/jyf5.png
Quote:
Originally Posted by 6233638 View Post
Quote:
Originally Posted by 6233638 View Post
Quote:
Originally Posted by 6233638 View Post
Quote:
Originally Posted by ryrynz View Post
Can I have a 5 second (or so) sample from these movie files, which contains the frames you've been testing with?

I've found that the debanding algorithm produces slightly different results when testing with real movie files, compared to PNG files. Might have to do with levels, chroma subsampling or whatever. So in order to really reproduce your results, I need access to a (very small) sample.

Thanks!
madshi is offline   Reply With Quote
Old 5th October 2013, 10:31   #20243  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
As requested.
The particular frame I was using is near the end. Clip is about 30 seconds long.

Last edited by ryrynz; 5th October 2013 at 10:33.
ryrynz is offline   Reply With Quote
Old 5th October 2013, 13:47   #20244  |  Link
Werewolfy
Registered User
 
Join Date: Feb 2013
Posts: 137
Here the sample requested http://www.mediafire.com/download/ya...D)_-_Copie.mp4
Werewolfy is offline   Reply With Quote
Old 5th October 2013, 15:54   #20245  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,921
Quote:
Does the madVR debanding take care of this?
the top part yes but the rest is not really affected:

http://abload.de/img/eva3s1off93ado.png
http://abload.de/img/eva3s1lowlxzfy.png
http://abload.de/img/eva3s1highc1z64.png

high really eats details in dark scenes:
http://abload.de/img/eva3s2off3tay8.png
http://abload.de/img/eva3s2lowwxl9j.png
http://abload.de/img/eva3s2high4fa8f.png
huhn is offline   Reply With Quote
Old 6th October 2013, 05:42   #20246  |  Link
truexfan81
Registered User
 
truexfan81's Avatar
 
Join Date: Nov 2012
Posts: 138
Quote:
Originally Posted by huhn View Post
the top part yes but the rest is not really affected:

http://abload.de/img/eva3s1off93ado.png
http://abload.de/img/eva3s1lowlxzfy.png
http://abload.de/img/eva3s1highc1z64.png

high really eats details in dark scenes:
http://abload.de/img/eva3s2off3tay8.png
http://abload.de/img/eva3s2lowwxl9j.png
http://abload.de/img/eva3s2high4fa8f.png
can someone please make a deband build where pressing F2 to save actually works? i'd like to set it on light one time and forget about it.

thanks
truexfan81 is offline   Reply With Quote
Old 6th October 2013, 07:11   #20247  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by truexfan81 View Post
can someone please make a deband build where pressing F2 to save actually works? i'd like to set it on light one time and forget about it.

thanks
Do remember that this was a test build for evaluating this feature only, and also what you've asked for has already been requested and I'm sure Madshi is aware of it.

If you have some videos you want it deband to be active on edit the filename of the videos with deband=low, hopefully a new test build will surface with the ability to save the state.
ryrynz is offline   Reply With Quote
Old 6th October 2013, 10:06   #20248  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by ryrynz View Post
As requested.
The particular frame I was using is near the end. Clip is about 30 seconds long.
Quote:
Originally Posted by Werewolfy View Post
Thx.

Quote:
Originally Posted by huhn View Post
the top part yes but the rest is not really affected:

http://abload.de/img/eva3s1off93ado.png
http://abload.de/img/eva3s1lowlxzfy.png
http://abload.de/img/eva3s1highc1z64.png
Is that the same image you posted the last time? I don't remember this one. Anyway. I don't see much (if any) banding in the original image? Might be my lacking computer monitor, though.

Quote:
Originally Posted by truexfan81 View Post
can someone please make a deband build where pressing F2 to save actually works?
There's only one who can do that, and I won't, because this is just a test build I didn't even plan to release. I just released it because some guys wanted to play with it. It's not meant to be used for actual playback yet. You'll need to have a bit of patience and wait for the official version, which is still some time away...

-------

Do you guys happen to have some images/scenes with typical blocking artifacts (I mean those 8x8 MPEG2 blocks)?

If so, I'd appreciate some screenshots. No samples needed for this, screenshots will do fine, but please use PNG and not JPG. Both (1) images with rather light blocking and (2) images with very heavy blocking would be useful. Thanks!
madshi is offline   Reply With Quote
Old 6th October 2013, 13:42   #20249  |  Link
romulous
Registered User
 
Join Date: Oct 2012
Posts: 179
Hi madshi,

I have a DVD that has some menus that madVR does not work correctly with (it doesn't correctly highlight the menu options when you mouse over them - EVR works fine). I'm happy to log it into the tracker, but how would I get you a sample of the menus for you to check with?

Thanks!
romulous is offline   Reply With Quote
Old 6th October 2013, 13:48   #20250  |  Link
Werewolfy
Registered User
 
Join Date: Feb 2013
Posts: 137
Quote:
Originally Posted by madshi View Post
Do you guys happen to have some images/scenes with typical blocking artifacts (I mean those 8x8 MPEG2 blocks)?

If so, I'd appreciate some screenshots. No samples needed for this, screenshots will do fine, but please use PNG and not JPG. Both (1) images with rather light blocking and (2) images with very heavy blocking would be useful. Thanks!
Is that what you want? The last one is the picture I use to test deblock filters because when this kind of filter is too high, it blurs the details on the ground.









Werewolfy is offline   Reply With Quote
Old 6th October 2013, 14:17   #20251  |  Link
GCRaistlin
Registered User
 
GCRaistlin's Avatar
 
Join Date: Jun 2006
Posts: 353
1. [up] Is there a way to force madVR to switch the monitor to 60 Hz when playing a 29.97 fps video? "1280x1024p60" setting doesn't work.
2. Is black screen expected when playing a BluRay (1920x1080i, MPEG-4 AVC, 29.97 fps) through LAV Video with deinterlacing enabled in Video mode (50p/60p)?
__________________
Windows 8.1 x64

Magically yours
Raistlin
GCRaistlin is offline   Reply With Quote
Old 6th October 2013, 15:37   #20252  |  Link
Skankee
Registered User
 
Join Date: Dec 2012
Posts: 17
Quote:
Originally Posted by madshi View Post
...(2) images with very heavy blocking
I think this is a sample with a lot of blocking:

http://s14.directupload.net/images/user/131006/3ocxo7er.png


( if 16:9 is more useful:
http://s1.directupload.net/images/user/131006/dirfozb6.png )
Skankee is offline   Reply With Quote
Old 6th October 2013, 16:10   #20253  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,921
Quote:
Originally Posted by madshi View Post
Is that the same image you posted the last time? I don't remember this one. Anyway. I don't see much (if any) banding in the original image? Might be my lacking computer monitor, though.
i just mixed them up this is debanded
http://abload.de/img/eva3s2off3tay8.png
http://abload.de/img/eva3s2lowwxl9j.png
http://abload.de/img/eva3s2high4fa8f.png


and this lost detail or get really dark when deband is enabled

http://abload.de/img/eva3s1off93ado.png
http://abload.de/img/eva3s1lowlxzfy.png
http://abload.de/img/eva3s1highc1z64.png
huhn is offline   Reply With Quote
Old 6th October 2013, 16:18   #20254  |  Link
michkrol
Registered User
 
Join Date: Nov 2012
Posts: 167
Quote:
Originally Posted by GCRaistlin View Post
1. [up] Is there a way to force madVR to switch the monitor to 60 Hz when playing a 29.97 fps video? "1280x1024p60" setting doesn't work.
It should be "1024p60" or perhaps "1024p59" to get ~59,93Hz. Anyway you only enter vertical resolution.
Quote:
Originally Posted by GCRaistlin View Post
2. Is black screen expected when playing a BluRay (1920x1080i, MPEG-4 AVC, 29.97 fps) through LAV Video with deinterlacing enabled in Video mode (50p/60p)?
Are you using LAV's deinterlacing or madVR's? if LAV's, try disabling it
Are you using hardware acceleration? if yes, try disabling it.
Also a screen with OSD (CTRL+J) might help identify the problem.
michkrol is offline   Reply With Quote
Old 6th October 2013, 23:43   #20255  |  Link
StephaneM
Registered User
 
Join Date: Jun 2006
Posts: 15
Quote:
Originally Posted by madshi View Post
You'll need to have D3D9 installed and updated to the latest version. IIRC it's not installed by default, at least not with all helper dlls etc.
A quick follow up on this for those who may be concerned in the future.

For shaders to work when using madVR with a C# application (WinForm or WPF) and using a managed interop like Directshow Lib, you'll need to either :

* have DirectX 9c installed
* or have D3DCompiler_43.dll located in the same folder as your executable.

Otherwise you'll receive an E_FAIL error code when applying the shaders through the madVR interface (you'll also receive this error when your shader cannot be compiled).

So for instance on Windows 8, all you need to do is to include D3DCompiler_43.dll for shaders to work (no need to install DirectX runtime)

I'm wondering if this should be specified in the IMadVRExternalPixelShaders / mvrinterfaces.h file as a quick notice to prevent future developers having to lookup for this information.

Regards,
--
Stéphane.
StephaneM is offline   Reply With Quote
Old 7th October 2013, 11:21   #20256  |  Link
tp4tissue
Registered User
 
tp4tissue's Avatar
 
Join Date: May 2013
Posts: 708
Question guys... If I am playing a 1080p video at 1080p native res... Is madvr doing anything "more" than other renderers? /excluding smoothmotion, deinterlace
__________________
Ghetto | 2500k 5Ghz
tp4tissue is offline   Reply With Quote
Old 7th October 2013, 12:00   #20257  |  Link
Acetyl
Registered User
 
Join Date: Jul 2013
Posts: 3
Quote:
Originally Posted by madshi View Post
Do you guys happen to have some images/scenes with typical blocking artifacts (I mean those 8x8 MPEG2 blocks)?

If so, I'd appreciate some screenshots. No samples needed for this, screenshots will do fine, but please use PNG and not JPG. Both (1) images with rather light blocking and (2) images with very heavy blocking would be useful. Thanks!
Starting from the heaviest.

http://i3.minus.com/ibwRaQWV9q3dPA.png

http://i3.minus.com/itwirQgJUOJJ9.png

http://i6.minus.com/ibrwJ5znJFerut.png

Last edited by Acetyl; 7th October 2013 at 12:10.
Acetyl is offline   Reply With Quote
Old 7th October 2013, 12:13   #20258  |  Link
michkrol
Registered User
 
Join Date: Nov 2012
Posts: 167
Quote:
Originally Posted by tp4tissue View Post
Question guys... If I am playing a 1080p video at 1080p native res... Is madvr doing anything "more" than other renderers? /excluding smoothmotion, deinterlace
Read the first post.

With default settings maVR does things "better": you get higher quality chroma upscaling (necessary for >95% of content), better precision for calculations (higher quality RGB conversion), possibly better VSync, exclusive mode is great in terms of improved usability, those are probably most important for average user (like me).

With a little tweaking: you get the ability to calibrate your display, correct black levels with broken drivers/codecs/old (incompatible) TVs, switch refresh rate to match video, ability to use xySubFilter (higher quality subtitles and better performance, especially in ASS format), ability to set scaling algorithms to your liking (or hardware restrictions), the list goes on and on
michkrol is offline   Reply With Quote
Old 7th October 2013, 22:33   #20259  |  Link
tp4tissue
Registered User
 
tp4tissue's Avatar
 
Join Date: May 2013
Posts: 708
Quote:
Originally Posted by michkrol View Post
Read the first post.

With default settings maVR does things "better": you get higher quality chroma upscaling (necessary for >95% of content), better precision for calculations (higher quality RGB conversion), possibly better VSync, exclusive mode is great in terms of improved usability, those are probably most important for average user (like me).

With a little tweaking: you get the ability to calibrate your display, correct black levels with broken drivers/codecs/old (incompatible) TVs, switch refresh rate to match video, ability to use xySubFilter (higher quality subtitles and better performance, especially in ASS format), ability to set scaling algorithms to your liking (or hardware restrictions), the list goes on and on
Is chroma up-sampled when I'm playing 1080p material to 1080p monitor?

I recall reading some where that chroma is stored in a lower res.. Is that the "upsampling" you're refering to?

I read this a very long time ago..

But I'm building a SINGLE-fan pc for my mother right now, and Just really wondering if a 4770k IGP can cut it for native res. Because I know it doesn't do it @ 2560x1600 on my monitor.

Mom will be using a Large tv panel so it will just run at 1080p, she has old people eyes where she has trouble focusing on things that are close up. hence the large tv.
__________________
Ghetto | 2500k 5Ghz
tp4tissue is offline   Reply With Quote
Old 7th October 2013, 22:44   #20260  |  Link
e-t172
Registered User
 
Join Date: Jan 2008
Posts: 589
Quote:
Originally Posted by tp4tissue View Post
Is chroma up-sampled when I'm playing 1080p material to 1080p monitor?
Yes. Typical video is stored as 4:2:0 where luma is 4X the resolution of chroma. In order to render it you need to upscale chroma to the resolution of luma.
e-t172 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 00:14.


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