View Full Version : Media Player .NET (MPDN) - D3D HQ GPU Video Renderer [v2.49.0/v1.31.0 27 Dec 2018]
Zachs
27th October 2014, 00:55
Were you working on getting XySubFilter (auto-load version) working, so that DirectVobSub (auto loading version) wouldn't have to be installed separately for future versions of MPDN?
There might be a way to tie it into the install/setup similar to how KCP did it (http://haruhichan.com/forum/showthread.php?7545-KCP-Kawaii-Codec-Pack).
Edit: I see things are tided up with XySubFilter elsewhere, so I guess you're hands are tied on getting it working with MPDN in the near future.
http://forum.doom9.org/showthread.php?t=168282&page=34
http://forum.doom9.org/showthread.php?p=1693444#post1693444
XySubFilter is still a WIP. I just haven't had time to finish implementing it. It's so vastly different to normal DirectShow filter that it requires quite a bit of effort to support.
Zachs
28th October 2014, 13:02
I just get a black screen when trying to use NEDI shader, the other 2 built in ones work fine. (black screen occurs when going full-screen)
Shiandow, thanks for porting your NEDI shader to MPDN, however I found a possible bug, I got blank screen if I resize the window, or go to full screen.
Edit: Ooops, fairchild beats me to it. I wrote the post while retesting the finding.
This problem with AMD GPUs is now fixed in v2.8.3.
Zachs
28th October 2014, 13:08
Thanks!
Would it be possible to overscale(over device resolution) + sharpen + downscale(to device resolution) ??
I'm working on render scripts that will enable that.
In the meantime, Chroma Scaler script essentially converts MPDN's rendering pipeline to be similar to madVR's in which chroma is first upscaled to luma size and converted to RGB before Luma Scaler is applied to the entire image in RGB. This is faster for some GPUs in upscale but will most certainly be slower in downscaling 4K materials. madshi said scaling it this way could yield better PQ.
Anime Viewer
28th October 2014, 13:41
This problem with AMD GPUs is now fixed in v2.8.3.
I installed 2.8.3 on top of the 2.8.2 I had on my system, and on launching MediaPlayerDotNet I get the following renderscript error:
TITLE: CSScriptLibrary Error
------------------------------
An unexpected error 'csscript.CompilerException' has occurred.
------------------------------
ADDITIONAL INFORMATION:
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(100,36): error CS0246: The type or namespace name 'IScriptRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(20,46): error CS0246: The type or namespace name 'IScriptRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(20,49): error CS0246: The type or namespace name 'IScriptRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(21,16): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(25,25): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(37,25): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(50,28): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(58,16): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(66,25): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(91,17): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(92,16): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(103,32): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(112,37): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(139,16): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(149,32): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(149,48): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(163,37): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(170,46): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(191,32): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(191,50): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(203,37): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(215,56): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\Filter.cs(224,37): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(31,61): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(48,61): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(65,41): error CS0246: The type or namespace name 'ITexture' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(102,12): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(105,11): error CS0246: The type or namespace name 'ScriptDescriptor' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(120,11): error CS0246: The type or namespace name 'ScriptInputDescriptor' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\NEDI.cs(148,22): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(22,21): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(23,30): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(26,20): error CS0246: The type or namespace name 'ScriptDescriptor' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(41,20): error CS0246: The type or namespace name 'ScriptInputDescriptor' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(75,31): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaMono.cs(109,39): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(22,21): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(23,30): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(26,20): error CS0246: The type or namespace name 'ScriptDescriptor' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(41,20): error CS0246: The type or namespace name 'ScriptInputDescriptor' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(75,31): error CS0246: The type or namespace name 'IRenderer' could not be found (are you missing a using directive or an assembly reference?)
e:\Program Files (x86)\MediaPlayerDotNet(x86)\RenderScripts\SweetFxSample.LumaSharpen.cs(106,39): error CS0246: The type or namespace name 'IShader' could not be found (are you missing a using directive or an assembly reference?)
(CSScriptLibrary)
------------------------------
BUTTONS:
&Ignore
&Abort
------------------------------
If I click ignore, and go into the renderscript area of settings, everything is empty (no scripts are listed). I'll try a clean install first (deleteing the contents of the MediaPlayerDotNet directory), and if that doesn't work my next step will be to find Shiandow's link to the NEDI, and reinstall/copy the scripts over on top of the 2.8.3 ones. I'll post to let people know what solves it in case others encounter the issue.
Update: deleting the contents of the directory worked to get rid of the error message on launch, but the renderscript directory is still empty. (Both in program and in the renderscript directory, so I guess Shiandow's scripts aren't being packaged with the MPDN files yet). Next, I'm going to find Shiandow's link to the NEDI render script file (many a post back), and try to copy that into the renderscript directory to see if it shows up properly in the program.
Update 2:
I redownloaded Shiandow's NEDI render script for MPDN (http://www.mediafire.com/download/rdzl5taqtpzudp5/NEDIRenderScripts.rar), and extracted it to the MPDN render script directory which brought the the render script MPDN error back at launch.
Update 3:
I tried the 2.8.3 x64 version, and encountered the same error(s). I extracted the 2.8.2 files on top of the 2.8.3 x86 files, and everything was back to error free again, so something may be off with the coding/paths in 2.8.3.
toniash
28th October 2014, 14:31
Well a few pages back I posted a method to do NEDI -> Scaling -> Sharpen, but I think that method may not work anymore in combination with some of the changes I made.
Anyway If you want to do: NEDI -> Sharpen -> Scaling, then the easiest way to do this is to download the newest script files, and add the line:
FinalPass = new ShaderFilter(FinalPass, Renderer.CompileShader(Path.Combine(ShaderPath, @"..\SweetFX\LumaSharpen.hlsl")));
to Nedi.cs at line 77, just after:
FinalPass = new NEDIVInterleave(FirstPass,NEDI_II,
Renderer.CompileShader(Path.Combine(ShaderPath, @"NEDI-VInterleave.hlsl"))););
This adds another step after the NEDI algorithm, where it performs LumaSharpen on the doubled image.
When it becomes possible to chain shaders this should be possible without changing any code, and hopefully it will even become possible to add a sharpening filter which either does: upscaling -> sharpening or sharpening -> downscaling. But this might take a while.
it works.
toniash
28th October 2014, 14:35
I installed 2.8.3 on top of the 2.8.2 I had on my system, and on launching MediaPlayerDotNet I get the following renderscript error:
[code]
TITLE: CSScriptLibrary Error
------------------------------
An unexpected error 'csscript.CompilerException' has occurred.
.
Have you redownloaded the new render scripts in the first page?
(there is a change in API):confused:
patul
28th October 2014, 15:31
Anime Viewer, you have to delete/overwrite the RenderScripts folder with new one, now separate package, you have to download RenderScripts.zip, link is available in the first page.
Zachs, initial test, the shaders work now, NEDI scaler works, I'll have to test it more.
EDIT1: Frame dropped/delayed when NEDI is selected, however scaling is not needed (video size matches target render size).
Shiandow
28th October 2014, 17:45
I haven't had much chance to look at the new API changes yet, but it seems Zachs made a RenderScript pack which contains a modified version of NEDI that works with the new API so you can download that one instead.
When I have time I'll make a version of NEDI that takes full advantage of the new API, until then you should use the one in the "sample render scripts" pack.
Zachs
28th October 2014, 22:57
Anime Viewer, you have to delete/overwrite the RenderScripts folder with new one, now separate package, you have to download RenderScripts.zip, link is available in the first page.
Zachs, initial test, the shaders work now, NEDI scaler works, I'll have to test it more.
EDIT1: Frame dropped/delayed when NEDI is selected, however scaling is not needed (video size matches target render size).
I've informed Shiandow about this. There's also a problem when 4K video is used with NEDI - current crops of video cards don't support texture sizes that is beyond 4k x 4k, so for the case you've just mentioned and one that downsizes, NEDI should be bypassed.
@Shiandow I believe this could be done quite easily in the ResizeableFilter class?
Anima123
29th October 2014, 03:22
How do we get NEDI work through a correct script chain with the latest version?
In my mind, the pipeline be like this:
MPDN chroma scaling -> NEDI resolution doubling (if needed) -> MPDN image scaling (either upscale or downscale) to the display resolution + dithering to the set bit-depth
Since I don't know exactly how the MPDN script works, but shouldn't the MPDN processing be separated into pre-NEDI and post-NEDI processing?
toniash
29th October 2014, 11:17
Well a few pages back I posted a method to do NEDI -> Scaling -> Sharpen, but I think that method may not work anymore in combination with some of the changes I made.
Anyway If you want to do: NEDI -> Sharpen -> Scaling, then the easiest way to do this is to download the newest script files, and add the line:
FinalPass = new ShaderFilter(FinalPass, Renderer.CompileShader(Path.Combine(ShaderPath, @"..\SweetFX\LumaSharpen.hlsl")));
to Nedi.cs at line 77, just after:
FinalPass = new NEDIVInterleave(FirstPass,NEDI_II,
Renderer.CompileShader(Path.Combine(ShaderPath, @"NEDI-VInterleave.hlsl"))););
This adds another step after the NEDI algorithm, where it performs LumaSharpen on the doubled image.
When it becomes possible to chain shaders this should be possible without changing any code, and hopefully it will even become possible to add a sharpening filter which either does: upscaling -> sharpening or sharpening -> downscaling. But this might take a while.
It's still valid for new version 2.8.3? :confused:
Zachs
29th October 2014, 13:24
It should still work.
There are several render scripts that is yet to be done. When these are completed, I'll explain how a full render script chain is used to create pre- / post-processing etc.
jkauff
29th October 2014, 17:14
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.
NEDI works great, BTW. Thanks for all the great work (and to Shiandow)!
Zachs
30th October 2014, 04:38
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.
NEDI works great, BTW. Thanks for all the great work (and to Shiandow)!
Yeah I'll do that once I'm done with getting Render Script to a somewhat usable state.
Anima123
30th October 2014, 06:10
MPDN still cannot playback .wmv files, it gives the following error:
Mpdn.VideoPlayer Error
An unexpected error 'Mpdn.VideoPlayer.DsGraphException' has occurred.
Additional information:
Failed to render file '????.wmv' (Mpdn.VideoPlayer)
Exception from HRESULT: 0x80040217 (Mpdn.VideoPlayer)
Hope this can help you debug. Plus, I have tried to change settings of LAVFilters with no luck though.
Zachs
30th October 2014, 06:39
MPDN still cannot playback .wmv files, it gives the following error:
Mpdn.VideoPlayer Error
An unexpected error 'Mpdn.VideoPlayer.DsGraphException' has occurred.
Additional information:
Failed to render file '????.wmv' (Mpdn.VideoPlayer)
Exception from HRESULT: 0x80040217 (Mpdn.VideoPlayer)
Hope this can help you debug. Plus, I have tried to change settings of LAVFilters with no luck though.
Does MPC-HC when configured to use LAV splitter and LAV video + audio decoders play that wmv file? That error message means upstream filters do not know how to decode the file.
Anima123
30th October 2014, 07:07
No problem with MPC-HC.
Zachs
30th October 2014, 07:21
No problem with MPC-HC.
Check MPC-HC's filters and make sure they are exactly the same as MPDN's. If they are, could you upload the wmv file somewhere so I could take a look?
Anima123
30th October 2014, 07:30
I just could not playback any .wmv files with MPDN (64-bit btw).
Zachs
30th October 2014, 07:38
I just could not playback any .wmv files with MPDN (64-bit btw).
I have no problems with wmv files with 64-bit MPDN. Have you made sure wmv files decode option is checked in LAV Video Filter too along with the wma audio ones in LAV Audio Filter?
Zachs
31st October 2014, 12:04
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
http://i.imgur.com/lFv6ND1.png
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:
http://i.imgur.com/2YwBDOe.png
Configure your chain to look like this (Note: the pre-/post-processing filters are represented by ImageProcessor scripts):
http://i.imgur.com/Ops0DX3.png
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:
http://i.imgur.com/E1ffB0k.png
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,
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:
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 (https://github.com/zachsaw/RenderScripts/blob/master/RenderScripts/Custom.MyRenderScript.cs).
Zachs
31st October 2014, 12:47
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.
Anime Viewer
31st October 2014, 13:47
Anyone else seeing the following error after installing MPDN 2.8.4 (http://www.zachsaw.com/downloads/MediaPlayerDotNet/MediaPlayerDotNet_x86_2_8_4_2563.zip)and then copying the contents of MPDN renderscript pack (http://www.zachsaw.com/downloads/MediaPlayerDotNet/RenderScripts_2_8_4.zip) into the RenderScripts folder in 2.8.4?
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.
Zachs
31st October 2014, 13:58
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.
river1
31st October 2014, 14:15
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
------------------------------
Zachs
31st October 2014, 14:21
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).
river1
31st October 2014, 14:30
Xy-vsfilter is supported implicitly so you shouldn't add it to the graph.
XySubFilter is *not* supported yet (in the works).
:thanks:
jkauff
31st October 2014, 20:16
This is now available in v2.8.4.
Thank you, Zachs!
toniash
31st October 2014, 20:21
@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? ;)
jkauff
31st October 2014, 20:35
Anyone else seeing the following error after installing MPDN 2.8.4 (http://www.zachsaw.com/downloads/MediaPlayerDotNet/MediaPlayerDotNet_x86_2_8_4_2563.zip)and then copying the contents of MPDN renderscript pack (http://www.zachsaw.com/downloads/MediaPlayerDotNet/RenderScripts_2_8_4.zip) into the RenderScripts folder in 2.8.4?
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.
Anime Viewer
31st October 2014, 20:57
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:
===================================
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.
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.
jkauff
31st October 2014, 21:45
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.
kerimcem
31st October 2014, 21:55
good player..:thanks:
please ,association and volume bar added?
Anima123
1st November 2014, 00:49
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.
Zachs
1st November 2014, 00:56
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.
Shiandow
1st November 2014, 01:09
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.
Zachs
1st November 2014, 01:40
@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.
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.
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).
good player..:thanks:
please ,association and volume bar added?
Not yet. Will look into player enhancements after I sort out render scripts.
Anime Viewer
1st November 2014, 01:57
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 (http://i.imgur.com/2WhAGmV.jpg)
Zachs
1st November 2014, 02:00
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 (http://i.imgur.com/2WhAGmV.jpg)
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.
Anime Viewer
1st November 2014, 02:51
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
Zachs
1st November 2014, 02:57
Try without image processors first.
Can u elaborate further on the getting stuck part? I tried pausing and going into the options screen, click configure and found no problems.
What UI Mode are you running? Is it in fse mode? Etc.
Shiandow
1st November 2014, 03:00
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
NEDI seems to be working in those two screenshots.
Anime Viewer
1st November 2014, 03:25
Try without image processors first.
Can u elaborate further on the getting stuck part? I tried pausing and going into the options screen, click configure and found no problems.
What UI Mode are you running? Is it in fse mode? Etc.
General:
Player startup mode : Normal
Everything in that screen uncheck except load subtitles
No directshow video or audio filters selected.
Rendering Technology: Direct3d 10.1
graphics adapter id : 0
all boxes in that screen unchecked (so no new windowed mode or fse) and render priority at the default +2
Composition: video output levels automatic
video output bit depth 10 bit
boxes unchecked
Dithering: ordered dithering
All up and downscalers at jinc 6 tap
Nvidia control panel is set to force the nvidia gpu, but I'll try with the Intel selected too, and see if it has the same MPDN lockup.
Edit:
It occurs regardless of whether the Nvidia or Intel gpu is selected for use.
It occurs when the video is maximized to fullscreen (non-fse and with fse enabled), but not when in its default windows size. The "always" bar quickly and briefly flashes on the screen when the configuration button is pressed. I believe it might be being hidden behind the -edit- option -edit- window, and not be able to be switched back to again (and the options window can not be drug away).
It occurs in Direct3D 9Ex render mode as well.
It occurs in video bit depth 8-bit as well.
Edit 2:
Everything seems to point to it occurring when the video screen is maximized to take up the whole screen regardless of what settings are active in the program, and again it never seems to happen when the video is running or paused in its original window.
NEDI seems to be working in those two screenshots.
How can you tell? To me those two look identical to the two in the other screen capture I attached (http://i.imgur.com/2WhAGmV.jpg) which included one with no renderscripts.
Shiandow
1st November 2014, 04:30
How can you tell? To me those two look identical to the two in the other screen capture I attached (http://i.imgur.com/2WhAGmV.jpg) which included one with no renderscripts.
There's not a huge difference, especially not on that image, but if you switch back and forth you'll notice that the ones with NEDI have slightly sharper lines. Also the ones with NEDI are shifted to the top-left slightly. You can also see some NEDI artifacts on luffy's shirt but that is probably hard to recognize if you haven't seen it before.
I suspect that the image wasn't too sharp too begin with and you seem to have upcsaled it quite a bit, so the result was bound to be quite blurry. Even so, NEDI seems to improve the image quality. Maybe you'll get even better results if you combine NEDI with a sharper uspcaler.
Anima123
1st November 2014, 05:22
For now the NEDI include the process of scaling to the screen resolution right?
I wonder if NEDI can be kept single task as double the resolutions of the original image, (which actually is the image that has already been chrome upscaled to image size with Video Renderer settings I guess), and use the Luma Downscaler to scale the doubled image to the screen size. Or there's some misunderstanding with the mechanism behind NEDI?
Zachs
1st November 2014, 06:32
That's exactly what it does now. The final up or down scale depends on what you've set in your MPDN scaler options.
Anime Viewer
1st November 2014, 18:33
@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? ;)
What type of refresh rate changing are you asking for?
Something like madVR where it detects and sets the screen Hz based on what it detects. Ex: It detects the video as 23.97, 24, or 25, and switches to 24hz if its on the switch to list.
Or
Something like MPC EVR-custom where the same video (which it shows with OSD ctrl+J fluctuating between 28 and 48 fps) and has it set to 59 hz.
Or
something else?
MadVR's way of doing things leads to much more jerky looking video, and as a result isn't something I recommend mimicking. MPDN with the way it currently handles those types of videos much better than madVR (and plays them much smoother as it is).
Edit:
On a somewhat related note I was experimenting with different renders and got a error after starting MPDN with Reclock selected as an Audio renderer. (Not that I care since I don't think reclock does a very good job of making videos run any better).
TITLE: Mpdn.VideoPlayer Error
------------------------------
An unexpected error 'Mpdn.VideoPlayer.DsGraphException' has occurred.
------------------------------
ADDITIONAL INFORMATION:
Failed to render file 'G:\Anime\One Piece\One Piece 401-500\[yibis]_One_Piece_471-480_[720p]\[yibis]_One_Piece_471_[720p][9E2D3B13].mkv' (Mpdn.VideoPlayer)
------------------------------
Error HRESULT E_FAIL has been returned from a call to a COM component. (Mpdn.VideoPlayer)
------------------------------
BUTTONS:
&Ignore
&Abort
------------------------------
turbojet
1st November 2014, 19:24
What type of videos play jerky in MadVR but not MPDN? Realizing madvr's film/video detection could use a lot of work. With film mode on all the telecined film and 29 fps video I deal with plays fine. With the little 59 fps video I watch it still works but missing half the frames are noticeable in high motion scenes. OTOH mpdn plays telecined 1080i terribly, with the dupe frames just like any other renderer except madvr's film mode, with the exception of wmc. How does wmc play everything very smoothly? Would be interesting to know. AFAIK it uses the same renderer and default decoder as wmp but wmp doesn't play things smoothly.
If it's wanted I could make a batch script that checks video framerate, monitor refresh rate and switches, if needed, before playing a file in MPDN. I had done something awhile ago to test madvr not switching to certain refresh rates. The only downside to this is all video files need to be opened with the batch script.
huhn
1st November 2014, 19:34
madVR takes these information from the source filter. as long as this information is right madVR choice is rock solid.
if this inrformation is wrong you run in trouble.
EVR doesn't have a refreshrate option. MPC-HC/BE have one but that works with every render even with madVR.
and checking the file for the real frame rate is not easy the render need to look at the hole file to find this information reliable. maybe getting the hole time file code can do something like that but is this the same for every container?
Zachs
2nd November 2014, 01:50
What type of videos play jerky in MadVR but not MPDN? Realizing madvr's film/video detection could use a lot of work. With film mode on all the telecined film and 29 fps video I deal with plays fine. With the little 59 fps video I watch it still works but missing half the frames are noticeable in high motion scenes. OTOH mpdn plays telecined 1080i terribly, with the dupe frames just like any other renderer except madvr's film mode, with the exception of wmc. How does wmc play everything very smoothly? Would be interesting to know. AFAIK it uses the same renderer and default decoder as wmp but wmp doesn't play things smoothly.
If it's wanted I could make a batch script that checks video framerate, monitor refresh rate and switches, if needed, before playing a file in MPDN. I had done something awhile ago to test madvr not switching to certain refresh rates. The only downside to this is all video files need to be opened with the batch script.
MPDN doesn't do deinterlacing at all.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.