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

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

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st October 2014, 12:04   #321  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
How to use render scripts (v2.11.0 and above)

With MPDN v2.11.0, scripts can now call other scripts, and have them in a chain either via GUI or via your own script.

Pre-/Post processing with NEDI



Create a render script chain such as the above (You can get to this screen via Options | Render Script | Select Script Chain | Press the Configure button).

The first "Image Processor" render script is your pre-processing filter. Click configure and you can add as many MPC-HC style pixel shader files as you wish.

The second "NEDI" render script doubles the image.

The third "Resizer" render script scales the image to target size. There's a plethora of options in the "Resizer" config menu. Target size is simply "target rectangle" as seen in the Ctrl+J stats screen (i.e. display resolution). Video size means the luma size (MPDN implicitly scales chroma to luma size). Feel free to experiment.

The last render script, also an "Image Processor", is essentially your post-processing filter. It is exactly the same filter as the first, except it is a post-processing filter this time around because it processes the post-scaled image.

If you choose to use MPDN's built in scalers, all you have to change from the above setup is remove "NEDI" from the list.

Pre-/Post processing with SuperResChroma + SuperRes with NEDI

Choose Script Chain:


Configure your chain to look like this (Note: the pre-/post-processing filters are represented by ImageProcessor scripts):


Enable NEDI in SuperRes:
* You can fine tune SuperRes via its various parameters
* Note: The following is my personal preference and yours may be different:


Chain Scripting

The GUI based script chain creator tool is meant for simple script chaining. If you find yourself limited by what the GUI tool offers, you should use a chain script to let MPDN know when and how you want to use certain script chain.

Let's start with a simple example. You can say to MPDN,

Code:
Preprocess with Bloom.hlsl, LiftGammaGain.hlsl etc.
Next, use NEDI to double the image if we need to upscale
Then, Resize to target size with Softcubic (softness 90)
Lastly, if Video is below 1080p, Sharpen luma.
A more complicated example:

Code:
if Video is 720p, preprocess with FineSharp shaders, then upscale using NEDI.
if Video is 1080p or higher, don't do anything.
if Video is less than 720p, do the following:
    Upscale with ChromaScaler (Preset=Catrom)
    Preprocess with Bloom.hlsl, LiftGammaGain.hlsl etc.
    Next, keep using NEDI to double the image until we get past target size
    Then, Resize (downscale) to target size with Bicubic (sharpness 50) with linear light scaling
    Lastly, if Video is below 1080p, Sharpen luma.
To get started, have a look at Custom.MyRenderScript.cs.

Last edited by Zachs; 7th January 2015 at 02:24.
Zachs is offline   Reply With Quote
Old 31st October 2014, 12:47   #322  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by jkauff View Post
I know you're very busy, but when you get some time please provide a way to resume a movie. I'm using MPDN as my regular player and it's a real pain to have to seek back to the last position played.
This is now available in v2.8.4.
Zachs is offline   Reply With Quote
Old 31st October 2014, 13:47   #323  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
Anyone else seeing the following error after installing MPDN 2.8.4 and then copying the contents of MPDN renderscript pack into the RenderScripts folder in 2.8.4?

Code:
TITLE: CSScriptLibrary Error
------------------------------

An unexpected error 'System.ApplicationException' has occurred.

------------------------------
ADDITIONAL INFORMATION:

Cannot parse "//css_import..." (CSScriptLibrary)

------------------------------
BUTTONS:

&Ignore
&Abort
------------------------------
In fact after extracting the RenderScripts zip content into the RenderScripts folder and getting that error at launch I can't do anything in MPDN (everything is greyed out -> File, View, Play, Window, Help.

Edit: It only seems to happen with the 32-bit version. The 64-bit version appear to work fine.
__________________
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; 31st October 2014 at 14:00.
Anime Viewer is offline   Reply With Quote
Old 31st October 2014, 13:58   #324  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Hmm. That's odd. Can you click the details button when you get the error and give me the detailed errors including stack trace please?

EDIT:
You might want to delete your config files and start from fresh since it only happens on 32-bit. You can find the location of MPDN's config files in the OP (make a backup first).
Just tested all 3 versions on my PC and I can't reproduce the error.

