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

ryrynz
7th January 2015, 11:58
I just tried deleting the RenderScripts folder (after setting MPDN to 'none'), and when I relaunch MPDN, it still has the delay, and it pops up an error now about the missing folder ("could not find a part of the path"). It must still look for them even if they are not present.

Edit: If I create an empty RenderScripts folder, the error disappears, but I still see a delay. Guess MPDN just does not like my system.

Curious, download the zip or re extract again into a new directory and run it and see if you still have the delay. Also is this x64, x86 or anycpu edition? on my i5 3570K a fresh x64 extraction starts up (fully usable) in about 2 seconds (and I'm not even running an SSD ATM)

Blackfyre
7th January 2015, 11:58
There's not a lot of information on G-sync / Freesync APIs at the moment. There's a lot to be done if it can be detected. However, it should be easy enough to add an option under Fluid Motion to "Enable support for G-sync / Freesync" that is manually set by the user and it only gets activated in FSE mode. That said, quite a few changes would need to be implemented to properly support variable display rate.



It's mainly because it has to compile all the scripts and load them. This could be improved (caching compiled scripts so they don't get recompiled each time MPDN starts up) but on any modern systems, it's already quite fast so it's not a high priority for the moment.

I've never faced this delay, not visible at all. So if it exists it's in the milliseconds and I've never noticed it. Both on a 3570K and on my current setup with a 4790K.

Zachs
7th January 2015, 11:58
You shouldn't delete the folder. Delete the contents, but not the folder please.

On my machine (i5-3470), without any scripts (i.e. no LinaerCustomScalers, no PlayerExtensions too), the busy cursor only shows for less than half a second.
On my 2nd gen dual core i5 laptop (2.5Ghz) with fully compiled scripts (yes you can fully compile them yourself even now if you know how to do that), the busy cursor is also only shown for less than 1 second.

EDIT: I don't have a core 2 quad / duo that old to test I'm afraid. Even my 7 years old Core 2 Duo doesn't take that long to compile, but it's running at 3.6Ghz.

nevcairiel
7th January 2015, 12:21
Couldn't you compile them in the background and not block the UI with it? Just need to sync to the compilation thread once playback actually wants to start and they need to be used.
That way opening a blank player at least wouldn't show the problem.

Zachs
7th January 2015, 12:32
There's lots I could do to speed it up like I said. It's not even multithreaded yet (the compilation part).

Anyway, caching the compiled scripts should be even faster. All there is to check is if the source files have been modified.

Zachs
7th January 2015, 12:35
BTW, since LAV already does dxva cb, wouldn't it be easy to do DXVA deinterlacing too?

