Skip to content

A C# .NET Wrapper for the MediaInfo.Native and MediaInfo.dll

License

Notifications You must be signed in to change notification settings

StefH/MediaInfo.DotNetWrapper

Repository files navigation

MediaInfo.DotNetWrapper

A C# .NET Wrapper for the MediaInfo.Native and MediaInfo.dll

Build status

NuGet Badge

Supported frameworks are

  • .NET 3.5
  • .NET 4.0 and up
  • .NET Standard 2.0

Note that you need to build you application/library in x64 or x86, else it will not work.

Based on MP-MediaInfo.

For example see : test\MediaInfo.DotNetWrapper.ConsoleTest

Targeting .Net Standard 1.3

MediaInfo.Native is not included when targeting .Net Standard / Core. Manually include MediaInfo native libaries for your operating system / platform.

Windows

Download latest version of DLL for your platform (x64 or x86). Add installation directory to windows PATH environment variable.

MacOS

Install mediainfo via HomeBrew.

brew install media-info

Linux

Download and install official release for your linux distribution. You can also build mediainfo from source. MediaInfo.DotNetWrapper will look for libmediainfo.so in LD_LIBRARY_PATH.