radek-k / FFMediaToolkit

FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
MIT License
352 stars 56 forks source link

DllNotFoundException: Unable to load DLL 'avutil.56': The specified module could not be found. [.NET 5] #74

Closed MrAshFar closed 3 years ago

MrAshFar commented 3 years ago

I was not able to resolve this error and continuously thrown

FFmpegLoader.FFmpegPath = Program.dir+ "\\ffmpeg\\x86_64";
MediaFile _video = MediaFile.Open(@video_path);

it looks there are some incompatibility issues for example the error says avutil.56 but ffmpeg \bin contains avutil-56

MrAshFar commented 3 years ago

I changed Target Platform to x64 it fixed