romulous
7th January 2015, 13:07
Curious, download the zip or re extract again into a new directory and run it and see if you still have the delay. Also is this x64, x86 or anycpu edition? on my i5 3570K a fresh x64 extraction starts up (fully usable) in about 2 seconds (and I'm not even running an SSD ATM)

Yeah, that does seem to have improved the delay a little (ie made it smaller - I deleted my config file as well). It was the Any CPU version.

Zachs
7th January 2015, 13:10
What's the frequency of your Q6600 BTW?

romulous
7th January 2015, 13:27
@Zachs: Here is what CPU-Z has to say:
http://i.imgur.com/qH98hu7.png

nevcairiel
7th January 2015, 15:24
BTW, since LAV already does dxva cb, wouldn't it be easy to do DXVA deinterlacing too?

Its possible to implement it, but I refrained from doing it since it would greatly complicate the logic and double the performance hit from CB as twice the frames would need to be copied to system memory, while a renderer can do it without this performance hit at all.

The reason CUVID and QuickSync offer it is that its just a boolean flag to enable, and not any extra code otherwise, so its an effortless option.

Zachs
7th January 2015, 22:57
@Zachs: Here is what CPU-Z has to say:
http://i.imgur.com/qH98hu7.png

Ah, 2.4Ghz. No wonder. The lack of single threaded performance is the reason why you're seeing such slowness at startup. Anyway, I'll see what I can do.

Its possible to implement it, but I refrained from doing it since it would greatly complicate the logic and double the performance hit from CB as twice the frames would need to be copied to system memory, while a renderer can do it without this performance hit at all.

The reason CUVID and QuickSync offer it is that its just a boolean flag to enable, and not any extra code otherwise, so its an effortless option.

I'm not familiar with DXVA decoding at all so I'm probably completely way off the mark here, but can't you decode and deinterlace in one go before doing the copy back?

Asmodian
7th January 2015, 23:07
I'm not familiar with DXVA decoding at all so I'm probably completely way off the mark here, but can't you decode and deinterlace in one go before doing the copy back?

It is not that you copy back after decoding and again after deinterlacing but that you double the number of frames needing the copy back if you deinterlace at the same time.

Zachs
7th January 2015, 23:09
It is not that you copy back after decoding and again after deinterlacing but that you double the number of frames needing the copy back if you deinterlace at the same time.

Doesn't this apply for CUVID and QuickSync too?

nevcairiel
7th January 2015, 23:13
Doesn't this apply for CUVID and QuickSync too?

It does, but like I said, its just one boolean flag to enable deinterlacing there, so even if its not ideal performance, it wasn't exactly effort to implement it.

nekromantik
7th January 2015, 23:23
Hi everyone
Cant seem to get this to work. I got both Win 7 and Win 8.1 x64 laptops with LAV filters installed.
However when trying to play any non avi file with MPEDN it says cannot render and gives no details.

Zachs
7th January 2015, 23:27
It does, but like I said, its just one boolean flag to enable deinterlacing there, so even if its not ideal performance, it wasn't exactly effort to implement it.

Yes, I get the effort part, just didn't quite understand what you meant by twice the copy back when all deinterlacing algo's if set up equally would require it too. Anyway exactly how much effort are we talking about, do you know?

Zachs
7th January 2015, 23:29
Hi everyone
Cant seem to get this to work. I got both Win 7 and Win 8.1 x64 laptops with LAV filters installed.
However when trying to play any non avi file with MPEDN it says cannot render and gives no details.

Did you install x64 LAV filters specifically?

nekromantik
7th January 2015, 23:30
Did you install x64 LAV filters specifically?

Nope. Installed x86 of both MPEDN and LAV as I want to use MadVR with it.

Zachs
7th January 2015, 23:33
What non-avi files are we talking about?

nekromantik
7th January 2015, 23:37
What non-avi files are we talking about?

Tried different mkvs with avc h264 and also avc mp4s. Some 720P others 1080P.

shaolin95
7th January 2015, 23:38
I got interested in this player and will be reading the 20 pages later today and testing it but while I get home, I was wondering if my only intent is to use it for Bluray rip playback, if I will be taking real advantage of its features.
Also, does it have an upmix from 5.1 to 7.1 like on the latest builds of MPC BE?

Thanks!

Zachs
8th January 2015, 00:51
Tried different mkvs with avc h264 and also avc mp4s. Some 720P others 1080P.

Well, no one else reported such problems. As long as LAV can decode the files, MPDN will play them. What you could perhaps try is make sure your LAV filters are setup correctly (i.e. try MPC-HC / BE without internal filters and force it to use external LAV filters).

I got interested in this player and will be reading the 20 pages later today and testing it but while I get home, I was wondering if my only intent is to use it for Bluray rip playback, if I will be taking real advantage of its features.
Also, does it have an upmix from 5.1 to 7.1 like on the latest builds of MPC BE?

Thanks!

Yes, Chroma upscaling with SuperChromaRes is by far the best IQ you could get - and you still need to upscale chroma for 1080p 4:2:0 materials (assuming your rips are 1080p). Upmix is easily achieved with AC3Filter (just add it into the audio post processing filter list - I personally use it myself).

shaolin95
8th January 2015, 00:58
Well, no one else reported such problems. As long as LAV can decode the files, MPDN will play them. What you could perhaps try is make sure your LAV filters are setup correctly (i.e. try MPC-HC / BE without internal filters and force it to use external LAV filters).



Yes, Chroma upscaling with SuperChromaRes is by far the best IQ you could get - and you still need to upscale chroma for 1080p 4:2:0 materials (assuming your rips are 1080p). Upmix is easily achieved with AC3Filter (just add it into the audio post processing filter list - I personally use it myself).

Excellent about ChromaRes ! You bet I am directly going to my HT room today to test this. :D
About AC3Filter..but how does that come into play if I am using lav filters for audio/video and have the dts-hd decoder (TMT).
I guess I am confused on how all those will come together with Ac3Filter to upmix.
Sorry for the noob question :)

