Skip to main content
Participant
June 21, 2023
Question

Using opencv for an AE plugin on windows

  • June 21, 2023
  • 1 reply
  • 467 views

Hello, 

 

I'm trying to make an AfterEffect plugin using opencv 4.7.0 but I have some problems with linking the opencv dll. AE crashes when I use basic opencv methods like cv::Mat::zeros or cv::resize but it compiles just fine.

Notes : 

- I saw an opencv 4.5.2 dll in AE binary files so I guess the plugin have a problem accessing my opencv build ? 

- I used depends.exe on the plugin and it succesfully link to my opencv build so I don't really understand why AE is crashing. 

- I work with visual studio on windows.

 

Any guidance is greatly appreciated. I already spent 2 days trying to figure out why AE crashes.

Thank you !

This topic has been closed for replies.

1 reply

Community Expert
June 21, 2023

this has been widely discussed here in the forum. here are a few thread to look at, and there are a few more to search for.

https://community.adobe.com/t5/after-effects-discussions/build-with-opencv/m-p/10261833

https://community.adobe.com/t5/after-effects-discussions/opencv-and-aftereffects/m-p/10567083

at a glance, it seems loke you didn't link the opencv dll...