On second thought, what is your MPDN path for x86 and x64? i.e. where did you extract them? Might be related to how scripts are being handled in C# script library (long path names with spaces etc.).

EDIT2:
OK. Problem found. Your path has a comma, which is a delimiter for C# script and that was the thing causing a conflict.

Last edited by Zachs; 31st October 2014 at 14:12.
Zachs is offline   Reply With Quote
Old 31st October 2014, 14:15   #325  |  Link
river1
Registered User
 
Join Date: May 2010
Posts: 9
It crashes when I put xy-vsfilter or xysubfilter in the filter chain.

TITLE: Mpdn.VideoPlayer Error
------------------------------

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

------------------------------
ADDITIONAL INFORMATION:

Failed to render file '****.mkv' (Mpdn.VideoPlayer)

------------------------------

Failed to connect filter to graph (Mpdn.VideoPlayer)

------------------------------

Error HRESULT E_FAIL has been returned from a call to a COM component. (mscorlib)

------------------------------
BUTTONS:

&Ignore
&Abort
------------------------------
river1 is offline   Reply With Quote
Old 31st October 2014, 14:21   #326  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by river1 View Post
It crashes when I put xy-vsfilter or xysubfilter in the filter chain.

TITLE: Mpdn.VideoPlayer Error
------------------------------

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

------------------------------
ADDITIONAL INFORMATION:

Failed to render file '****.mkv' (Mpdn.VideoPlayer)

------------------------------

Failed to connect filter to graph (Mpdn.VideoPlayer)

------------------------------

Error HRESULT E_FAIL has been returned from a call to a COM component. (mscorlib)

------------------------------
BUTTONS:

&Ignore
&Abort
------------------------------

Xy-vsfilter is supported implicitly so you shouldn't add it to the graph.
XySubFilter is *not* supported yet (in the works).
Zachs is offline   Reply With Quote
Old 31st October 2014, 14:30   #327  |  Link
river1
Registered User
 
Join Date: May 2010
Posts: 9
Quote:
Originally Posted by Zachs View Post
Xy-vsfilter is supported implicitly so you shouldn't add it to the graph.
XySubFilter is *not* supported yet (in the works).
river1 is offline   Reply With Quote
Old 31st October 2014, 20:16   #328  |  Link
jkauff
Registered User
 
Join Date: Oct 2012
Location: Akron, OH
Posts: 491
Quote:
Originally Posted by Zachs View Post
This is now available in v2.8.4.
Thank you, Zachs!
jkauff is offline   Reply With Quote
Old 31st October 2014, 20:21   #329  |  Link
toniash
Registered User
 
Join Date: Oct 2010
Posts: 131
@Zachs Thank you, now I can do what I asked you!
Two questions: MPDN has some kind of smooth motion?
Do you plan to implement automatic refresh changing?
toniash is offline   Reply With Quote
Old 31st October 2014, 20:35   #330  |  Link
jkauff
Registered User
 
Join Date: Oct 2012
Location: Akron, OH
Posts: 491
Quote:
Originally Posted by Anime Viewer View Post
Anyone else seeing the following error after installing MPDN 2.8.4 and then copying the contents of MPDN renderscript pack into the RenderScripts folder in 2.8.4?

Code:
TITLE: CSScriptLibrary Error
------------------------------

An unexpected error 'System.ApplicationException' has occurred.

------------------------------
ADDITIONAL INFORMATION:

Cannot parse "//css_import..." (CSScriptLibrary)

------------------------------
BUTTONS:

&Ignore
&Abort
------------------------------
In fact after extracting the RenderScripts zip content into the RenderScripts folder and getting that error at launch I can't do anything in MPDN (everything is greyed out -> File, View, Play, Window, Help.

Edit: It only seems to happen with the 32-bit version. The 64-bit version appear to work fine.
Same behavior here. Error in 32-bit, no error 64-bit.
jkauff is offline   Reply With Quote
Old 31st October 2014, 20:57   #331  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
32-bit Error Message = Cannot parse "//css_import..."

Quote:
Originally Posted by Zachs View Post
Hmm. That's odd. Can you click the details button when you get the error and give me the detailed errors including stack trace please?