Zachs
8th January 2015, 01:11
Excellent about ChromaRes ! You bet I am directly going to my HT room today to test this. :D
About AC3Filter..but how does that come into play if I am using lav filters for audio/video and have the dts-hd decoder (TMT).
I guess I am confused on how all those will come together with Ac3Filter to upmix.
Sorry for the noob question :)

AC3Filter must be setup to accept LPCM / PCM inputs, and also set its output to 7.1, that should be all it takes.

Shiandow
8th January 2015, 01:14
Hi everyone,

The latest Player Extensions now also add shortcuts for rewinding / forwarding playback. The key bindings are similar to those of MPC-HC and are as follows:


Left / Right: Go back / forward 5 seconds.
Ctrl + Shift + Left / Right: Go back / forward 30 seconds.
Ctrl + Left / Right: Go back / forward 1 frame.
Ctrl + PageDown / PageUp: Load next / previous file in folder.

You can also find this list in the context menu under Play -> Navigation.

shaolin95
8th January 2015, 04:36
Yes, Chroma upscaling with SuperChromaRes is by far the best IQ you could get - and you still need to upscale chroma for 1080p 4:2:0 materials (assuming your rips are 1080p). Upmix is easily achieved with AC3Filter (just add it into the audio post processing filter list - I personally use it myself).

When you say Chroma Upscaling and SuperChromaREs...is it one or the other not both together?
Also, there is a Chroma Upscaler option AND there is a ChromaScaler script too so just wondering.
I am reading through the thread now checking for recommend settings as well.
Regards!

Zachs
8th January 2015, 04:42
I imagine this is because it is written in .NET, but is there any reason why the MPDN interface is unresponsive for a couple of seconds after you start it? So you run MediaPlayerDotNet.exe, MPDN opens up - but you can't click on any of the menus (eg View) for a couple of seconds because the Windows 'busy' icon is showing (the animated circle icon in Win 7, it was an hourglass on XP I think). Once the busy icons goes away, you can interact with the program, but I can't say that I can recall seeing any other programs off the top of my head that show a delay like this at startup.

romulous


v2.16.4 Changelog:
Implemented script caching to reduce start up time


Scripts will get recompiled automatically at startup if they have been updated (based on write time stamp and file size). However, should you suspect that a script is not being recompiled, start MPDN with --flushcache switch and it'll make sure the entire cache gets flushed out, forcing all scripts to get recompiled.

On my i5 dual core 2.5Ghz laptop, the hour glass now only so much as flickers. Profiling the load times of the pre-compiled scripts shows 5ms. :)

Zachs
8th January 2015, 04:48
When you say Chroma Upscaling and SuperChromaREs...is it one or the other not both together?
Also, there is a Chroma Upscaler option AND there is a ChromaScaler script too so just wondering.
I am reading through the thread now checking for recommend settings as well.
Regards!

Pick one. Chroma Upscaler will be bypassed automatically when you choose a render script chroma scaler. The beauty of the RenderScript system is that it allows a portion, or the all scaling operations to be replaced.

For example, if you have just SuperChromaRes in your render script, you'll still have to rely on MPDN's luma upscaler / downscaler to get you to the target size. You can bypass MPDN's upscalers completely too if you choose SuperChromaRes -> SuperRes. This of course would still rely on MPDN's downscalers.

RainyDog
8th January 2015, 08:03
Well, no one else reported such problems. As long as LAV can decode the files, MPDN will play them. What you could perhaps try is make sure your LAV filters are setup correctly (i.e. try MPC-HC / BE without internal filters and force it to use external LAV filters).

Hi Zachs, I have exactly the same issue but using MPDN x64.

Both x86 and x64 LAV filters installed, MPC-BE+madVR+LAV filters combination works fine but MPDN just won't open any videos giving a cannot render file error message with no further details.

Will try the x86 version later and report back.

Zachs
8th January 2015, 08:10
Have you tried what I said in regards to disabling internal filters with MPC-BE?

If that works fine, enable debug dialog in options, and click on details button when the error occurs and paste the stack trace and error messages here for me please.

