![]() ![]() Here are some issues I am not sure about: The function exported from the dll is invoked without any hiccups. I wrote my own little dll for experimentation and compiled it with the cc -shared compiler directive. This leads me to believe that the problem is not with the dll opening but when the dll loads there might be something going wrong. However with avcodec I get DllNotFoundException. If I try to load a dll that doesn't exist in the plugins directory (example: mydll.dll), I get a DllNotFoundException mydll. In fact there are two different logs I see. However this is where I face the probelms. I then use the DllImport("avcodec") to import the functions. ![]() ![]() Here are the steps I am using for this.ġ) Downloaded the latest version of ffmpegĢ) configured using -enable-shared and -enable-staticģ) copied all the dlls from ffmpeg to Assets/Plugins I am trying to integrate ffmpeg into unity using the platform invoke on C#. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |