[RESOLVED] DGDecIM crash on Windows 2012 R2

This is the home of QuickSync (aka Intel Media SDK) stuff.
DAE avatar
Nico83500
Posts: 78
Joined: Thu Jan 02, 2014 9:28 am

Re: DGDecIM crash on Windows 2012 R2

Post by Nico83500 »

So I've tried DGIndexIM.exe and I can create .dgi file without problem.
Then I have created an Avisynth plugin but I can't load AVS file :
"Avisynth open failure:
LoadPlugin: unable to load "DGDecodeIM.dll"
(C:\Test\Movie\Script.avs, line 1)"
I've tried it with x264 and VirtualDubMod, same issue. I use x64 dll (DGDecodeIM and Intel) and DGIndexIM.exe

Avisynth 2.58 works correctly (I've tried a script with Version() and it returned the right version and I've tried DirectShowSource).

Edit : I have tried 32-bit version of DGDecIM.dll and it seems to work. I have created .dgi on my PC, copy to server and run x264 encoding with 32-bit version.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDecIM crash on Windows 2012 R2

Post by admin »

Strange. It works fine for me in 64 bit. Can you please do these:

1. Make sure you have the libmfxsw64.dll from the ZIP distribution in the same directory as the modified DGIndexIM.exe and the DGDecodeIM.dll from the ZIP distribution.

2. Use a script like this:

loadplugin("dgdecodeim.dll")
dgsourceim("alba.dgi",engine=2,debug=true)

where dgdecodeim.dll is the 64-bit version from the ZIP distribution.

3. Make your dgi file using the modified version and then make and run the script.

4. If it still fails please post your dgi file and your script.

If needed I'll make a debug build of DGDecodeIM.dll. But things should be working. BTW, the dgi file made with the 64 bit modified version of DGIndexIM should work with the 32 bit DGDecodeIM.
DAE avatar
Nico83500
Posts: 78
Joined: Thu Jan 02, 2014 9:28 am

Re: DGDecIM crash on Windows 2012 R2

Post by Nico83500 »

Thank you but it doesn't work.
I have followed your procedure but no success.
Is it necessary to use a x64 version of Avisynth ? I use 2.58. I'm trying to post the dgi file but it is too large.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDecIM crash on Windows 2012 R2

Post by admin »

Yes, of course you need a 64-bit Avisynth! You'll also need 64-bit VirtualDub, etc.

Using Avisynth 2.5.8 is like using Windows 98 these days. I recommend upgrading to Avisynth+. It has both 32-bit and 64-bit versions, which can coexist. BTW, DGDecNV dropped 2.5.8 support quite a while ago.

I'll release the revised DGIndexIM (both 32-bit and 64-bit). Thanks for your report and testing, Nico.
DAE avatar
Nico83500
Posts: 78
Joined: Thu Jan 02, 2014 9:28 am

Re: [RESOLVED] DGDecIM crash on Windows 2012 R2

Post by Nico83500 »

I thought about it after my tests, sorry... :facepalm:
I didn't know for Avisynth, I must reinstall my PC so I'll upgrade to Avisynth+ ;)
And thank you for the time spent on my issue :bravo:
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] DGDecIM crash on Windows 2012 R2

Post by admin »

Nico83500 wrote:
Tue Aug 22, 2017 12:30 pm
I must reinstall my PC so I'll upgrade to Avisynth+
You won't regret it, Nico. Good luck with your projects!
Post Reply