View Full Version : Media Player .NET (MPDN) - D3D HQ GPU Video Renderer [v2.49.0/v1.31.0 27 Dec 2018]
romulous
19th December 2014, 12:18
With this video?
https://dl.dropboxusercontent.com/u/105555957/Test.mp4 (9.01 MB)
No changes to the default MPDN config (except to install the renderscripts and enable SuperRes or ImageProcessor), and then go straight to 50%. Hopefully you should see lots of little blocks appear all over the video as it plays. LAV Video is set to software mode, and I have a NVIDIA card (GTX 660Ti).
Zachs
19th December 2014, 12:25
With this video?
https://dl.dropboxusercontent.com/u/105555957/Test.mp4 (9.01 MB)
No changes to the default MPDN config (except to install the renderscripts and enable SuperRes or ImageProcessor), and then go straight to 50%. Hopefully you should see lots of little blocks appear all over the video as it plays. LAV Video is set to software mode, and I have a NVIDIA card (GTX 660Ti).
Still no problem.
EDIT: Tested on both NVIDIA GTX560 and Intel HD3000.
romulous
19th December 2014, 12:37
Hm, strange. I'm even using the most current versions of the renderscripts, so no idea why it is only on my system. This is what it looks like FWIW:
http://i.imgur.com/O5Kxo40.png
Zachs
19th December 2014, 12:48
Hm, strange. I'm even using the most current versions of the renderscripts, so no idea why it is only on my system. This is what it looks like FWIW:
http://i.imgur.com/O5Kxo40.png
Using ImageProcessor without shader is exactly the same as using no renderscripts. Not sure why it would change its behaviour - especially since no one else seems to be able to replicate the problem. Does it work fine in any other sizes?
ryrynz
19th December 2014, 12:51
With this video?
https://dl.dropboxusercontent.com/u/105555957/Test.mp4 (9.01 MB)
Tested on my HD3000 and 750Ti. No problems. Try an install of the drivers ticking the clean install box.
Zachs
19th December 2014, 12:58
@ryrynz
How's 750ti's performance using SuperChromaRes + SuperRes 3 pass with NEDI like?
My ailing old HTPC 9600GT is definitely due for an upgrade! LOL!
romulous
19th December 2014, 12:59
Does it work fine in any other sizes?
Yes, it only happens at 50% on this particular video (have not found another vide that has the problem as yet, though none of them have been that same small resolution to begin with either).
It is clearly size related - if I manually resize the MPDN window bigger, at some point, the corruption stops occurring.
Zachs
19th December 2014, 12:59
Player Extensions now available on github - https://github.com/zachsaw/PlayerExtensions
I'll make a playlist extension next.
romulous
19th December 2014, 13:04
I tried to test another 320x240 video (same as test video) to see if it had the same problem - MPDN crashed:
TITLE: Mpdn.VideoPlayer Error
------------------------------
An unexpected error 'Mpdn.VideoPlayer.DsGraphException' has occurred.
------------------------------
ADDITIONAL INFORMATION:
Failed to render file 'K:\Videos\Video Game\F.E.A.R\E3 2004 Demo [t_fear_e3_2k4_demo].wmv' (Mpdn.VideoPlayer)
------------------------------
Exception from HRESULT: 0x80040217 (Mpdn.VideoPlayer)
------------------------------
BUTTONS:
&Ignore
&Abort
------------------------------
Not very specific, but that is all it gave me.
romulous
19th December 2014, 13:07
But I did find another 320x240 video that MPDN would play without crashing, and it too at 50% shows the corruption. Not that I would actually play a video that small at 50% (I would bump it up to 200%), but 50% was just the first combination I hit, so I stumbled across it by accident (it won't affect me, was just curious as to why it happened).
Zachs
19th December 2014, 13:20
See OP for WMV files. Perhaps I should make that line BOLD and RED so people would bother reading :)
EDIT: For the record, any DsGraphException that causes a file to fail to render is usually due to LAV Video Decoder not being able to decode the file. MPC-HC shows the same "fail to render" message too if you make it use the same LAV Video Decoder (and not the built-in ones).
romulous
19th December 2014, 13:31
Do you mean the bit about needing to enable WMA in LAV? It seems odd that a filter rejecting a stream would cause the player to crash.
Zachs
19th December 2014, 13:41
Do you mean the bit about needing to enable WMA in LAV? It seems odd that a filter rejecting a stream would cause the player to crash.
That isn't a crash. It is just a custom error message box that happens to show more information. I could just as well show a message box that says "Fail to render file", but I chose to include more information in there so if there's a real problem, I could debug it.
Perhaps I should make it default to just a simple message box and to enable debugging, you'd have to change some settings. Otherwise it seems most people consider it a crash when they see that box.
pirlouy
19th December 2014, 14:25
The scriptish way to use hotkeys allows powerful config for advanced users.
For classical users, it would be good if someone manage to read a .txt file like in video games when you can "bind keys".
For example, in a file named hotkeys.txt, there would be:
LClick=Pause
DLClick=None
MClick=FullScreen
WheelUp=JumpBackward
WheelDn=JumpForward
Ctrl+Shift+M=AnyFunction
And the player extension would read it.
romulous
19th December 2014, 14:44
Perhaps I should make it default to just a simple message box and to enable debugging, you'd have to change some settings.
I would suggest that is a good idea!
Otherwise it seems most people consider it a crash when they see that box.
Yes, I personally think more people are likely to think that is a crash, than those that would not.
Anima123
19th December 2014, 21:51
It can get enjoyable quality with SuperRes of 2 passes, NEDI enabled, strength 0.16 and other parameters 0.
Only my poor nVidia 640M still suffers rendering time increasing with time. I am considering buying a gaming laptop even.
Still need to be sure there's definitely no other options left before I do that which would cost me a lot of money.
Zachs
20th December 2014, 01:59
I would suggest that is a good idea!
Yes, I personally think more people are likely to think that is a crash, than those that would not.
Done. v2.15.1.
Zachs
20th December 2014, 02:01
The scriptish way to use hotkeys allows powerful config for advanced users.
For classical users, it would be good if someone manage to read a .txt file like in video games when you can "bind keys".
For example, in a file named hotkeys.txt, there would be:
LClick=Pause
DLClick=None
MClick=FullScreen
WheelUp=JumpBackward
WheelDn=JumpForward
Ctrl+Shift+M=AnyFunction
And the player extension would read it.
Yeah player extension could be written to allow for that too. I might write an example of how to remap keys and hopefully someone would be able to take it further to allow what you suggested.
Again, if anyone knows C# and would like to help out, send me a PM. :thanks:
Anima123
20th December 2014, 04:49
It can get enjoyable quality with SuperRes of 2 passes, NEDI enabled, strength 0.16 and other parameters 0.
Only my poor nVidia 640M still suffers rendering time increasing with time. I am considering buying a gaming laptop even.
Still need to be sure there's definitely no other options left before I do that which would cost me a lot of money.
Just noticed, SuperRes with NEDI enabled, even 1 round, the rendering time still increases gradually, which strongly suggest that there's something not right.
I really hope that Shaindow can dig a little deeper on this issue, once there's one.
Edit: As comparison, I also tested SuperRes without NEDI, though in heavy load, the GPU can handle 4-passes, without rendering time increase issue at all.
Zachs
20th December 2014, 05:25
Is your GPU ram constant or increasing?
Anima123
20th December 2014, 07:54
It was constant, and so are GPU load and the temperature.
ryrynz
20th December 2014, 11:39
@ryrynz
How's 750ti's performance using SuperChromaRes + SuperRes 3 pass with NEDI like?
My ailing old HTPC 9600GT is definitely due for an upgrade! LOL!
Fluid motion active, 10bit output on DX 10.1.
3 pass SuperRes and SuperChromaRes on defaults.
712x480 30 fps
Render 20ms Display 0.26ms GPU load 39% render queue 8/8
1280x720 24fps
Render 25ms Display 0.25ms GPU load 55% render queue 5/8
Shiandow
20th December 2014, 17:41
It was constant, and so are GPU load and the temperature.
Unfortunately it's very unlikely that I'll be able to do something about your problem, unless you can find out what is increasing your render times. It's also very odd that it's apparently becoming slower without affecting GPU load. Maybe your CPU or RAM usage is gradually increasing somehow?
Zachs
23rd December 2014, 06:42
Added a very simple playlist player extension in github. Must be used with MPDN v2.15.2 and above.
There's also a KeyRemap example script in the Examples folder. If you want to use it, you'll need to copy/move the file up a folder (into MPDN's PlayerExtensions folder). Feel free to customize it.
strangeluck
23rd December 2014, 07:00
Added a very simple playlist player extension in github. Must be used with MPDN v2.15.2 and above.
There's also a KeyRemap example script in the Examples folder. If you want to use it, you'll need to copy/move the file up a folder (into MPDN's PlayerExtensions folder). Feel free to customize it.
When placing the playlist extensions folder downloaded from github in my MPDN directory I receive the following error message when starting the player:
https://i.imgur.com/Pgwj8qS.png
Am I doing something wrong?
Zachs
23rd December 2014, 07:29
Sorry. I'll get it fixed in a while.
EDIT: Should be fixed. Grab the latest player extensions from github (or replace the designer file I just updated).
strangeluck
23rd December 2014, 07:39
Sorry. I'll get it fixed in a while.
EDIT: Should be fixed. Grab the latest player extensions from github (or replace the designer file I just updated).
No more error and the playlist extension is now working, thank you.
ryrynz
23rd December 2014, 10:31
Pasted all .cs files from github into the playerextensions dir of .2, many errors.. with playerextension.cs, CS1001 identifier expected, CS1513 expected. What did I dumb?
Can't close from taskbar when this happens, have to close the task via task manager. A more graceful error system would be cool, not a big deal though at this stage.
Zachs
23rd December 2014, 10:54
Have you made sure all the files there? Also make sure you delete all files / folders in PlayerExtensions before you extract the new ones.
Zachs
23rd December 2014, 10:56
BTW, I can't make multi-extended-select drag-drop reordering work with the ListBox control without it exhibiting weird behaviours. If anyone wants to take a stab at it, please do and let me know how it could be added.
ryrynz
23rd December 2014, 12:22
Have you made sure all the files there? Also make sure you delete all files / folders in PlayerExtensions before you extract the new ones.
Downloaded the zip rather than the individual files which were a lot bigger.. loads fine now.
Playlist window snapping would be cool.
Changelog for .2?
Zachs
23rd December 2014, 12:52
Hit Ctrl+F5 if you're not getting the updated change logs.
BTW, .3 is out. Also more updates on github :)
Zachs
24th December 2014, 04:39
Added drag-drop reordering for playlist editor. Get latest from github.
Blackfyre
27th December 2014, 22:38
Hey Zachs I noticed that sometimes even though there is no delayed frames or dropped frames there could be lag/stuttering (by that I mean the video doesn't "appear" as smooth that's all).
For example, using Image Processor = LumaSharpen on a 720p video, when I press CTRL+J, the two "render" times at the bottom are 5.8ms and 7.12ms (when in full-screen exclusive mode).
My resolution is 2560x1440 @ 60Hz
Second Example, using SuperRes (Passes 10, Sharpness 1.2, Anti-Aliasing 1.0, Anti-Ringing 1.0, Use Nedi), on the same 720p video, the two "render" times at the bottom are 26ms and 28ms.
In both instances there is 0 dropped frames and delayed frames. None. However during the second example the video appears to be stuttering slightly. Because the render times take longer?
Is that normal? Or are my eyes seeing things?
Also I know there's Directx 9 & 10.1 support for the Video Renderer... But is there a way to get DirectX 11 for those of us who have a DX11 card?
Zachs
28th December 2014, 01:57
Both in full screen exclusive mode? Fluid motion enabled for both? I haven't seen such issues myself in fse mode where the driver usually does what it's told.
What do you think you would gain with dx11 vs 10.1?
EDIT: What's your avg. / max render and present times?
EDIT2: I just tested this myself and I can get very close to it just about to drop frames but not quite, and I don't get any stuttering at all.
Blackfyre
28th December 2014, 08:08
Both in full screen exclusive mode? Fluid motion enabled for both? I haven't seen such issues myself in fse mode where the driver usually does what it's told.
What do you think you would gain with dx11 vs 10.1?
EDIT: What's your avg. / max render and present times?
EDIT2: I just tested this myself and I can get very close to it just about to drop frames but not quite, and I don't get any stuttering at all.
Hey Zach, sorry for the late reply. Yeah it's definitely not placebo. I just tested it with Game of Throne Season 4 Episode 6 720p Episode.
There's a scene of a camera moving away from a chair, in both instances it's in full-screen exclusive mode, and in both instances smooth motion is enabled.
Is there a way to actually for average max render and present times?
I look at it live with CTRL+J... In both instances there's ZERO dropped frames and delayed frames. But in the latter option with SuperRes and the settings I described above, there is definite apparent lateness.
So firstly the voice is slightly away from the picture (barely noticeable) and the motion isn't smooth at all.
I'm using Luma-Sharpen it looks better anyway, but not in every video obviously.
It's definitely weird. No dropped frames or delayed frames but clear motion stutter.
With LumaSharpen it's a smooth clear motion away from the chair, with SuperRes it's a cutting motion followed by a scene of unsynced talking.
I'm going to double check now by downloading Scripts & Latest version of MPDN and see how it goes.
:thanks:
Zachs
28th December 2014, 08:11
What Max times are you getting for present and render?
Also try changing your process priority to real time using task manager to see if that helps.
Blackfyre
28th December 2014, 08:47
What Max times are you getting for present and render?
Also try changing your process priority to real time using task manager to see if that helps.
http://imgur.com/9XUgUh2,CJjRJCI
There's two pictures (First Picture and Second Picture)... I paused it during the scene I was talking about and had to exit full-screen mode to take pictures. BTW Just to let you know when I'm in full-screen exclusive mode and I press Print-Screen it takes a picture of the desktop... not the player (weird).
Also have a look at this by the way, I could never get it to work with Madvr, always lags like crazy, does the opposite of what it's meant to be... Either you need two Titan Z's running in SLI or I'm setting it up wrong..
http://www.svp-team.com/
The idea is amazing! if you can implement it or make an experimental version for us to test, would be great... Doubling the frames basically to achieve smooth flow... For example at 60Hz it does 120FPS for me without Madvr... But with Madvr I can never get it working.
Edit1:
The player automatically always runs in "realtime" priority btw, I never had to set it to real-time ever.
Zachs
28th December 2014, 09:24
Print screen doesn't work in fse mode. I could see nothing out of the ordinary with the screenies. So not sure what the problem is especially when I'm not seeing it at all.
I tried SVP briefly and it worked fine.
ryrynz
28th December 2014, 11:46
I have noticed jerky behaviour when testing with GPU-Z and sometimes MPC-BE with madVR. No dropped frames or glitches seem to occur. I'll see if I can reliably reproduce this somehow..
Blackfyre
29th December 2014, 04:56
Print screen doesn't work in fse mode. I could see nothing out of the ordinary with the screenies. So not sure what the problem is especially when I'm not seeing it at all.
I tried SVP briefly and it worked fine.
I'll just stick to LumaSharpen for now... Could be a driver issue with my videocard maybe, so I'll wait for the next AMD Omega Driver (the second one will supposedly have better support for the HD7000 Series and should be out by mid-January).
Zach do you think you can get SVP to work with MPDN? Edit: Or if it does, how do I make it work? Thanks
I noticed SVP works fine with PotPlayer (Haali Renderer), but absolutely horrible with Madvr + MPC (million artifacts in high motion scenes)...
Would be amazing to try it out with MPDN, so far MPDN has been the smoothest one for me, as well as providing superior picture quality compared to others.
Zachs
29th December 2014, 05:15
:search:
http://forum.doom9.org/showthread.php?p=1697535#post1697535
MPDN now supports a lot more input formats now so there no longer a need to force yv12 in the chain.
Fluid motion is similar to SVP's blend only option. So if you use SVP, no point enabling fluid motion.
Blackfyre
30th December 2014, 14:48
:search:
http://forum.doom9.org/showthread.php?p=1697535#post1697535
MPDN now supports a lot more input formats now so there no longer a need to force yv12 in the chain.
Fluid motion is similar to SVP's blend only option. So if you use SVP, no point enabling fluid motion.
After 10 Hours+ sitting in front of the PC testing with many different settings, I've finally found a sweet spot.
If anyone needs any help later they can quote this and i'll assist them, there was one setting that changed everything and made a world of difference for me. I was forced to use Media Player Classic btw because ReClock is necessary to achieve a smooth result. Not sure if MPDN supports Re-Clock I have to double check that...
Zach I was going to ask one thing... The higher the quality of the video, for example a 1080p movie in blu-ray (15gb+) would have much much less artifacts compared to the same 1080p movie if it was a 2gb version... So the higher the quality the less artifacts in high motion scenes. That's what I found out anyway.
Zachs
30th December 2014, 23:03
By artefacts do you mean compression artefacts such as mactoblocks? Or something else?
Blackfyre
31st December 2014, 04:57
By artefacts do you mean compression artefacts such as mactoblocks? Or something else?
Yeah Zach, macroblocks, I read on the SVP forum that apparently you can never have it set up perfectly... If you go for max-smoothness you'll always have artifacts (macroblocks).
But honestly it's amazing, I mean the difference in the fluidity of motion is just insane. I'll give you the best example. It removes motion lag completely in some areas.
In The Hobbit Movie (the first one, an unexpected journey)...
2 minutes in when Bilbo says "it began long ago, in a land far away to the east" and it cuts to a scene of a map, the camera pans from one side of this map to the other. You can clearly clearly see the motion lag in this scene, and by that I mean motion blur, making it difficult to read the names of cities and villages and towns to an extent. But with SVP and after hours of tuning around with the settings, motion blur is completely gone, it's just one smooth movement from one side of the map to the other with ZERO motion blur. There's a few scenes that follow that used to be really annoying with motion blur too. But those got fixed too. It just makes everything so much sharper and clearer in scenes where cameras move/pan.
The only negative I guess, is that during high action packed scenes, there's too many artifacts for my liking. And I don't understand why they have to be there! But there always has to be a sacrifice I guess.
Putting SVP on Expert Mode, and selecting remove artifacts on *strongest* level completely removes the artifacts, BUT the movie/show/video starts running like a game running at 15fps on a 120hz monitor as opposed to 120fps on a 120hz monitor...
I don't think a Titan Z can handle SVP's method of removing artifacts while maintaining max-smoothness in motion.
huhn
31st December 2014, 11:47
Putting SVP on Expert Mode, and selecting remove artifacts on *strongest* level completely removes the artifacts, BUT the movie/show/video starts running like a game running at 15fps on a 120hz monitor as opposed to 120fps on a 120hz monitor...
SVP usages mostly the CPU not the GPU. a high end GPU doesn't help at all you need a very good CPU for SVP.
and there is nothing special getting SVP running with madVR or MPDN.
Zachs
31st December 2014, 14:10
Happy new year everyone!
BetA13
31st December 2014, 19:15
you too mate :)
dont party too hard, hehe...
Anima123
1st January 2015, 07:14
Shiandow, happy new year!
With my newly bought game laptop with nVidia 880M video card, the rendering time increase issue was still there when using SuperRes with NEDI enabled, this time I can set passes to 5, not for long for the dropped frames emerges.
Now to me it's pretty sure that the increase of the rendering time issue was not from my previous crappy 640M card. I haven't found any abnormal behavior with GPU-Z monitoring the 880M.
Windows 8.1, driver version 340.52.
Zachs
1st January 2015, 07:16
How long do you need to let it run to have the issue manifest itself?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.