seongjoLee / ffmpeg-sharp

Automatically exported from code.google.com/p/ffmpeg-sharp
0 stars 0 forks source link

DllNotFoundException #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've compiled the ffmpegSharp dll with monodevelop and I've put it in Unity3d, 
then the code:
MediaFile file = new MediaFile( filePath );

Give me this error runtime:

DllNotFoundException: avformat-52.dll
FFmpegSharp.MediaFile..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type 
initializer for FFmpegSharp.MediaFile

I've tried to add that dll to the project too but it's not mono-compatible, so 
monodevelop doesn't see it.

What should I do to get things working?

I'm running Unity3d pro on Windows 7 64bit

Original issue reported on code.google.com by willyru...@gmail.com on 11 Sep 2012 at 1:14

GoogleCodeExporter commented 9 years ago
maybe i've found my problem... In unity3d you can't use a dll inside another 
dll.. is there a way to separate them and have them be on the same level?

Original comment by willyru...@gmail.com on 11 Sep 2012 at 1:24