[RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
[RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
Apparently Vapoursynth does not call CoInitialize() so my WMI calls fail. Avisynth does call CoInitialize() so there is no problem there. I could ask the Vapoursynth author to properly emulate Avisynth if Avisynth plugins are to be supported, but the chances of such cooperation, sadly, are pretty low. There are some complications in calling CoInitialize() from a DLL but it can be done. I will experiment with it today and slipstream it if it is successful.
Re: DGDecodeNV 2053 fails with Vapoursynth
@Selur
I have a fix ready for you to test with Vapoursynth. Please tell me if you need 32-bit or 64-bit.
I have a fix ready for you to test with Vapoursynth. Please tell me if you need 32-bit or 64-bit.
Re: DGDecodeNV 2053 fails with Vapoursynth
Using 64bit here.
And those were added with 2053, since 2052 does work fine.Apparently Vapoursynth does not call CoInitialize() so my WMI calls fail.
Re: DGDecodeNV 2053 fails with Vapoursynth
Yes, WMI calls were added in 2053.
As soon as I hop out of the tub I'll give you a DLL to test.
As soon as I hop out of the tub I'll give you a DLL to test.
Re: DGDecodeNV 2053 fails with Vapoursynth
No problem and no rush.
I'm happy your on it and the problem was easy traceable.
Thanks for looking into it.
Cu Selur
I'm happy your on it and the problem was easy traceable.
Thanks for looking into it.
Cu Selur
Re: DGDecodeNV 2053 fails with Vapoursynth
Check PM, please.
Re: DGDecodeNV 2053 fails with Vapoursynth
The test dll version works fine.
Cu Selur
Cu Selur
Re: DGDecodeNV 2053 fails with Vapoursynth
I figured it would.
Thank you for your test result, Selur. I will slipstream it later today.
Strictly speaking it's not a "bug". It's usual for DLLs to expect the caller to initialize COM.
Thank you for your test result, Selur. I will slipstream it later today.
Strictly speaking it's not a "bug". It's usual for DLLs to expect the caller to initialize COM.
Re: DGDecodeNV 2053 fails with Vapoursynth
Thanks!I will slipstream it later today.
Cu Selur
Re: [RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
Just restarted my pc, redownloaded the slipstreamed version, replaced my existing dlls and now I get:
in both vsedit and vspipe.
Also when I drop that dll inside Dependcy Walker (http://www.dependencywalker.com/) 64bit, it freezes (Not Responding).
-> seems like there went something wrong with the upload of the new version.
Cu Selur
Code: Select all
Failed to evaluate the script:
Python exception: Unexpected behavior. Contact author.
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1712, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:34991)
File "H:\Temp\tempPreviewVapoursynthFile11_48_03_154.vpy", line 27, in <module>
clip = core.avs.DGSource("H:/Temp/m2ts_60de36791a002a6525ee66fedb5fe913_32391.dgi",fieldop=2)
File "src\cython\vapoursynth.pyx", line 1604, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:33131)
vapoursynth.Error: Unexpected behavior. Contact author.
Also when I drop that dll inside Dependcy Walker (http://www.dependencywalker.com/) 64bit, it freezes (Not Responding).
-> seems like there went something wrong with the upload of the new version.
Cu Selur
Re: [RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
Please re-download 2053, update DGDecodeNV.dll, and report your result.
Re: [RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
Redownloaded, working now.
Cu Selur
Cu Selur
Re: [RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
Sweet, sorry about that. I made a final little optimization before uploading. Sometimes, you think, no way this could break anything.
Strange, though, I thought I tested it, but this morning it wasn't working.
All's well that ends well.
Strange, though, I thought I tested it, but this morning it wasn't working.
All's well that ends well.
Re: [RESOLVED] DGDecodeNV 2053 fails with Vapoursynth
He, he, THAT I know too.Sometimes, you think, no way this could break anything.