romulous
8th January 2015, 09:18
Oddly, Any CPU 2.16.6 still has the same delay on my system - with the rederscripts, it is now back to about 2 seconds again, the delay I had originally with the previous version (it is about 1 second with an empty renderscript folder). The x86 and x64 builds of 2.16.6 are both instant now though, even with the renderscripts installed - thanks :) This is all with a fresh install of all three by the way, so no mess left over from the previous install. Does Any CPU require time to detect your CPU type or something? Maybe that explains the delay?

Zachs
8th January 2015, 09:37
No. If you run AnyCPU the second time, does it get any faster?

The reason AnyCPU is the odd one out is because it shares the same cache as 64 or 32 bit editions depending on your OS. Also note that if you have multiple copies of MPDN of the same edition in different folders, scripts will get recompiled each time for each copy of you run one after the other.

ryrynz
8th January 2015, 09:41
Does Any CPU require time to detect your CPU type or something? Maybe that explains the delay?

Figured that might be the cause of it, but when I ran the AnyCPU edition on my 3570K it's start up performance was exactly the same as the x64, maybe it's like you said..

Guess MPDN just does not like my system.

;)

huhn
8th January 2015, 10:30
anyCPU is simply not optimised that's all it works with "anyCPU" because the CPU doesn't have to support things like SSE2, MMX, AVX and stuff like this.

and of course this version is slower.

Zachs
8th January 2015, 10:37
anyCPU is simply not optimised that's all it works with "anyCPU" because the CPU doesn't have to support things like SSE2, MMX, AVX and stuff like this.

and of course this version is slower.

No that's not true. The difference between AnyCPU and the other versions is simply that I have put a flag in the exe header. Why would it run any slower?

romulous
8th January 2015, 10:48
No. If you run AnyCPU the second time, does it get any faster?


Actually, it seemed to get slower. This may be why...

Also note that if you have multiple copies of MPDN of the same edition in different folders, scripts will get recompiled each time for each copy of you run one after the other.

I had one separate folders for each of the three editions, and ran them one by one, in turn. Twice each - one to make the cache, the second time to try and make use of it. So run Any CPU twice, then x86 twice, then finally x64 twice. Any CPU was really slow on the second run, x86 and x64 were instant on the second run. However...

maybe it's like you said..

That is entirely plausible, and would be the simplest explanation.

Zachs
8th January 2015, 11:01
I'll have a look.

EDIT: I can't replicate the issue here but the next version AnyCPU will have its own set of config files which I think makes more sense since it's a separate edition to x86/x64.

ryrynz
8th January 2015, 11:55
No that's not true. The difference between AnyCPU and the other versions is simply that I have put a flag in the exe header. Why would it run any slower?

He thought the AnyCPU version had different compiler optimizations.

Blackfyre
8th January 2015, 13:35
Oddly, Any CPU 2.16.6 still has the same delay on my system - with the rederscripts, it is now back to about 2 seconds again, the delay I had originally with the previous version (it is about 1 second with an empty renderscript folder). The x86 and x64 builds of 2.16.6 are both instant now though, even with the renderscripts installed - thanks :) This is all with a fresh install of all three by the way, so no mess left over from the previous install. Does Any CPU require time to detect your CPU type or something? Maybe that explains the delay?

Can you give this a try...

Download CCleaner (Free One) from here:

https://www.piriform.com/ccleaner/download

Install then RUN the program and do this: TICK everything on the left panel except for the Windows Explorer entries (Look at the image below) it says #1 on the stuff that shouldn't be ticked.

http://i.imgur.com/pxzZDF1.png

After everything is ticked, click Analyze bottom left, then click Run Cleaner @ the bottom right.

MOST Importantly cleaning your registry... Which is number 2.

Top left corner click on registry...

bottom left corner click on scan for issues, then bottom right corner click on FIX SELECTED ISSUES. When asked to backup registry say no then FIX ALL, then scan again and then FIX all until there's no more registry errors left... Restart your computer. See if you're still having the same issue.

After not formatting for a while there could be a lot of left over cr*p in the registry that should be cleaned every once in a while.

I'm not saying this will fix your issue, but it's worth a try, and even if it doesn't fix your issue, at least you've cleaned your registry now, which should make your pc feel slightly faster/more responsive. If you haven't formatted for a year or so.