EDIT:
You might want to delete your config files and start from fresh since it only happens on 32-bit. You can find the location of MPDN's config files in the OP (make a backup first).
Just tested all 3 versions on my PC and I can't reproduce the error.

On second thought, what is your MPDN path for x86 and x64? i.e. where did you extract them? Might be related to how scripts are being handled in C# script library (long path names with spaces etc.).

EDIT2:
OK. Problem found. Your path has a comma, which is a delimiter for C# script and that was the thing causing a conflict.
I've been doing fresh installs since moving from 2.8.2 to 2.8.3 (deleting the old versions before extracting the new ones), so that rules out left behind files.

x86 version installed to:
E:\Program Files (x86)\MediaPlayerDotNet(x86)

x64 version installed to:
E:\Program Files\MediaPlayerDotNet

A comma in my path?!? I don't see that... There are a couple of ()'s but those are the only characters. I'll try extracting a copy to other locations and see if I get different results.

Here is a longer log from the All Messages section of the Advanced information area:

Code:
===================================

An unexpected error 'System.ApplicationException' has occurred.

------------------------------
Error Type = System.ApplicationException
Error Message = Cannot parse "//css_import..."
Error Source = CSScriptLibrary
Error Site = Void .ctor(System.String, System.String)
Error occurred =    at csscript.CSharpParser.ImportInfo..ctor(String statement, String parentScript)
   at csscript.CSharpParser.Init(String code, String file, String[] directivesToSearch)
   at csscript.CSharpParser..ctor(String script, Boolean isFile)
   at CSScriptLibrary.FileParser.ProcessFile()
   at CSScriptLibrary.FileParser..ctor(String fileName, ParsingParams prams, Boolean process, Boolean imported, String[] searchDirs, Boolean throwOnError)
   at CSScriptLibrary.ScriptParser.Init(String fileName, String[] searchDirs)
   at CSScriptLibrary.ScriptParser..ctor(String fileName, String[] searchDirs)
   at csscript.CSExecutor.Compile(String scriptFileName)
   at csscript.CSExecutor.Compile(String scriptFile, String assemblyFile, Boolean debugBuild)
   at CSScriptLibrary.CSScript.LoadWithConfig(String scriptFile, String assemblyFile, Boolean debugBuild, Settings scriptSettings, String compilerOptions, String[] refAssemblies)
   at CSScriptLibrary.CSScript.Load(String scriptFile)
   at MediaPlayerDotNet.MainForm.†††
†††‰(Object )
   at MediaPlayerDotNet.MainForm.†††
††††˜(Object  )
   at MediaPlayerDotNet.MainForm.†††
††††˜()
   at MediaPlayerDotNet.MainForm.†††
††††œŽ()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
OS Version = Microsoft Windows NT 6.3.9600.0
Total Physical Memory = 15.9 GB
Available Physical Memory = 12.7 GB
Date Time = 10/31/2014 12:54:20 PM
User Name = SAGER-NP9150\Tom
Application Startup Path = E:\Program Files (x86)\MediaPlayerDotNet(x86)
Application Executable Path = E:\Program Files (x86)\MediaPlayerDotNet(x86)\MediaPlayerDotNet.exe
CurrentDirectory = E:\Program Files (x86)\MediaPlayerDotNet(x86)
SystemDirectory = C:\Windows\system32
Ran As Admin = False
HasShutdownStarted = False
MachineName = SAGER-NP9150
ProcessorCount = 8
LogicalDrives = C:\, E:\, F:\, G:\, Z:\
EnvironmentVariables = Path = C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\AuthenTec TrueSuite\;
C:\Program Files\AuthenTec TrueSuite\x86;
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\AuthenTec TrueSuite\x86\;
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 = SAGER-NP9150; PROCESSOR_ARCHITECTURE = x86; ProgramW6432 = C:\Program Files;
 PUBLIC = C:\Users\Public; 
