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. |
|
|
Thread Tools | Search this Thread | Display Modes |
20th October 2014, 22:50 | #201 | Link |
Registered User
Join Date: Sep 2005
Posts: 130
|
I got "Failed to connect filter to graph (Mpdn.VideoPlayer)" exception when tried to use ffdshow raw video decoder as post processing filter. Could you take a look in to it, since I can use this filter in other players? Or I misunderstood the usage of DS filter in your app?
Detailed exception is as per following: Code:
Unable to cast COM object of type 'System.__ComObject' to interface type 'DirectShowLib.IBaseFilter'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). (Mpdn.VideoPlayer) |
21st October 2014, 00:02 | #203 | Link |
Troubleshooter
Join Date: Feb 2014
Posts: 339
|
Render times are definitely lower then reported with the previous version(s) I used, but I don't see any noticeable visual difference between the different tap settings (at least with the content I've tested with). (I was actually afraid it might over sharpen images with 16-taps set, but since it looks like the others that doesn't appear to occur). As a result I'll probably keep it at a 6 or 8 taps setting unless someone can offer a reason I should set it to one of the other tap settings.
__________________
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. |
21st October 2014, 00:21 | #204 | Link |
Registered User
Join Date: May 2008
Posts: 1,840
|
+1 on shader support and is there any plans for ivtc and auto hiding caption like how auto hide control bar works?
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650 PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0 |
21st October 2014, 00:26 | #205 | Link | ||
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Custom pixel shader support is definitely pretty high on my todo list. I am looking to do a prescale and postscale shader. I'm still toying with the idea of whether to incorporate scripting straight into it too - so you could do things like, scale to a much larger image size than display with sharpest scaler, call an external pixel shader to sharpen it further, then scale it back down for display. I'd imagine this to take quite a bit of time to implement so for the first stage I might just do prescale / postscale custom shader. Does madVR do that at the moment? Quote:
DXVA Deinterlacing - If there's a small example of how it is done, I'd love to incorporate that into MPDN. I know the API calls I need but I haven't looked into it much yet as all my systems have QuickSync and LAV video decoder does deinterlacing already. Auto hide caption is a great idea. I'll see what I could do. Last edited by Zachs; 21st October 2014 at 00:33. |
||
21st October 2014, 01:37 | #206 | Link | |
Troubleshooter
Join Date: Feb 2014
Posts: 339
|
Jinc taps and 64-bit vs 32-bit versions
Quote:
Something interesting/strange I noticed in my testing is that 64-bit MPDN seems to render twice as fast as the 32-bit version. (See linked screen shots below). The left image is from the 64-bit MPDN, and the right image is from the 32-bit version (both with all the same settings in MPDN). http://postimg.org/image/se2558l1r/full/
__________________
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. |
|
21st October 2014, 01:46 | #207 | Link | |
cosmic entity
Join Date: May 2011
Location: outside the Box
Posts: 258
|
Quote:
also, i just found out that MPDN is not using 60fps@60hz but 23/29/etc fps@60hz that also might explain why my gpu usage with MPCHC+madvr is so damn high, haha...its not allways easy to perform 60fps on very High HQ content.. Greetz Last edited by BetA13; 21st October 2014 at 02:00. |
|
21st October 2014, 01:53 | #208 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
|
|
21st October 2014, 02:34 | #209 | Link | |
Troubleshooter
Join Date: Feb 2014
Posts: 339
|
Quote:
I was very surprised by it too expecting the same performance from 32 and 64 bit versions, and like you mentioned the only thing I can think of to explain it is the 32-bit vs 64-bit drivers with the 64-bit drivers working better for some reason.
__________________
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. |
|
21st October 2014, 02:50 | #210 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
|
|
21st October 2014, 03:33 | #211 | Link |
Registered User
Join Date: Oct 2012
Location: Akron, OH
Posts: 491
|
madshi, maybe you could "borrow" the MPDN feature of allowing the user to choose which version of Direct3D to use. That would allow XP users to continue to use madVR, while others could take advantage of newer technology.
|
21st October 2014, 03:55 | #212 | Link | ||
Registered User
Join Date: Sep 2005
Posts: 130
|
Quote:
Quote:
+DXVA Deinterlacing, MPDN will help users with sh*tty CPU and GPU (like me) a lot. I even tested it on my 5 years old laptop (Dual core Athlon Neo X2 L335 + ATi Mobility Radeon HD 3400), DirectX 10.1, 16 bit output!!!!! |
||
21st October 2014, 04:52 | #213 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
For post-scaled custom PS, I am need some clarifications on the following: Code:
Existing custom pixel shader parameters: s0 = scaled texture (RGB) p0, p1: #define width (p0[0]) #define height (p0[1]) #define counter (p0[2]) // what is this? Increment by 1.0f per frame? #define clock (p0[3]) // what is this? Performance counter clock, or video clock in float? #define px (p1[0]) //one_over_width (of s0 I presume?) #define py (p1[1]) //one_over_height (of s0 I presume?) MPDN specifics: y0, u0, v0 = unscaled y, u, v textures p2: // unscaled luma and chroma sizes (reciprocal, i.e. 1/width, 1/height) #define rcp_luma_width (p2[0]) #define rcp_luma_height (p2[1]) #define rcp_chroma_width (p2[2]) #define rcp_chroma_height (p2[3]) #define COLORIMETRIC #define CM_FULL 0 #define CM_601 1 #define CM_709 2 I would also like to add some MPDN specific params. With those parameters, you could basically write your own scalers. COLORIMETRIC will be assigned CM_FULL/CM_601/CM_709 when the custom PS is compiled, so you could do your own YUV to RGB conversion too! Last edited by Zachs; 21st October 2014 at 05:26. |
|
22nd October 2014, 08:38 | #214 | Link |
Registered User
Join Date: Sep 2005
Posts: 130
|
Personally, I only use pre-scale custom ps for color manipulation/effect because it is faster to work with smaller size of pixels on contrary to if do it post-scale. I put sharpening/convolution shaders post-scale.
For the shader parameters, I can't confirm since I don't know either. Sorry. Probably JanWillem32, madshi, or nevcairiel can confirm on these parameters. |
22nd October 2014, 12:36 | #215 | Link |
Registered User
Join Date: Dec 2005
Posts: 106
|
When playing a x264 rgb lossless avi file(http://www.mediafire.com/download/i8...ble_x264.avi):
|
22nd October 2014, 12:40 | #216 | Link |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
MPDN doesn't support RGB inputs (yet), so it relies on upstream filters (LAV Video Decoder) to convert to one of the 4 supported input formats. In other words, this is expected for RGB encoded videos.
EDIT: Just tested the file myself. Upstream (LAV? Media?) is reporting incorrect YUV colorimetrics. Manually set it to either bt709 or bt601 and you will get correct colors. Last edited by Zachs; 22nd October 2014 at 13:35. |
22nd October 2014, 13:27 | #217 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
EDIT: ffdshow version tested: ffdshow_rev4532_20140717_clsid.exe Last edited by Zachs; 22nd October 2014 at 13:31. Reason: added ffdshow version |
|
22nd October 2014, 13:40 | #219 | Link | |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Try the ffdshow version in my edited reply. The error message sounds like the coders of that version you are using have forgotten to report one of its interface (IBaseFilter) when queried. The same thing happened with XySubFilter. The Old New Thing: The ways people mess up IUnknown::QueryInterface |
|
22nd October 2014, 13:45 | #220 | Link | |
Registered User
Join Date: Sep 2005
Posts: 130
|
Quote:
|
|
Tags |
direct3d, mpdn, nnedi3, opencl, reclock |
Thread Tools | Search this Thread |
Display Modes | |
|
|