Log in

View Full Version : Media Player .NET (MPDN) - D3D HQ GPU Video Renderer [v2.49.0/v1.31.0 27 Dec 2018]


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 [89] 90 91 92 93 94 95 96

Shiandow
8th March 2017, 23:58
Hi all,

The new extensions v1.30.0 seem to be up now. These include some small tweaks to the Krig mode Bilateral script, and to SSSR which seems to have reached a somewhat more mature state, and can probably replace SuperRes in nearly all cases.

The new extensions also include some pretty large changes to the 'Deband experimental' renderscript (when I get round to it I'll give it a proper name). It can now handle some pretty difficult situations (e.g. banding + grain) really well, leaving intact small details while removing the large ugly bands. If you want it to remove details you can also untick 'preserve details' in which case it won't try to preserve smaller details, but use this with care. You can also raise the strength, in which case it will be more aggressive in removing bands (a word of warning: strength = 1 removes everything).

For those interested in knowing how it works: (the following may contain some technical terms) basically it tries to detect really low intensity edges and remove them. If you turn on 'preserve detail' it will also try to preserve local minima and maxima. Meaning that it, for example, won't lower the brightness of a pixel if it's brighter than it's surroundings. The method also uses a so called 'image pyramid' to look at the images across different scales (this is what allows it to blur large bands while keeping small details). Basically it creates a sequence of downscaled images and then starting from the end of the sequence it reconstructs the original image step by step, using the sequence of downscaled images to recover lost detail while throwing away the details it doesn't want.

Personally I think this results in what could be the best debanding method yet, I've yet to see any other method where you don't have to choose between removing bands and throwing away detail. I'm really interested to hear what you all think of it.

sauma144
9th March 2017, 00:44
The SSSR algorithm is really awesome and is really fast on my laptop. Thanks!
I am very happy to see some activities in this thread especially since the announcement of the mpc-hc developers.

Heaud
9th March 2017, 05:53
First time trying out SSSR and I must say, it looks great with Super-xBR set as a prescaler. There is no perceivable aliasing with my set up while using SSSR and Super-xBR.

Have yet to try out the experimental deband setting. Are the strength values identical to the regular deband?

EncodedMango
9th March 2017, 06:36
After updating to Extensions v1.30 the View-->OpenSubtitles menu doesn't work, it just pauses the video and seem to try to load the dialog but nothing happens.

EDIT: After doing that a few times, it's working fine again. My guess is maybe it was some issue with domain resolution.

Shiandow
9th March 2017, 13:33
Have yet to try out the experimental deband setting. Are the strength values identical to the regular deband?

Well to some extent, strength = 0.5 is somewhat conservative but high enough for most cases, and then the strength rises rapidly as you get closer to strength = 1. I'm actually thinking of changing this behaviour a bit, since strength = 1 isn't really a sensible setting, but I'd like some feedback on which values make sense for bad sources.

Heaud
10th March 2017, 01:09
I set deband strength to 0.2-0.3 with random dithering (1.6 noise strength) for clean anime videos as it removes enough bands without smearing subtle details.

After testing about for 10 minutes using ordered dithering, the default settings does look like a visual balance for heavily banded sources. The highest I would recommend for a strongest setting is 0.8 as anything higher destroys way too much detail even with the Preserve Detail option enabled.

Shiandow
10th March 2017, 01:21
Thanks for the feedback. I agree that raising it above 0.8 is probably excessive, when you do that you're essentially destroying all information in the lowest 3 bits, which is quite a lot.

Does 0.2-0.3 still remove banding sufficiently well? It seems lower than I expected.

Hrxn
10th March 2017, 01:31
[..] for clean anime videos [..]

Here's the thing. In my experience, settings that work well for anime/animated film are often useless for live/real film, and vice versa of course.
One should keep this in my mind when trying different settings and properties..

Heaud
10th March 2017, 01:39
Does 0.2-0.3 still remove banding sufficiently well? It seems lower than I expected.

0.3 is quite soft at debanding, I would consider it as a "lite" or "low strength" setting. 0.2 would be for the cleanest of anime blu-ray sources.



Here's the thing. In my experience, settings that work well for anime/animated film are often useless for live/real film, and vice versa of course.
One should keep this in my mind when trying different settings and properties..
I agree with this statement. The strength that would work with anime/cgi/cartoons does not work the same with live action.

Shiandow
10th March 2017, 02:22
Here's the thing. In my experience, settings that work well for anime/animated film are often useless for live/real film, and vice versa of course.
One should keep this in my mind when trying different settings and properties..

True, but the new debanding method seems to work well across a broad range of images. If someone has counterexamples they are most welcome.

I suppose it does end up softening the image in some cases, but I actually think this is necessary if you want to recover what the image looked like originally. In fact I'd even be interested if someone could find a case where the defaults soften the image unnecessarily (although I reserve the right to point out banding not visible on most screens / to the human eye).

Garteal
10th March 2017, 20:38
The new extensions also include some pretty large changes to the 'Deband experimental' renderscript (when I get round to it I'll give it a proper name). It can now handle some pretty difficult situations (e.g. banding + grain) really well, leaving intact small details while removing the large ugly bands. If you want it to remove details you can also untick 'preserve details' in which case it won't try to preserve smaller details, but use this with care. You can also raise the strength, in which case it will be more aggressive in removing bands (a word of warning: strength = 1 removes everything).

Been testing it and so far I like the old deband method a smidge better for my use-cases and from what I've seen so far. As for the range of the experimental debanding, can you make it more of a linear change rather than an exponential one?
Also Strength 1 is kinda useless, perhaps it'd make more sense to clamp it to a more usable range?

I've also noticed that increasing the value for the experimental debanding also affects the image colors. Not sure if it's intended or not reading your technical description.

Base: https://abload.de/img/basepoz2r.png
Deband old: https://abload.de/img/deband_oldxqblz.png
Deband new: https://abload.de/img/deband_newr8x3n.png
Deband new 0.7str: https://abload.de/img/deband_new_0.7strohlos.png
(Note: These are 2-3mb pngs!)

Shiandow
11th March 2017, 00:43
Thanks for the detailed analysis. I think changing the way strength works is probably a good idea, I guess most people wouldn't expect 'strength=1' to that extreme.

I think I have a good idea of what's happening in the images you sent, but I'd like to confirm a couple of things. First of all, you're not using the defaults for the old debanding method are you? Also did you disable 'preserve detail' when setting the strength to 0.7?

If possible it would also help if I could get a sample of the source.

Heaud
11th March 2017, 08:12
I decided to give another look at the debanding filter but this time comparing the original with both available filters. This is tested with Preserve Detail set to On and Ordered Dithering.

Classic Deband:
Strength 0.3 http://screenshotcomparison.com/comparison/203099
Strength 0.5 http://screenshotcomparison.com/comparison/203100
Strength 0.7 http://screenshotcomparison.com/comparison/203101

Experimental Deband:
Strength 0.3 http://screenshotcomparison.com/comparison/203103
Strength 0.5 http://screenshotcomparison.com/comparison/203104
Strength 0.7 http://screenshotcomparison.com/comparison/203105

And an extra comparison to show what Preserve Detail is achieving with strength set to 0.7:
Classic Deband http://screenshotcomparison.com/comparison/203107
Experimental Deband http://screenshotcomparison.com/comparison/203108

Garteal
11th March 2017, 21:34
^ Nice going. I can see slight blurring happening but I would take that personally over banding. 0.4 or 0.5 is probably my preference with preserve details checked.


First of all, you're not using the defaults for the old debanding method are you?

Oh sorry. I was using the default settings (0.5str & preserve details checked) where I didn't mention any specific settings.

Also did you disable 'preserve detail' when setting the strength to 0.7?
Just changed the strength. Disabling preserve details produces adverse effects similar to what Heauds image (Experimental Deband http://screenshotcomparison.com/comparison/203108) shows.

I'll cut you a sample and will edit this post with a link later today.

Edit: Grab the sample here (http://www109.zippyshare.com/v/j0oeSVB1/file.html).

BetA13
13th March 2017, 02:18
hey there,

i dont really know whats wrong here, i tried reinstalling several times now but still nothing changes..

My problem is that, when upgrading to the new version of render scripts, i now, cant use the "RenderScript Presets " anymore..they are in the list but when i go into detail and lets say change teh settings for "Native" (1080p) or upscaling etc, the settings ill enter there dont stick..There wherent even settings there in teh first place, they are just gone..They worked like charm before, i could change and modify settings, now they arent even there..

some screens:

This is how it looks now, It doesnt save anything i put in the BLANK field like its supposed to be:

https://i.imgsafe.org/5f21f0250a.png
https://i.imgsafe.org/5f21fcb40c.png


an here is how it was before when it worked fine, you can see theres settings in there where the "Blank" space was in the other pics:

https://i.imgsafe.org/5f220df5fb.png
https://i.imgsafe.org/5f221bb00f.png


im really confused here..It was working really good before i could change and make my own settings based on aufkrawalls render scrip preset, but now its broken somehow..

-i tried reinstalling several times.
-I deleted the Settings folder in appdata/Local
-i deleted everything in teh regestry related to mpdn
- tried portable VS installable

nothing worked, for me it looks like the render script chain is broken..

Please halp :)
Edit, sorry for big pics, cant use spoiler here :(

Shiandow
13th March 2017, 03:37
Thanks for the bug report, I've verified and fixed the problem. The good news is that it is actually saving your configuration, but it has trouble loading it into the setting dialog, so you if you try to modify it you have to start from scratch. Hopefully it'll be fixed soon, in the meantime:

Don't change your Conditional scripts' settings

You can actually probably change the condition, but you might want to backup your settings just in case. At any rate, if you press cancel then no changes will be made, no matter what it is displaying.

BetA13
13th March 2017, 14:00
great news...
And here i thought it was me, haha..

damnit, i allready deleted my old script settings, when hunting for the error..
i guess ill whait till its fixed and i can edit the settings again..

Thanks for the verification :)

Zachs
15th March 2017, 13:20
Shiandow, mate is the fix you did ready to be released?

Shiandow
15th March 2017, 15:59
Yeah, it should probably work. The one thing I'm slightly concerned about is that I thought I'd tested the previous method, and I can't figure out why that ever worked.

Garteal
18th March 2017, 14:15
Been playing a lil again with some ideas for a PlayerExtension for what I needed, but perhaps it's also useful for others. And maybe it can be expanded with more functionality.

Nothing special, just a simple OSD. But I found myself often looking for what episode I was playing which required me to close down fullscreen to look at the playlist.
That and a quick close button was also added for convenience and those that only have a pointer device handy. I was thinking of adding prev&next buttons for playlist control aswell.

http://i.imgur.com/ZX4eZHt.jpg

Zachs
19th March 2017, 13:03
Nice one! That's been requested a number of times, the quick close button in full screen mode.

Zachs
19th March 2017, 13:05
Btw, would be nice if you could find a way to make the title appear for a few seconds only when mouse was moved.

Garteal
19th March 2017, 15:11
It already does that, it'd be quite an annoyance if it didn't haha.
I'll probably move this to its own extension and have to move some logic before I can push it.

Also another idea I have for the Playlist (atleast interesting for me) is to maybe add an option to try and automatically skip openings and/or endings. Only usable for properly chaptered anime (or other media with proper tagging).
I don't really need to see them every time when I'm watching multiple episodes in one sitting. =p

It's so nice to be able to easily add functionality to the player. Small things like this make a big change for me.

toniash
24th March 2017, 21:23
Is it possible to move automatically the image to the top of the screen? (as in PotPlayer or Madvr)

trandoanhung1991
31st March 2017, 04:12
MPDN is crashing in Full Screen (exclusive or not) every time if I have DX10/11 rendering and new windowed rendering path enabled.
Running Windows 10, GTX 1070 with latest NVIDIA drivers (378.92). DSR and Share both are disabled.
Reinstalled MPDN and extensions, NVIDIA drivers, doesn't help.

So right now for MPDN to work in FS I have to either disable new windowed path or run DX9.

Zachs
31st March 2017, 12:50
Is it crashing only with the latest drivers?

trandoanhung1991
8th April 2017, 05:39
Is it crashing only with the latest drivers?

It's been crashing for the last few drivers. Using 381.65 now and it's still showing the same behavior.

turab
17th April 2017, 15:51
I'm having an issue playing video files since today, and it seems to be specific to the 64-bit version. Here's the log:

===================================

An unexpected error 'System.ArgumentOutOfRangeException' has occurred.

------------------------------
Error Type = System.ArgumentOutOfRangeException
Error Message = Specified argument was out of the range of valid values.
Error Source = MediaPlayerDotNet
Error Site = Mpdn.IScaler C(Mpdn.IScaler)
Error occurred = at a.C.C(IScaler )
at a.C.A(IScaler )
at Mpdn.D3D9VideoRenderer.VideoRenderer.ag()
at Mpdn.D3D9VideoRenderer.VideoRenderer.aG()
at Mpdn.D3D9VideoRenderer.VideoRenderer.e(Boolean )
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(String , FrameBufferInputFormat , Int32 , Int32 , Int32 , Int32 , InterlaceFlags , Double )
at B.M.A(String , FrameBufferInputFormat , Int32 , Int32 , YuvColorimetric , InterlaceFlags , PointF )
at B.M.A(IMedia )
at MediaPlayerDotNet.MainForm.A(IMedia , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(IMedia , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(String , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.o(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
===================================

An unexpected error 'System.ArgumentOutOfRangeException' has occurred.

------------------------------
Error Type = System.ArgumentOutOfRangeException
Error Message = Specified argument was out of the range of valid values.
Error Source = MediaPlayerDotNet
Error Site = Mpdn.IScaler C(Mpdn.IScaler)
Error occurred = at a.C.C(IScaler )
at a.C.A(IScaler )
at Mpdn.D3D9VideoRenderer.VideoRenderer.ag()
at Mpdn.D3D9VideoRenderer.VideoRenderer.aG()
at Mpdn.D3D9VideoRenderer.VideoRenderer.e(Boolean )
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(String , FrameBufferInputFormat , Int32 , Int32 , Int32 , Int32 , InterlaceFlags , Double )
at B.M.A(String , FrameBufferInputFormat , Int32 , Int32 , YuvColorimetric , InterlaceFlags , PointF )
at B.M.A(IMedia )
at MediaPlayerDotNet.MainForm.A(IMedia , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(IMedia , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(String , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.o(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

===================================

Specified argument was out of the range of valid values. (MediaPlayerDotNet)

------------------------------
Program Location:

at a.C.C(IScaler )
at a.C.A(IScaler )
at Mpdn.D3D9VideoRenderer.VideoRenderer.ag()
at Mpdn.D3D9VideoRenderer.VideoRenderer.aG()
at Mpdn.D3D9VideoRenderer.VideoRenderer.e(Boolean )
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(String , FrameBufferInputFormat , Int32 , Int32 , Int32 , Int32 , InterlaceFlags , Double )
at B.M.A(String , FrameBufferInputFormat , Int32 , Int32 , YuvColorimetric , InterlaceFlags , PointF )
at B.M.A(IMedia )
at MediaPlayerDotNet.MainForm.A(IMedia , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(IMedia , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(String , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.o(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

===================================

Specified argument was out of the range of valid values. (MediaPlayerDotNet)

------------------------------
Program Location:

at a.C.C(IScaler )
at a.C.A(IScaler )
at Mpdn.D3D9VideoRenderer.VideoRenderer.ag()
at Mpdn.D3D9VideoRenderer.VideoRenderer.aG()
at Mpdn.D3D9VideoRenderer.VideoRenderer.e(Boolean )
at Mpdn.D3D9VideoRenderer.VideoRenderer.A(String , FrameBufferInputFormat , Int32 , Int32 , Int32 , Int32 , InterlaceFlags , Double )
at B.M.A(String , FrameBufferInputFormat , Int32 , Int32 , YuvColorimetric , InterlaceFlags , PointF )
at B.M.A(IMedia )
at MediaPlayerDotNet.MainForm.A(IMedia , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(IMedia , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.OpenMedia(String , Boolean , Boolean , Boolean , Boolean )
at MediaPlayerDotNet.MainForm.o(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


OS Version = Microsoft Windows NT 6.3.9600.0
Total Physical Memory = 8 GB
Available Physical Memory = 3.9 GB
Ran As Admin = False
HasShutdownStarted = False
ProcessorCount = 2
RuntimeVersion = 4.0.30319.42000
Thread Count = 58
Handle Count = 1128
VM Size = 21.4 GB
Peak VM Size = 21.5 GB
Working Set Size = 275.5 MB
Max Working Set Size = 1.3 MB
Min Working Set Size = 200 KB

Despite what the log says, I'm using Windows 10. There was a big update recently (Creators Update) that was installed on my system a couple of days ago. It didn't affect video playback yesterday, but it might somehow be related. I tried a clean install of MPDN, but the problem persists. The 32-bit version works fine, however.

Shiandow
17th April 2017, 20:20
If the 32 bit version is working fine then it might be an issue with the settings. Could you try deleting MPDN's settings (should be at %LOCALAPPDATA%\MediaPlayerDotNet)? Make a copy somewhere if you want to save any settings. This is just to test if that is indeed the problem.

Also ignore whatever version number windows claims it is, I don't think those have ever made any sense.

turab
17th April 2017, 21:24
If the 32 bit version is working fine then it might be an issue with the settings. Could you try deleting MPDN's settings (should be at %LOCALAPPDATA%\MediaPlayerDotNet)? Make a copy somewhere if you want to save any settings. This is just to test if that is indeed the problem.

Also ignore whatever version number windows claims it is, I don't think those have ever made any sense.
Thanks, that did the trick. I guess it was to do with MPDN extensions.

Shiandow
17th April 2017, 21:44
Thanks, that did the trick. I guess it was to do with MPDN extensions.

Not quite sure what was wrong but at least it works now. Any clue what triggered it? Did you update MPDN or the extensions recently?

XMonarchY
18th April 2017, 02:52
I wonder if this Player is a good choice for me. I am currently with good old MPC-HC x86 + LAV Filters x86 + ReClock x86 + madVR x86 and its all x86 32bit because ReClock does not support x64.

Does this player have integrated ReClock-like feature that uses x64??? I know JRiver Media Player has its own thing like ReClock and it runs in 64bit mode, but its not as snappy as MPC-HC.

If this player indeed can do 64bit ReClock-like timing, then I may very much switch to it from MPC-HC, provided I can disable most of its internal filters and renderers (aside from ReClock-like feature) to be purely powered by stand-alone LAV Filters and madVR!

ryrynz
18th April 2017, 07:13
@XMonarchY This player has it's own renderer and it cannot be changed.

turab
18th April 2017, 15:38
Not quite sure what was wrong but at least it works now. Any clue what triggered it? Did you update MPDN or the extensions recently?
The last time MPDN extensions was updated was at least a few weeks ago, and I'm pretty sure I didn't touch anything. Between the last time the player worked and the first time I noticed the error, my computer did crash. Although I wasn't using the player when it happened, maybe it had an inadvertent effect.

Shiandow
18th April 2017, 15:42
The last time MPDN extensions was updated was at least a few weeks ago, and I'm pretty sure I didn't touch anything. Between the last time the player worked and the first time I noticed the error, my computer did crash. Although I wasn't using the player when it happened, maybe it had an inadvertent effect.

Odd. Seems like something messed up the setting during that crash, but I can't be sure. It's going to be hard to protect against that though.

XMonarchY
18th April 2017, 17:04
@XMonarchY This player has it's own renderer and it cannot be changed.

Shoot... Is there a raw player like MPC HC that has 64bit ReClock-like feature and fully supports external LAV Filters and madVR?

ryrynz
18th April 2017, 17:06
AFAIK MPDN is the only player to have implemented this feature.

foozoor
18th April 2017, 19:57
AFAIK MPDN is the only player to have implemented this feature.
We are in 2017 and people are still ignoring mpv. :rolleyes:

Olivier C.
19th April 2017, 00:45
Odd. Seems like something messed up the setting during that crash, but I can't be sure. It's going to be hard to protect against that though.

Maybe something like this could do the trick ? :
https://www.codeproject.com/Articles/30216/Handling-Corrupt-user-config-Settings

(an alternative solution is given in comments)

EncodedMango
20th April 2017, 03:30
I have come across a very odd issue. Anytime I select any Upscaler/Downscaler to be Lanczos, MPDN gives an error when trying to render video.

"Specified argument was out of range of valid values."

Even if it's just luma and the video is being played at its resolution(no scaling)

Win10 x64 1703, MPDN x64

This seems to have started after Creator's Update. I think turab's issue (https://forum.doom9.org/showthread.php?p=1804039#post1804039)above may be related.

Shiandow
20th April 2017, 14:01
I have come across a very odd issue. Anytime I select any Upscaler/Downscaler to be Lanczos, MPDN gives an error when trying to render video.

"Specified argument was out of range of valid values."

Even if it's just luma and the video is being played at its resolution(no scaling)

Win10 x64 1703, MPDN x64

This seems to have started after Creator's Update. I think turab's issue (https://forum.doom9.org/showthread.php?p=1804039#post1804039)above may be related.

Turab's issue could be fixed by resetting the settings, is this the case with your issue as well?

EncodedMango
20th April 2017, 14:31
Turab's issue could be fixed by resetting the settings, is this the case with your issue as well?
Yes, that's how I initially fixed it after updating to CU. Then began checking what was causing it - Lanczos, infinitely repeatable.

All others work fine.

Shiandow
20th April 2017, 14:55
Any chance you can send me a copy of the settings that cause a crash and the ones that don't? I think I just need the Application.(64|32|AnyCpu).config files (as it doesn't seem to be related to a player extension).

EncodedMango
20th April 2017, 16:49
Any chance you can send me a copy of the settings that cause a crash and the ones that don't? I think I just need the Application.(64|32|AnyCpu).config files (as it doesn't seem to be related to a player extension).
Having issues with upload so I'll just give you contents.

The only difference between the two is these lines

Crashy:

<ChromaUpscaler yaxlib:realtype="MediaPlayerDotNet.Config.ChromaUpscalerSettings">
<Scaler yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.LanczosSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Scaler>
</ChromaUpscaler>


Working:

<ChromaUpscaler yaxlib:realtype="MediaPlayerDotNet.Config.ChromaUpscalerSettings">
<Scaler yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Scaler>
</ChromaUpscaler>


In the above case I changed only Chroma Up to Lanczos for reproduction, but it happens for any of the 4 scalers.

Here's the entire(crashy) file's contents, Application.64.config :
<Configuration xmlns:yaxlib="http://www.sinairv.com/yaxlib/">
<ConfigVersion>
<Major>2</Major>
<Minor>0</Minor>
</ConfigVersion>
<GeneralSettings>
<RecentMediaFiles>
<String>F:\TD\TLS1.mkv</String>
<String>F:\TD\TLS2.mkv</String>
</RecentMediaFiles>
<RecentPlaybackPositions>
<FilePosition>

[Removed for Privacy]

</FilePosition>
</RecentPlaybackPositions>
<OptionsDialogSelectedNodePath>Video Renderer\Chroma Upscaler</OptionsDialogSelectedNodePath>
<LumaUpscalerUiSettings>
<Bicubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.BicubicSettings">
<Sharpness>0.75</Sharpness>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Bicubic>
<Softcubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SoftcubicSettings">
<Softness>0.75</Softness>
</Softcubic>
<Lanczos yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.LanczosSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Lanczos>
<Spline yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SplineSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Spline>
<Jinc yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Jinc>
<Custom yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.CustomScalerSettings">
<ScalerGuid>647351ff-7fec-4eab-86c7-ce1bef43efd4</ScalerGuid>
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Custom>
</LumaUpscalerUiSettings>
<ChromaUpscalerUiSettings>
<Bicubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.BicubicSettings">
<Sharpness>0.75</Sharpness>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Bicubic>
<Softcubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SoftcubicSettings">
<Softness>0.75</Softness>
</Softcubic>
<Lanczos yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.LanczosSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Lanczos>
<Spline yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SplineSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Spline>
<Jinc yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Jinc>
<Custom yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.CustomScalerSettings">
<ScalerGuid>647351ff-7fec-4eab-86c7-ce1bef43efd4</ScalerGuid>
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Custom>
</ChromaUpscalerUiSettings>
<LumaDownscalerUiSettings>
<Bicubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.BicubicSettings">
<Sharpness>0.75</Sharpness>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Bicubic>
<Softcubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SoftcubicSettings">
<Softness>0.75</Softness>
</Softcubic>
<Lanczos yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.LanczosSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Lanczos>
<Spline yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SplineSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Spline>
<Jinc yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Jinc>
<Custom yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.CustomScalerSettings">
<ScalerGuid>647351ff-7fec-4eab-86c7-ce1bef43efd4</ScalerGuid>
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Custom>
</LumaDownscalerUiSettings>
<ChromaDownscalerUiSettings>
<Bicubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.BicubicSettings">
<Sharpness>0.75</Sharpness>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Bicubic>
<Softcubic yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SoftcubicSettings">
<Softness>0.75</Softness>
</Softcubic>
<Lanczos yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.LanczosSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Lanczos>
<Spline yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.SplineSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Spline>
<Jinc yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Jinc>
<Custom yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.CustomScalerSettings">
<ScalerGuid>647351ff-7fec-4eab-86c7-ce1bef43efd4</ScalerGuid>
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Custom>
</ChromaDownscalerUiSettings>
<PlayerStartupMode>Normal</PlayerStartupMode>
<ShowPlayerStats>False</ShowPlayerStats>
<ResumePlaybackPosition>True</ResumePlaybackPosition>
<ShowMenuBar>True</ShowMenuBar>
<ShowStatusBar>False</ShowStatusBar>
<ShowCaptionBar>True</ShowCaptionBar>
<AutoHideControlBar>False</AutoHideControlBar>
<LockToAspectRatio>False</LockToAspectRatio>
<SnapToScreenEdges>False</SnapToScreenEdges>
<AlwaysOnTop>True</AlwaysOnTop>
<LockWindowSize>False</LockWindowSize>
<LastSelectedMediaFileName>F:\TD\TLS2.mkv</LastSelectedMediaFileName>
<Volume>85</Volume>
<Mute>False</Mute>
<ResizeWindowToFitVideo>True</ResizeWindowToFitVideo>
<ResetWindowSize>True</ResetWindowSize>
<RememberWindowSizePos>False</RememberWindowSizePos>
<LaunchMediaInFullScreen>False</LaunchMediaInFullScreen>
<WindowBounds>
<Left>1038</Left>
<Top>555</Top>
<Width>408</Width>
<Height>330</Height>
</WindowBounds>
<WindowState>Normal</WindowState>
<UseDebugDialog>False</UseDebugDialog>
<ForceCrashOnAppHang>False</ForceCrashOnAppHang>
<AppHangTimeoutSeconds>15</AppHangTimeoutSeconds>
<SeekBarSizeInFullScreen>Medium</SeekBarSizeInFullScreen>
<AlwaysOnTopMode>Always</AlwaysOnTopMode>
<UseDarkThemeControlBar>True</UseDarkThemeControlBar>
<DoNotShowGetExtensionsDialog>False</DoNotShowGetExtensionsDialog>
<AudioScript>
<Guid>00000000-0000-0000-0000-000000000000</Guid>
</AudioScript>
</GeneralSettings>
<DirectShowSettings>
<AudioRenderer>df557071-c9fd-433a-9627-81e0d3640ed9</AudioRenderer>
<AudioRendererDevicePath>@device:sw:{E0F158E1-CB04-11D0-BD4E-00A0C911CE86}\{DF557071-C9FD-433A-9627-81E0D3640ED9}</AudioRendererDevicePath>
<ExtraAudioFilters />
<ExtraVideoFilters />
<LoadSubtitles>True</LoadSubtitles>
<UseXySubFilter>True</UseXySubFilter>
<ReduceXySubAliasing>False</ReduceXySubAliasing>
</DirectShowSettings>
<VideoRendererSettings>
<AdapterId>0</AdapterId>
<FrameComposerType>Direct3D11</FrameComposerType>
<OutputLevels>Auto</OutputLevels>
<OutputLimitedRange>False</OutputLimitedRange>
<UseFullScreenExclusiveMode>False</UseFullScreenExclusiveMode>
<UseFlipEx>True</UseFlipEx>
<DebugDx11>False</DebugDx11>
<OutputBitDepth>EightBits</OutputBitDepth>
<UseCustomAspectRatio>False</UseCustomAspectRatio>
<AspectRatioX>4</AspectRatioX>
<AspectRatioY>3</AspectRatioY>
<LetterBoxing>ApplyLetterBoxing</LetterBoxing>
<CustomFillRectangle />
<DecoderQueueSize>16</DecoderQueueSize>
<RenderQueueSize>12</RenderQueueSize>
<WindowedBackBufferSize>12</WindowedBackBufferSize>
<ExclusiveBackBufferSize>12</ExclusiveBackBufferSize>
<FseReenterDelay>500</FseReenterDelay>
<RenderQuality>MaxQuality</RenderQuality>
<ImproveChromaReconstruction>True</ImproveChromaReconstruction>
<ChromaOffset420>
<X>-0.25</X>
<Y>0</Y>
</ChromaOffset420>
<ChromaOffset422>
<X>-0.25</X>
<Y>0</Y>
</ChromaOffset422>
<NoWindowedVSync>False</NoWindowedVSync>
<ForceAltOclInterop>True</ForceAltOclInterop>
<LumaUpscaler yaxlib:realtype="MediaPlayerDotNet.Config.LumaUpscalerSettings">
<Scaler yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Scaler>
</LumaUpscaler>
<LumaDownscaler yaxlib:realtype="MediaPlayerDotNet.Config.LumaDownscalerSettings">
<Scaler yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Scaler>
</LumaDownscaler>
<ChromaUpscaler yaxlib:realtype="MediaPlayerDotNet.Config.ChromaUpscalerSettings">
<Scaler yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.LanczosSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Scaler>
</ChromaUpscaler>
<ChromaDownscaler yaxlib:realtype="MediaPlayerDotNet.Config.ChromaDownscalerSettings">
<Scaler yaxlib:realtype="MediaPlayerDotNet.Config.Scaler.JincSettings">
<Taps>Four</Taps>
<AntiRingingEnabled>False</AntiRingingEnabled>
</Scaler>
</ChromaDownscaler>
<Ditherer yaxlib:realtype="MediaPlayerDotNet.Config.DitheringSettings">
<Ditherer yaxlib:realtype="MediaPlayerDotNet.Config.Ditherer.DitherRandomSettings">
<Coloured>True</Coloured>
<PerFrameDithering>True</PerFrameDithering>
<Strength>1</Strength>
</Ditherer>
</Ditherer>
<FluidMotionSettings>
<Active>False</Active>
<OnlyWhenRateLessThanHalfDisplay>False</OnlyWhenRateLessThanHalfDisplay>
<ExceptMultiples>False</ExceptMultiples>
</FluidMotionSettings>
<RenderScript>
<Guid>00000000-0000-0000-0000-000000000000</Guid>
</RenderScript>
</VideoRendererSettings>
</Configuration>

Shiandow
20th April 2017, 17:33
Okay.. no obvious clues there. You said that resetting the config files fixed the issues, any idea what is different in the 'fresh' config files?

Cy4n1d3
20th April 2017, 19:31
Since the W10 Creators Update MPDN doesn't even start for me.
This applies to x86 and x64 versions.
Also tried deleting my settings, to no avail.

Any hints on how to debug this the easy way?

Garteal
20th April 2017, 19:49
MPDN works fine for me with the Creators Update with both a clean install and an upgrade.

I do however had an issue getting MPDN to run after a clean CU install (but no .NET app would probably run either) after the clean install because I had no keyboard in my my Region&Language settings in Windows for some reason. Everything was flawless after that.
(Just laying it out for people that might have the same issue)

Cy4n, is this a clean install or an upgrade and what happens exactly? Does your mouse show that something is happening but nothing pops-up?
Do you see any MPDN processes running in your task manager? Or have you tried to open it after a reboot?

Cy4n1d3
20th April 2017, 20:38
I do have a keyboard setting in Region & Language available and selected.

I installed the CU using the Upgrade Assistant (so, no clean install).
My mouse shows the spinning circle busy indicator thingy for a second, that's all.
There are no MPDN processes running according to the task manager.
Problem persists through full reboots.

Any way to get a debug log of what's happening?

EncodedMango
21st April 2017, 01:17
Okay.. no obvious clues there. You said that resetting the config files fixed the issues, any idea what is different in the 'fresh' config files?
Default doesn't have Lanczos selected on any scalers is my best guess, that's the only change that does anything.

My player config isn't complex, the only things I change are up/down scalers, playback resuming, Presentation API(Dx11) and disabling Fluid Motion because of occasional artifacts.

I have tried changing all of them, Lanczos is still the only culprit.

Ah, right so it still happens if you reset the settings and then select Lanczos again?
Yes.

Shiandow
21st April 2017, 19:44
Default doesn't have Lanczos selected on any scalers is my best guess, that's the only change that does anything.

My player config isn't complex, the only things I change are up/down scalers, playback resuming, Presentation API(Dx11) and disabling Fluid Motion because of occasional artifacts.

I have tried changing all of them, Lanczos is still the only culprit.

Ah, right so it still happens if you reset the settings and then select Lanczos again?