ViveSoftware / ViveMediaDecoder

A high performance video decoding Unity plugin for Windows.
http://u3d.as/usf
Other
129 stars 36 forks source link

Failed to load 'Assets/ViveMediaDecoder/Plugins/x86_64/ViveMediaDecoder.dll' #11

Closed natsupy closed 6 years ago

natsupy commented 6 years ago

I was testing on Win10 and Unity 2017.1 have that warning, so anyone can help to fix that image

kyo8568131 commented 6 years ago

Hi, Please help to check the environment and follow the readme.txt to set up the dlls. And please note that this plugin only support Windows platform while your build settings choose Android. Thanks.

natsupy commented 6 years ago

Hi, thank you for reply, I was check on stand_alone but have the same issue, so what am I mistaken, can you help image

kyo8568131 commented 6 years ago

Do you put the 64 bits FFmpeg dlls into Plugins/x86_64/ ?

natsupy commented 6 years ago

I was tried, the warning is missing Vive dll, I don't think about ffmpeg dll

image

kyo8568131 commented 6 years ago

The warning massage only shows the errors about the dll which Unity is using. So it would only show "Failed to load CurrentDll.dll" if any native dependent dlls miss. Please copy the FFmpeg dlls, which includes avcodec-57.dll, avformat-57.dll, avutil-55.dll and swresample-2.dll, into the Plugins/x86_64/. You could check the readme.txt for further information. Thanks.

natsupy commented 6 years ago

Ah thank you, my bad, it works.