[SOLVED] Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Here you can submit bugreports
Post Reply
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

[SOLVED] Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by veks »

Hi all!

I'm getting this error on older and on latest FFAStrans installation.

Code: Select all

Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1
This is my workflow:
https://prnt.sc/TeFPxA6oDCSA

I've tried unchecking x64 and I get this error:

Code: Select all

Validate: unkown error occured.
Any idea how to fix this because this started to happen on our pre-production server?

Tnx!
Last edited by veks on Wed Aug 24, 2022 7:19 am, edited 2 times in total.
User avatar
FranceBB
Posts: 258
Joined: Sat Jun 25, 2016 3:43 pm
Contact:

Re: Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by FranceBB »

There are several indexers in Avisynth and ffms2 is one of them and the one we use to actually index sources.
Such an error comes from the LoadPlugin() in Avisynth which is invoked by the A/V decoder.
The first thing you can check is whether the DLL is there or not (maybe it has been moved by an antivirus or something).
The other thing we should know is what OS you have.
The third thing I would look would be the CPU (but honestly any modern CPU has at least SSE2, so I don't really think this is an issue as ffms2 is generally compiled to work on bread makers ehm I mean ancient CPUs)
Perhaps you're missing a C++ Redistributable even though we distribute them along with the program?
About the version, is there a particular reason why you're not using the latest version?
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

Re: Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by veks »

FranceBB wrote: Fri Aug 19, 2022 7:32 pm There are several indexers in Avisynth and ffms2 is one of them and the one we use to actually index sources.
Such an error comes from the LoadPlugin() in Avisynth which is invoked by the A/V decoder.
The first thing you can check is whether the DLL is there or not (maybe it has been moved by an antivirus or something).
The other thing we should know is what OS you have.
The third thing I would look would be the CPU (but honestly any modern CPU has at least SSE2, so I don't really think this is an issue as ffms2 is generally compiled to work on bread makers ehm I mean ancient CPUs)
Perhaps you're missing a C++ Redistributable even though we distribute them along with the program?
About the version, is there a particular reason why you're not using the latest version?
Thanks, I'll try to see what's going on.

As for the latest version, yes I'm using it, I did a mistype in my thread. We're using the latest now. And it's the same.
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

Re: Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by veks »

I've checked, and dll is there.
https://prnt.sc/WLlGpVnurIlw

That doesn't seem as a problem.

Also, it's running on windows server 2012R2 installed. Virtual machine under ESXi.
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

Re: Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by veks »

And now I get "Platform return code 126." @admin, any idea?
User avatar
FranceBB
Posts: 258
Joined: Sat Jun 25, 2016 3:43 pm
Contact:

Re: Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by FranceBB »

We haven't personally tested it on Windows Server 2012 R2 but given that it's based on 8.1 it should really be working.
Would you mind running Dependency Walker (it's a free software that tells you if you're missing anything) on the dll and show us if you see anything red?
Also, would you mind installing the C++ Redistributable? You can find an AIO package here: https://github.com/abbodi1406/vcredist/releases/
That being said, everything on Windows Server 2016 and 2019 and it does work.

Last but not least, would you mind swapping the ffms2 folder with this one?

https://www.transfernow.net/dl/20220822vLr3MYCg
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

Re: Validate: Cannot load file 'C:/FFAStrans/processors/AVS_plugins/ffms2/x64/ffms2.dll'. Platform returned code 1

Post by veks »

FranceBB wrote: Mon Aug 22, 2022 9:28 am We haven't personally tested it on Windows Server 2012 R2 but given that it's based on 8.1 it should really be working.
Would you mind running Dependency Walker (it's a free software that tells you if you're missing anything) on the dll and show us if you see anything red?
Also, would you mind installing the C++ Redistributable? You can find an AIO package here: https://github.com/abbodi1406/vcredist/releases/
That being said, everything on Windows Server 2016 and 2019 and it does work.

Last but not least, would you mind swapping the ffms2 folder with this one?

https://www.transfernow.net/dl/20220822vLr3MYCg
FranceBB, thanks for your help!
Copying over the ffms2 folder that you sent did a trick.
Not sure why copying over the whole new installation of latest FFAStrans didn't, but this works now!
Thanks a lot!
Post Reply