huhn
8th January 2015, 13:36
No that's not true. The difference between AnyCPU and the other versions is simply that I have put a flag in the exe header. Why would it run any slower?

ok i'm sorry. this version doesn't make any sense to me but that's fine.

Zachs
8th January 2015, 13:43
ok i'm sorry. this version doesn't make any sense to me but that's fine.

It's mainly for portability where you have no idea what if you will be running on 32 or 64 bit OS. Yes you still need LAV filters but I'm hoping to include them in MPDN distributions in the future (@nev do I have your permission to do this?).

romulous
8th January 2015, 13:48
Can you give this a try...

Already a long time CCleaner user* :)







*Except for the most current version, new Metro GUI is not to my liking.

Razoola
8th January 2015, 16:08
Would it be possible to have an option to choose which monitor should be used when going into full screen mode? With MPC-HC its nice to have the option to choose this. One can then play movies on the primary monitor when not in full screen and then use the secondary (or monitor of choice) when going into full screen.

nevcairiel
8th January 2015, 16:32
Yes, I get the effort part, just didn't quite understand what you meant by twice the copy back when all deinterlacing algo's if set up equally would require it too. Anyway exactly how much effort are we talking about, do you know?

Its been some time since I explored that area of DXVA2. I tried to do it with DXVA-HD once since it showed more flexibility, however it turned out AMD doesn't implement DXVA-HD at all, so that was some time wasted..

Its probably a day or two, plus setting up a AMD test system again, IIRC they required some more complex surface handling to get the highest quality (ie. provide some future and some past frames to get a proper deinterlaced image), while NVIDIA did seem to do that internal in the driver.

The reasoning not to bother back then also included that NVIDIA users could just use CUVID if they wanted deinterlacing, and DXVA2-CB was unusable on AMD due to its super slow copy-back speed (which was improved in the 7xxx series and up, finally).

fairchild
8th January 2015, 21:53
Zachs you are making great progress with this player. I love the NEDI/SuperRes options... So first of all :thanks:

Now onto a hopefully quick question I had for you. Are you at all working on implementing a refresh rate change similar to what MadVR does? (It's one of the main reasons why I am continuing to mainly use MPC+MadVR as my setup of choice)

Like where you can enter the following: 1080p23,1080p24,1080p50,1080p60
Then video renderer can determine the type of refresh rate which the video is and then changes to the appropriate refresh. This is big for me since my plasma TV has a 96hz mode which plays back 23.976 videos perfectly in sync with no flicker and this bypasses the need for any video smoothing features.

nekromantik
8th January 2015, 22:48
Here is stack trace.
Yes if I disable internal LAV in MPC HC it works fine.

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

An unexpected error 'Mpdn.VideoPlayer.DsGraphException' has occurred.

------------------------------
Error Type = Mpdn.VideoPlayer.DsGraphException
Error Message = Failed to render file 'D:\2012 Keep The Lights On (USA)\Keep.The.Lights.On.2012.DVDRip.XviD-QaFoNE.avi'
Error Source = Mpdn.VideoPlayer
Error Site = Void .ctor(System.String, CreateParams)
Error occurred = at Mpdn.VideoPlayer.DirectShowVideo..ctor(String fileName, CreateParams createParams)
at Mpdn.VideoPlayer.VideoPlayer.Load(String fileName, LoadParams loadParams)
at MediaPlayerDotNet.MainForm.
(String )
at MediaPlayerDotNet.MainForm.PlayMedia(String fileName, Boolean resizeWindowToFit)
at MediaPlayerDotNet.MainForm.OpenMedia(String filename)
at MediaPlayerDotNet.MainForm.
(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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OS Version = Microsoft Windows NT 6.1.7601 Service Pack 1
Total Physical Memory = 5.9 GB
Available Physical Memory = 2.7 GB
Date Time = 08/01/2015 21:45:44
User Name = Nekromantik-17R\Nekromantik
Application Startup Path = C:\mpcdn
Application Executable Path = C:\mpcdn\MediaPlayerDotNet.exe
CurrentDirectory = C:\mpcdn
SystemDirectory = C:\Windows\system32
Ran As Admin = True
HasShutdownStarted = False
MachineName = NEKROMANTIK-17R
ProcessorCount = 4
LogicalDrives = C:\, D:\, E:\
EnvironmentVariables = Path = C:\Ruby193\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.7.0_21/bin;C:\AndroidSDK\platform-tools;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\OpenVPN\bin;C:\HashiCorp\Vagrant\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\; SESSIONNAME = Console; PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC; USERDOMAIN = Nekromantik-17R; PROCESSOR_ARCHITECTURE = x86; ProgramW6432 = C:\Program Files; PUBLIC = C:\Users\Public; APPDATA = C:\Users\Nekromantik\AppData\Roaming; windir = C:\Windows; LOCALAPPDATA = C:\Users\Nekromantik\AppData\Local; CommonProgramW6432 = C:\Program Files\Common Files; VBOX_INSTALL_PATH = C:\Program Files\Oracle\VirtualBox\; TMP = C:\Users\NEKROM~1\AppData\Local\Temp; ProgramFiles = C:\Program Files (x86); USERPROFILE = C:\Users\Nekromantik; ALLUSERSPROFILE = C:\ProgramData; PROCESSOR_LEVEL = 6; FP_NO_HOST_CHECK = NO; HOMEPATH = \Users\Nekromantik; COMPUTERNAME = NEKROMANTIK-17R; PROCESSOR_ARCHITEW6432 = AMD64; USERNAME = Nekromantik; NUMBER_OF_PROCESSORS = 4; PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 58 Stepping 9, GenuineIntel; TEMP = C:\Users\NEKROM~1\AppData\Local\Temp; SystemRoot = C:\Windows; ComSpec = C:\Windows\system32\cmd.exe; LOGONSERVER = \\NEKROMANTIK-17R; MOZ_PLUGIN_PATH = C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\; ProgramFiles(x86) = C:\Program Files (x86); CommonProgramFiles = C:\Program Files (x86)\Common Files; JAVA_HOME = C:\Program Files\Java\jdk1.7.0_21; UOIPME_REG_PATH = C:\Program Files\Intel Corporation\USB over IP; PROCESSOR_REVISION = 3a09; CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files; ESET_OPTIONS = ; SystemDrive = C:; PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\; OS = Windows_NT; ProgramData = C:\ProgramData; HOMEDRIVE = C:
RuntimeVersion = 4.0.30319.18063
Thread Count = 35
Handle Count = 958
VM Size = 525.1 MB
Peak VM Size = 570.8 MB
Working Set Size = 110.2 MB
Max Working Set Size = 1.3 MB
Min Working Set Size = 200 KB
Modules = MediaPlayerDotNet.exe, ntdll.dll, MSCOREE.DLL, KERNEL32.dll, KERNELBASE.dll, ADVAPI32.dll, msvcrt.dll, sechost.dll, RPCRT4.dll, SspiCli.dll, CRYPTBASE.dll, mscoreei.dll, SHLWAPI.dll, GDI32.dll, USER32.dll, LPK.dll, USP10.dll, IMM32.DLL, MSCTF.dll, clr.dll, MSVCR110_CLR0400.dll, mscorlib.ni.dll, ole32.dll, uxtheme.dll, ltc_help32-90652.dll, SHELL32.dll, WINTRUST.dll, CRYPT32.dll, MSASN1.dll, clrjit.dll, System.ni.dll, System.Drawing.ni.dll, System.Windows.Forms.ni.dll, CRYPTSP.dll, rsaenh.dll, RpcRtRemote.dll, nlssorting.dll, bcrypt.dll, comctl32.dll, dwmapi.dll, gdiplus.dll, WindowsCodecs.dll, oleaut32.dll, System.Core.ni.dll, System.Xml.Linq.ni.dll, System.Xml.ni.dll, VideoFrameServicesNative.dll, d3d9.dll, VERSION.dll, d3d8thk.dll, aticfx32.dll, atiu9pag.dll, igdumdim32.dll, igdusc32.dll, atiumdag.dll, atiumdva.dll, POWRPROF.dll, SETUPAPI.dll, CFGMGR32.dll, DEVOBJ.dll, D3D9NativeServices.dll, WINMM.dll, WTSAPI32.dll, WINSTA.dll, dxgi.dll, d3d11.dll, atiuxpag.dll, igd10iumd32.dll, ncrypt.dll, atidxx32.dll, d3d10_1.dll, d3d10_1core.dll, d3dx10_43.dll, apphelp.dll, CLBCatQ.DLL, devenum.dll, ntmarta.dll, WLDAP32.dll, msdmo.dll, MMDevAPI.DLL, PROPSYS.dll, wdmaud.drv, ksuser.dll, AVRT.dll, AUDIOSES.DLL, msacm32.drv, MSACM32.dll, midimap.dll, dsound.dll, quartz.dll, LAVSplitter.ax, avformat-lav-55.dll, WS2_32.dll, NSI.dll, avcodec-lav-55.dll, avutil-lav-52.dll, libbluray.dll, qcap.dll, MSVFW32.dll, sxs.dll, VSFilter.dll, COMDLG32.dll, WINSPOOL.DRV, WININET.dll, api-ms-win-downlevel-user32-l1-1-0.dll, api-ms-win-downlevel-shlwapi-l1-1-0.dll, api-ms-win-downlevel-version-l1-1-0.dll, api-ms-win-downlevel-normaliz-l1-1-0.dll, normaliz.DLL, iertutil.dll, api-ms-win-downlevel-advapi32-l1-1-0.dll, USERENV.dll, profapi.dll, LAVVideo.ax, swscale-lav-2.dll, avfilter-lav-3.dll, qedit.dll, DDRAW.dll, DCIMAN32.dll, D3DIM700.DLL, evr.dll, MFPlat.DLL, DXVA2.DLL, bcryptprimitives.dll, Microsoft.VisualBasic.ni.dll, System.Management.ni.dll, diasymreader.dll, psapi.dll, System.Data.ni.dll, System.Data.dll, System.Web.ni.dll, tiptsf.dll, explorerframe.dll, DUser.dll, DUI70.dll, GROOVEEX.DLL, MSVCR100.dll, MSVCP100.dll, ATL100.DLL, msi.dll, GrooveIntlResource.dll, TortoiseOverlays.dll, TortoiseStub32.dll, TortoiseSVN32.dll, libsvn_tsvn32.dll, libapr_tsvn32.dll, MSWSOCK.dll, MSVCR110.dll, libaprutil_tsvn32.dll, intl3_tsvn32.dll, libsasl32.dll, Secur32.dll, MSVCP110.dll, EhStorShell.dll, msls31.dll, xmllite.dll, StructuredQuery.dll, actxprxy.dll, ieproxy.dll, api-ms-win-downlevel-shlwapi-l2-1-0.dll, thumbcache.dll, SearchFolder.dll, SHDOCVW.dll, ieframe.DLL, api-ms-win-downlevel-shell32-l1-1-0.dll, ntshrui.dll, srvcli.dll, cscapi.dll, slc.dll, MPR.dll, pfmapi_7DB.dll, drprov.dll, ntlanman.dll, NetworkExplorer.dll, davclnt.dll, DAVHLPR.dll, wkscli.dll, netutils.dll, LINKINFO.dll, wpdshext.dll, PortableDeviceApi.dll, IconCodecService.dll, audiodev.dll, WMVCore.DLL, WMASF.DLL, EhStorAPI.dll


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

Failed to render file 'D:\2012 Keep The Lights On (USA)\Keep.The.Lights.On.2012.DVDRip.XviD-QaFoNE.avi' (Mpdn.VideoPlayer)

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

at Mpdn.VideoPlayer.DirectShowVideo..ctor(String fileName, CreateParams createParams)
at Mpdn.VideoPlayer.VideoPlayer.Load(String fileName, LoadParams loadParams)
at MediaPlayerDotNet.MainForm.
(String )
at MediaPlayerDotNet.MainForm.PlayMedia(String fileName, Boolean resizeWindowToFit)
at MediaPlayerDotNet.MainForm.OpenMedia(String filename)
at MediaPlayerDotNet.MainForm.
(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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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

Failed to connect filter to graph (Mpdn.VideoPlayer)

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

at Mpdn.VideoPlayer.DirectShowVideo.Load(String fileName, SubtitlesLoader subtitlesLoader)
at Mpdn.VideoPlayer.DirectShowVideo..ctor(String fileName, CreateParams createParams)

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

Failed to get DirectShow filter pin index 0 (Mpdn.VideoPlayer)

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

at Mpdn.VideoPlayer.DirectShowVideo.GetPin(IBaseFilter filter, PinDirection dir, Int32 pinIndex)
at Mpdn.VideoPlayer.DirectShowVideo.ConnectPins(IGraphBuilder graphBuilder, IBaseFilter fromFilter, Int32 fromPinIndex, IBaseFilter toFilter, Int32 toPinIndex)
at Mpdn.VideoPlayer.DirectShowVideo.ConnectToCallbackFilter(IFilterGraph2 graph, ICaptureGraphBuilder2 graphBuilder, IBaseFilter fromFilter, IBaseFilter callbackFilter)

Zachs
9th January 2015, 01:12
Zachs you are making great progress with this player. I love the NEDI/SuperRes options... So first of all :thanks:

Now onto a hopefully quick question I had for you. Are you at all working on implementing a refresh rate change similar to what MadVR does? (It's one of the main reasons why I am continuing to mainly use MPC+MadVR as my setup of choice)

Like where you can enter the following: 1080p23,1080p24,1080p50,1080p60
Then video renderer can determine the type of refresh rate which the video is and then changes to the appropriate refresh. This is big for me since my plasma TV has a 96hz mode which plays back 23.976 videos perfectly in sync with no flicker and this bypasses the need for any video smoothing features.

Player extension was created exactly for this sort of things, someone (or me) just needs to write an "Auto refresh rate" extension.

Here is stack trace.
Yes if I disable internal LAV in MPC HC it works fine.

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

An unexpected error 'Mpdn.VideoPlayer.DsGraphException' has occurred.



Thanks for the stack trace. I will take a look and see if I could work out what is wrong.

EDIT: Did you have anything in your Video Post Processing filter list? Just a reminder: DirectVobSub and XySubFilter are not video post processing filters, so don't add them to the filter list.

EDIT2: v2.16.7 now has DirectVobSub and XySubFilter removed from the post processing filter list.

Zachs
9th January 2015, 02:40
Its been some time since I explored that area of DXVA2. I tried to do it with DXVA-HD once since it showed more flexibility, however it turned out AMD doesn't implement DXVA-HD at all, so that was some time wasted..

Its probably a day or two, plus setting up a AMD test system again, IIRC they required some more complex surface handling to get the highest quality (ie. provide some future and some past frames to get a proper deinterlaced image), while NVIDIA did seem to do that internal in the driver.

The reasoning not to bother back then also included that NVIDIA users could just use CUVID if they wanted deinterlacing, and DXVA2-CB was unusable on AMD due to its super slow copy-back speed (which was improved in the 7xxx series and up, finally).

It does sound like you feel it's worth doing now since AMD improved their DXVA2-CB as you've said? :P

Zachs
9th January 2015, 03:04
I made an interesting discovery. This is based on the following test file (YUV P210) originally posted by romulous.

https://mega.co.nz/#!YMAwwTja!blxHH99-7dEPBTxncUUw4SwULDZqUEEYjU7Y80C46DI

It's an 800MB ProRes encoded game trailer.

I noticed that MPDN x86 edition uses about 46-50% of my core i5 dual core (MPC-HC+madVR 48-52%) but the x64 edition is massively faster, only using 32-35%. Quite unexpected really.

Oh if only dtsdecoder.dll had a 64-bit version! Is there every going to be one?

Zachs
9th January 2015, 03:27
Would it be possible to have an option to choose which monitor should be used when going into full screen mode? With MPC-HC its nice to have the option to choose this. One can then play movies on the primary monitor when not in full screen and then use the secondary (or monitor of choice) when going into full screen.

Ideally not since MPDN at the moment only does display rate detection for the monitor (via adapter ID in options) you have selected. This means if you have adapter ID 0 selected, you'll be using the refresh rate of your primary monitor even when you are playing it on your secondary monitor.

However, if both of your monitors are similarly spec'ed and are both connected to a multihead graphics adapter, and that you have both the monitor's refresh rate set up similarly, then it should work fine. You'll have to move the window to the monitor you've selected in options menu before you go full screen though.