APPDATA = C:\Users\AV\AppData\Roaming; windir = C:\Windows; LOCALAPPDATA = C:\Users\AV\AppData\Local;
 CommonProgramW6432 = C:\Program Files\Common Files; USERNAME = AV; TMP = C:\Users\AV\AppData\Local\Temp;
 USERPROFILE = C:\Users\AV;
 ProgramFiles = C:\Program Files (x86); PROCESSOR_LEVEL = 6; FP_NO_HOST_CHECK = NO; HOMEPATH = \Users\AV;
 COMPUTERNAME = SAGER-NP9150;
 PROCESSOR_ARCHITEW6432 = AMD64; NVIDIAWHITELISTED = 0x01; NUMBER_OF_PROCESSORS = 8;
 PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 58 Stepping 9, GenuineIntel; SystemRoot = C:\Windows;
 ComSpec = C:\Windows\system32\cmd.exe; LOGONSERVER = \\MicrosoftAccount;
 TEMP = C:\Users\AV\AppData\Local\Temp; ProgramFiles(x86) = C:\Program Files (x86);
 SystemDrive = C:; CommonProgramFiles = C:\Program Files (x86)\Common Files; USERDOMAIN_ROAMINGPROFILE = SAGER-NP9150;
 PROCESSOR_REVISION = 3a09;
 CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files;
 ALLUSERSPROFILE = C:\ProgramData; SHIM_MCCOMPAT = 0x810000001;
 PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;
 OS = Windows_NT; ProgramData = C:\ProgramData; HOMEDRIVE = C:
RuntimeVersion = 4.0.30319.34014
Thread Count = 16
Handle Count = 360
VM Size = 370.1 MB
Peak VM Size = 370.1 MB
Working Set Size = 56.9 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, bcryptPrimitives.dll, mscoreei.dll, SHLWAPI.dll, combase.dll, USER32.dll, GDI32.dll, IMM32.DLL,
 MSCTF.dll, nvinit.dll, detoured.dll, nvd3d9wrap.dll,
 SETUPAPI.dll, CFGMGR32.dll, nvdxgiwrap.dll, clr.dll, MSVCR120_CLR0400.dll, mscorlib.ni.dll, ole32.dll, kernel.appcore.dll,
 uxtheme.dll, tiptsf.dll, OLEAUT32.dll,
 clrjit.dll, System.ni.dll, System.Drawing.ni.dll, System.Windows.Forms.ni.dll, bcrypt.dll, CRYPTSP.dll, rsaenh.dll, comctl32.dll,
 dwmapi.dll, gdiplus.dll, DWrite.dll,
 WindowsCodecs.dll, System.Core.ni.dll, shell32.dll, SHCORE.dll, System.Xml.Linq.ni.dll, System.Xml.ni.dll, VideoFrameServicesNative.dll,
 d3d9.dll, VERSION.dll,
 nvumdshim.dll, igdumdim32.dll, igdusc32.dll, nvd3dum.dll, PSAPI.DLL, DEVOBJ.dll, WINTRUST.dll, CRYPT32.dll, MSASN1.dll, nvspcap.dll,
 oleacc.dll, Accessibility.ni.dll,
 clbcatq.dll, msiltcfg.dll, msi.dll, D3D9NativeServices.dll, WINMM.dll, WTSAPI32.dll, WINMMBASE.dll, powrprof.dll, WINSTA.dll, dxgi.dll,
 d3d10_1.dll, d3d10_1core.dll,
 d3d11.dll, nvwgf2um.dll, igd10iumd32.dll, ncrypt.dll, NTASN1.dll, d3dx10_43.dll, usp10.dll, Microsoft.VisualBasic.ni.dll, System.Management.ni.dll,
 diasymreader.dll


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

Cannot parse "//css_import..." (CSScriptLibrary)

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

   at csscript.CSharpParser.ImportInfo..ctor(String statement, String parentScript)
   at csscript.CSharpParser.Init(String code, String file, String[] directivesToSearch)
   at csscript.CSharpParser..ctor(String script, Boolean isFile)
   at CSScriptLibrary.FileParser.ProcessFile()
   at CSScriptLibrary.FileParser..ctor(String fileName, ParsingParams prams, Boolean process, Boolean imported, String[] searchDirs, Boolean throwOnError)
   at CSScriptLibrary.ScriptParser.Init(String fileName, String[] searchDirs)
   at CSScriptLibrary.ScriptParser..ctor(String fileName, String[] searchDirs)
   at csscript.CSExecutor.Compile(String scriptFileName)
   at csscript.CSExecutor.Compile(String scriptFile, String assemblyFile, Boolean debugBuild)
   at CSScriptLibrary.CSScript.LoadWithConfig(String scriptFile, String assemblyFile, Boolean debugBuild, Settings scriptSettings, String compilerOptions, String[] refAssemblies)
   at CSScriptLibrary.CSScript.Load(String scriptFile)
   at MediaPlayerDotNet.MainForm.†††
