Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

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

Reply
 
Thread Tools Display Modes
Old 19th May 2015, 21:16   #2181  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 667
Error: Script Chain

I'm getting this error when trying to configure script chain:

"Object reference not set to an instance of an object"

Any thoughts?
Magik Mark is offline   Reply With Quote
Old 19th May 2015, 22:27   #2182  |  Link
Shiandow
Registered User
 
Join Date: Dec 2013
Posts: 753
Could you try updating the renderscripts and deleting the Script Chain config file? There was a bug in the previous renderscripts that deleted the settings before saving them, this made the settings invalid.
Shiandow is offline   Reply With Quote
Old 19th May 2015, 23:49   #2183  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by tobindac View Post
Are you being sarcastic? Because that's exactly what I said. People expect it to work.

The download section is extremely non-intuitive that it has prerequisites.

If you don't believe me put a 3rd party to review that for you.

PS. The main problem is LAV. Most people nowadays do not have it installed (mpc-hc has a very up to date version built in). At the same time this program does not even report it missing.
No, but I'm sorry if it sounded like it was a sarcasm. I was just trying to be sure it's not a bug or something else that you needed to fix before it would run. You didn't mention anything about prerequisites in your post.

I'm aware of that issue but it's a project that we do on our free time and at the moment it's really missing an installer. At the end of the day there's only so much time we could spend on it. Belphemur was going to do an installer for MPDN but he's got other things he's working on as well.
Zachs is offline   Reply With Quote
Old 20th May 2015, 00:05   #2184  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 667
Quote:
Originally Posted by Shiandow View Post
Could you try updating the renderscripts and deleting the Script Chain config file? There was a bug in the previous renderscripts that deleted the settings before saving them, this made the settings invalid.
How do I do that?
Magik Mark is offline   Reply With Quote
Old 20th May 2015, 00:21   #2185  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
deleteing script chain config file

Quote:
Originally Posted by Magik Mark View Post
How do I do that?
Delete and recopy the extensions folder from where you have MPDN installed to make sure your renderscripts are up-to-date.

Change the driver letter and "yourname" in the example below to match where your profile.

C:\Users\YourName\AppData\Local\MediaPlayerDotNet\

Delete the Mpdn.ScriptChain file in that directory.
__________________
System specs: Sager NP9150 SE with i7-3630QM 2.40GHz, 16 GB RAM, 64-bit Windows 10 Pro, NVidia GTX 680M/Intel 4000 HD optimus dual GPU system. Video viewed on LG notebook screen and LG 3D passive TV.

Last edited by Anime Viewer; 20th May 2015 at 00:24.
Anime Viewer is offline   Reply With Quote
Old 20th May 2015, 00:43   #2186  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 667
Quote:
Originally Posted by Anime Viewer View Post
Delete and recopy the extensions folder from where you have MPDN installed to make sure your renderscripts are up-to-date.

Change the driver letter and "yourname" in the example below to match where your profile.

C:\Users\YourName\AppData\Local\MediaPlayerDotNet\

Delete the Mpdn.ScriptChain file in that directory.
Thank you that did it!
Magik Mark is offline   Reply With Quote
Old 20th May 2015, 02:56   #2187  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
@animeviewer I'll try to create a debug version of some sort so you could find out what was causing the hang. Maybe I could build the feature in there such that it detects lockups even in release builds. I'll see what I can do.
Zachs is offline   Reply With Quote
Old 20th May 2015, 14:26   #2188  |  Link
tobindac
Registered User
 
Join Date: May 2013
Posts: 115
Quote:
Originally Posted by Zachs View Post
No, but I'm sorry if it sounded like it was a sarcasm. I was just trying to be sure it's not a bug or something else that you needed to fix before it would run. You didn't mention anything about prerequisites in your post.

I'm aware of that issue but it's a project that we do on our free time and at the moment it's really missing an installer. At the end of the day there's only so much time we could spend on it. Belphemur was going to do an installer for MPDN but he's got other things he's working on as well.
Oh sorry then if I were too "premptive". I'd probably just do a small check before rendering and report "LAV not found", that should give a hint to anyone even barely familiar with video players.

If it's hard to detect LAV's presence, fine. I do not know much about coding for video players.
tobindac is offline   Reply With Quote
Old 20th May 2015, 14:48   #2189  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,697
Quote:
Originally Posted by tobindac View Post
I'd probably just do a small check before rendering and report "LAV not found", that should give a hint to anyone even barely familiar with video players.

If it's hard to detect LAV's presence, fine. I do not know much about coding for video players.
This has been brought up a couple of times, It has caught me out on one occasion but figured it out quickly enough, and there is always "read the OP"
ryrynz is offline   Reply With Quote
Old 20th May 2015, 15:09   #2190  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by tobindac View Post
Oh sorry then if I were too "premptive". I'd probably just do a small check before rendering and report "LAV not found", that should give a hint to anyone even barely familiar with video players.

If it's hard to detect LAV's presence, fine. I do not know much about coding for video players.
Doesn't it show the error that goes like this?
Quote:
Load source failed

Hint:
Make sure LAV filters are installed
Zachs is offline   Reply With Quote
Old 20th May 2015, 16:13   #2191  |  Link
Belphemur
MPDN Extensions Dev
 
Join Date: Apr 2015
Posts: 52
As Zach said, I decide to take on creating an installer for MPDN that bundles LAV, XySubFilter, the github extensions and of course the player.

I made a first version that is in BETA, only tested on X64 (but should work on x86). : http://mpdn.zachsaw.com/Installer/Me..._Installer.exe
It contains the last version of MPDN (v2.26.0) and the version of today Player Extensions.

The installer detect automatically what is your architecture and if you chose to install XySubFilter, it will also register the right version for the player.
The Installer of LAV Filter is embedded into it, if you choose to install it, it will launch LAV Filter installer.

I still have to do more testing when upgrading from one version to the other, especially with the Extensions.

Any feedback is welcome.
Belphemur is offline   Reply With Quote
Old 20th May 2015, 19:57   #2192  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 737
I continued my comparison with madVR (+MPC-HC).
I don't know if you like this kind of post, and if it upsets you, tell me, but I though it would be interesting to compare this player with a known alternative.

With my ATI 5770, I told you CPU was higher with MPDN.
With the same config, except using integrated Intel GPU (HD 2000) instead of ATI card (unplugged), MPDN still uses a bit more CPU, but is is less pronounced, and it uses less GPU.
That lets me think GPU cards have an incidence on differences of performance between madVR and MPDN. I remember my ATI 5770 is known to have bad performances in some area (Madshi had released a little tool to measure differences between cards). It looks like you don't use the same way to "speak" to system to have the final image.

I also tried on another system, and with a NVidia GT 430, MPDN had slightly better results (CPU & GPU).

For the startup, I don't know if you can do something or it's just DotNet stuff, but MPDN takes several seconds (depending on system but still second is the right unit) more to start the video than MPH-HC.

Another thing I've noticed is MPDN statistics OSD cost CPU whereas madVR OSD uses 0 resources.


And an anomaly to finish this boring post: dropped frames are not reported on FullScreen Exclusive (I use D3D9).

Hope you won't take it the wrong way and it was just a try to help you improve this player.
pirlouy is offline   Reply With Quote
Old 21st May 2015, 01:15   #2193  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,697
Quote:
Originally Posted by pirlouy View Post
Another thing I've noticed is MPDN statistics OSD cost CPU whereas madVR OSD uses 0 resources.
Could be in part related to the fact that MPDN's OSD updates at least five times faster than madVR's.
ryrynz is offline   Reply With Quote
Old 21st May 2015, 03:33   #2194  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 667
Hey Zach,

Do you mind sharing the ff:

1. The hierarchy of your render scripts. Which comes first, middle & last as well as their respective settings
2. Your chroma & Luma scaler & down scaler preferences

It would be awesome to see how experts like you are setted up

Thanks a lot
Magik Mark is offline   Reply With Quote
Old 21st May 2015, 04:09   #2195  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
Quote:
Originally Posted by pirlouy View Post
With my ATI 5770, I told you CPU was higher with MPDN.
With the same config, except using integrated Intel GPU (HD 2000) instead of ATI card (unplugged), MPDN still uses a bit more CPU, but is is less pronounced, and it uses less GPU.
That lets me think GPU cards have an incidence on differences of performance between madVR and MPDN.