†††‰(Object )
   at MediaPlayerDotNet.MainForm.†††
††††˜(Object  )
   at MediaPlayerDotNet.MainForm.†††
††††˜()
   at MediaPlayerDotNet.MainForm.†††
††††œŽ()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Edit: Your right the name has something to do with it [ "()" issue?]. I copied to e:\temp, tried and failed. Renamed it to MPDN, and it worked, renamed it to MPDN(x86) and it failed. Renamed it to MPDN[x86] and it worked. Renamed it to MediaPlayerDotNet[x86] and it worked. Copied that directory back to "E:\Program Files (x86)\" and if failed again. Must be a conflict with the script you rewrote because I had extracted the old versions to the same E:\Program Files (x86)\MediaPlayerDotNet(x86) and not had problems.


Quote:
Originally Posted by jkauff View Post
Same behavior here. Error in 32-bit, no error 64-bit.
jkauff,
Did you also extract it to your "Program Files (x86)" directory, or have you included a "(" and or ")" in your file name? If so try moving the folder and/or renaming the 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; 31st October 2014 at 21:20. Reason: split envornment variable and module lines to shrink length of post
Anime Viewer is offline   Reply With Quote
Old 31st October 2014, 21:45   #332  |  Link
jkauff
Registered User
 
Join Date: Oct 2012
Location: Akron, OH
Posts: 491
Quote:
Originally Posted by Anime Viewer View Post
jkauff,
Did you also extract it to your "Program Files (x86)" directory, or have you included a "(" and or ")" in your file name? If so try moving the folder and/or renaming the directory.
Yes, it's in my "Program Files (x86)" directory, and there are no special characters in the MediaPlayerDotNet folder name.

Also, when I tried playing a movie in the 64-bit version, I got an error that MPDN couldn't find SharpDX, which is sitting in the same folder as the other .dll program files.

I opened Application.64.config in a text editor and didn't see any path info in there that might be causing a problem.

Last edited by jkauff; 31st October 2014 at 21:48.
jkauff is offline   Reply With Quote
Old 31st October 2014, 21:55   #333  |  Link
kerimcem
Registered User
 
Join Date: Aug 2011
Posts: 85
good player..
please ,association and volume bar added?
kerimcem is offline   Reply With Quote
Old 1st November 2014, 00:49   #334  |  Link
Anima123
Registered User
 
Join Date: Jun 2005
Posts: 507
With MPDN 2.8.4, NEDI enabled only, while playing a 1080p file (no need to upscale at all), open another SD file, NEDI seems not working anymore, the result was like nearest neighbor been used which is horrible, and lots of dropped frames.

I guess there may be a bug that's worth digging into.
Anima123 is offline   Reply With Quote
Old 1st November 2014, 00:56   #335  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by Anima123 View Post
With MPDN 2.8.4, NEDI enabled only, while playing a 1080p file (no need to upscale at all), open another SD file, NEDI seems not working anymore, the result was like nearest neighbor been used which is horrible, and lots of dropped frames.

I guess there may be a bug that's worth digging into.
Do you use a postprocessing filter? If you do the it's the same one as the known bug as described in the OP. This has been fixed in the next release.
Zachs is offline   Reply With Quote
Old 1st November 2014, 01:09   #336  |  Link
Shiandow
Registered User
 
Join Date: Dec 2013
Posts: 753
Quote:
Originally Posted by Zachs View Post
Do you use a postprocessing filter? If you do the it's the same one as the known bug as described in the OP. This has been fixed in the next release.
Actually I think that bug is cause by the fact that NEDI doesn't update its own input size. More specifically InputFilter is created precisely once, and may not have the correct size.

I think I have found a way to fix it but it requires changes to Filter.cs, and may have other issues. I'll put some more details in a PM.
Shiandow is offline   Reply With Quote
Old 1st November 2014, 01:40   #337  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by toniash View Post
@Zachs Thank you, now I can do what I asked you!
Two questions: MPDN has some kind of smooth motion?
Do you plan to implement automatic refresh changing?
No smooth motion. But I may implement it in the future.
Automatic refresh changing isn't on my todo list at the moment.

Quote:
Originally Posted by Anime Viewer View Post
I've been doing fresh installs since moving from 2.8.2 to 2.8.3 (deleting the old versions before extracting the new ones), so that rules out left behind files.

x86 version installed to:
E:\Program Files (x86)\MediaPlayerDotNet(x86)

x64 version installed to:
E:\Program Files\MediaPlayerDotNet

A comma in my path?!? I don't see that... There are a couple of ()'s but those are the only characters. I'll try extracting a copy to other locations and see if I get different results.
Quote:
Originally Posted by jkauff View Post
Yes, it's in my "Program Files (x86)" directory, and there are no special characters in the MediaPlayerDotNet folder name.

Also, when I tried playing a movie in the 64-bit version, I got an error that MPDN couldn't find SharpDX, which is sitting in the same folder as the other .dll program files.

I opened Application.64.config in a text editor and didn't see any path info in there that might be causing a problem.
Thanks for all the help to track down this problem guys/gals! I've found it's actually a problem with how CSScript library parses the path of the render scripts (nothing to do with MPDN's config files). I'll look into fixing that for the next release (may have to hack CSScript lib's code, but luckily it's MIT license).

Quote:
Originally Posted by kerimcem View Post
good player..
please ,association and volume bar added?
Not yet. Will look into player enhancements after I sort out render scripts.
Zachs is offline   Reply With Quote
Old 1st November 2014, 01:57   #338  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
I'm not sure that the NEDI (or any script for that matter) is taking effect on my videos (aka working on my system). Here is screen shots I took with the scripts set, and with no scripts set. I don't see any difference. Anyone care to upload before and after screen shots to show what it should look like with scripts taking effect?

Screen shot comparison
__________________
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 1st November 2014, 02:00   #339  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Originally Posted by Anime Viewer View Post
I'm not sure that the NEDI (or any script for that matter) is taking effect on my videos (aka working on my system). Here is screen shots I took with the scripts set, and with no scripts set. I don't see any difference. Anyone care to upload before and after screen shots to show what it should look like with scripts taking effect?

Screen shot comparison
Try enabling the "Always double image" option in NEDI scaler for the current version of MPDN as there's a bug that causes it to not take effect. See if that makes a difference?

EDIT:
NEDI with bicubic50
http://i.imgur.com/mcSjm6e.jpg

Jinc8
http://i.imgur.com/YnfiXws.jpg

Both without pre-/post-processing.

Try with just NEDI as the sole render script first. Otherwise you'll run into the MPDN bug as described.

Last edited by Zachs; 1st November 2014 at 02:27.
Zachs is offline   Reply With Quote
Old 1st November 2014, 02:51   #340  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
Quote:
Originally Posted by Zachs View Post
Try enabling the "Always double image" option in NEDI scaler for the current version of MPDN as there's a bug that causes it to not take effect. See if that makes a difference?

EDIT:
NEDI with bicubic50
http://i.imgur.com/mcSjm6e.jpg

Jinc8
http://i.imgur.com/YnfiXws.jpg

Both without pre-/post-processing.

Try with just NEDI as the sole render script first. Otherwise you'll run into the MPDN bug as described.
That is what I thought might be the case when I was testing this morning, but even with Always checked I still didn't notice a difference. Here is a screen capture with it having "always" checked.

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

One other thing I noticed this morning, and again now. Is if I click the configure button while a video is paused I get trapped with no way to exit (like I reported a few months ago that happened when new render mode and DX10 were selected together). The only way out of it is to log out of windows, or restart the computer. If no video is running or paused when going into the configuration screen there is no problem changing settings.

Edit:
Here is with only NEDI in the scripts:
http://i.imgur.com/WN4UW12.jpg
__________________
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; 1st November 2014 at 02:55. Reason: added NEDI only screen shot
Anime Viewer is offline   Reply With Quote
Reply

Tags
direct3d, mpdn, nnedi3, opencl, reclock

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Forum Jump


All times are GMT +1. The time now is 12:07.


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