I also tried on another system, and with a NVidia GT 430, MPDN had slightly better results (CPU & GPU).
Unless its using up CPU/GPU to the point of causing resource problems on your system (where you can't do other tasks or watch video on your system successfully) I don't see why that is a problem. If the GPU and CPU aren't being used that could mean that their workload may be getting dumped off to slower parts of the system for handling (like system memory - which can be slower than video memory, or the disk drive - which can be slower than memory - SSD can be excluded from this occasionally).

Quote:
Originally Posted by pirlouy View Post
For the startup, I don't know if you can do something or it's just DotNet stuff, but MPDN takes several seconds (depending on system but still second is the right unit) more to start the video than MPH-HC.
Are you talking about when it says: "optimizing extensions", or are you talking about something else? You could always turn off extensions (and delete that directory to speed things up), but then you'd loose out on features.

Quote:
Originally Posted by pirlouy View Post
Another thing I've noticed is MPDN statistics OSD cost CPU whereas madVR OSD uses 0 resources.
Do you plan on watching entire videos on a regular basis with with OSD on the entire time? I doubt it, so what does it matter if OSD uses a few resources when you aren't going to have that active normally?

Quote:
Originally Posted by pirlouy View Post
And an anomaly to finish this boring post: dropped frames are not reported on FullScreen Exclusive (I use D3D9).
Are you saying your system is dropping frames (where you notice on screen problems)? If not what is the problem? If its not dropping frames that is a good thing.

Not all settings can be configured identical for both, so they can't be compared apples to apples.

I think you're getting too wrapped up in insignificant things. The most important things is: Which is giving you better image quality? Which has the features you want to use?

As they both stand I feel MPDN is currently providing the superior video picture on my system, and is why that is my default video program.
__________________
System specs: Sager NP9150 SE with i7-3630QM 2.40GHz, 16 GB RAM, 64-bit Windows 10 Pro, NVidia GTX 680M/Intel 4000 HD optimus dual GPU system. Video viewed on LG notebook screen and LG 3D passive TV.
Anime Viewer is offline   Reply With Quote
Old 21st May 2015, 08:01   #2196  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by Magik Mark View Post
Hey Zach,

Do you mind sharing the ff:

1. The hierarchy of your render scripts. Which comes first, middle & last as well as their respective settings
2. Your chroma & Luma scaler & down scaler preferences

It would be awesome to see how experts like you are setted up

Thanks a lot
I'm probably not the best to ask since I'm still running an older version of MPDN on my HTPC (hence an older version of scripts too) - been spending way too much time developing MPDN it's getting in the way of my enjoyment of my own creation!

I'll say this though, it's really up to you and the contents you view, as well as how much your GPU can take (or GPU fan noise you are willing to put up with).

Quote:
Originally Posted by Anime Viewer View Post
I was hoping the new "use debug dialog for error messages" option might generate something with regards to screen freezing/MPDN not responding/having to sign out/restart windows when trying to use full screen exclusive mode with Direct3D 11, or Direct3D 10.1 as the presentation API with Optimus systems, but I'm guessing that only works with plugins and scripts.
I've just released 2.26.1, specifically targeting this problem (app hang). It *should* detect the situation where MPDN becomes unresponsive and causes a crash on purpose (after several seconds). You'll get a crash dump file in %localappdata%\MediaPlayerDotNet.exe.dump.

p.s. Thanks for helping out in the forum!
Zachs is offline   Reply With Quote
Old 21st May 2015, 08:22   #2197  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Ah found a bug with the latest version. It'll crash when it exits. I'll fix it in the next release.

EDIT: Fixed. v2.26.2.

Last edited by Zachs; 21st May 2015 at 08:42.
Zachs is offline   Reply With Quote
Old 21st May 2015, 09:24   #2198  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 667
Hardware Decoder

Which hardware decoder works best? cuvid or dxva2?
Magik Mark is offline   Reply With Quote
Old 21st May 2015, 09:32   #2199  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 667
Bit Depth

Is it possible to have 16bit in windows mode? I'm only getting 16bit in FSE
Magik Mark is offline   Reply With Quote
Old 21st May 2015, 09:33   #2200  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,416
Quote:
Originally Posted by Magik Mark View Post
Is it possible to have 16bit in windows mode? I'm only getting 16bit in FSE
No, anything above 8-bit requires FSE.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Reply

Tags
direct3d, mpdn, nnedi3, opencl, reclock

Thread Tools
Display Modes

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

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

Forum Jump


All times are GMT +1. The time now is 13:35.


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