MediaLens.Native
0.0.1-alpha.3
See the version list below for details.
dotnet add package MediaLens.Native --version 0.0.1-alpha.3
NuGet\Install-Package MediaLens.Native -Version 0.0.1-alpha.3
<PackageReference Include="MediaLens.Native" Version="0.0.1-alpha.3" />
<PackageVersion Include="MediaLens.Native" Version="0.0.1-alpha.3" />
<PackageReference Include="MediaLens.Native" />
paket add MediaLens.Native --version 0.0.1-alpha.3
#r "nuget: MediaLens.Native, 0.0.1-alpha.3"
#:package MediaLens.Native@0.0.1-alpha.3
#addin nuget:?package=MediaLens.Native&version=0.0.1-alpha.3&prerelease
#tool nuget:?package=MediaLens.Native&version=0.0.1-alpha.3&prerelease
MediaLens.Native
MediaLens.Native packages the official native binaries of MediaInfoLib for consumption in .NET projects.
This package contains only native libraries (no managed API). For the managed wrapper, use MediaLens.
Install
Install the native package (usually pulled in by the wrapper):
dotnet add package MediaLens.Native
For the managed wrapper:
dotnet add package MediaLens
What’s inside
The NuGet package places platform binaries under the standard runtime layout:
runtimes/
win-x64/native/MediaInfo.dll
linux-x64/native/libmediainfo.so
osx-x64/native/libmediainfo.dylib
Also included in the package: README.md, LICENSE (MIT), and LICENSE.MediaInfo (BSD-2-Clause).
Quick build notes
Linux / macOS (autotools)
Clone upstream and build the GNU library:
git clone https://github.com/MediaArea/MediaInfoLib.git cd MediaInfoLib/Project/GNU/Library ./autogen.sh ./configure --enable-shared make -j$(nproc || sysctl -n hw.ncpu)
Copy the produced
.so/.dylibintosrc/MediaLens.Native/runtimes/<rid>/native/.
Windows (MSVC)
Build the MSVC solution (x64 Release), then copy
MediaInfo.dlltosrc/MediaLens.Native/runtimes/win-x64/native/:msbuild MediaInfoLib\Project\MSVC2019\MediaInfoLib.sln /p:Configuration=Release /p:Platform=x64
Pack locally
(assumes binaries are already in src/MediaLens.Native/runtimes/...)
dotnet pack src/MediaLens.Native/MediaLens.Native.csproj -c Release -o ./out
CI / Publishing
The repository includes a GitHub Actions workflow that:
- Builds MediaInfoLib for Windows, Linux, macOS.
- Assembles binaries into
src/MediaLens.Native/runtimes/.../native/. - Packs and publishes the NuGet package on release.
License & attribution
- This repository and packaging code: MIT (
LICENSE). - MediaInfoLib (bundled native binaries): BSD-2-Clause (
LICENSE.MediaInfo), included in the package.
Include and preserve LICENSE.MediaInfo when redistributing the binaries.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MediaLens.Native:
| Package | Downloads |
|---|---|
|
MediaLens
.NET wrapper for MediaLens.Native to inspect media files and retrieve metadata. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-rc.2 | 79 | 7/21/2026 |
| 0.1.0-rc.1 | 117 | 4/6/2026 |
| 0.0.1-alpha.6 | 151 | 3/15/2026 |
| 0.0.1-alpha.5 | 234 | 10/6/2025 |
| 0.0.1-alpha.4 | 159 | 10/5/2025 |
| 0.0.1-alpha.3 | 149 | 10/5/2025 |
| 0.0.1-alpha.2 | 436 | 10/5/2025 |
| 0.0.1-alpha.1 | 165 | 10/2/2025 |
See full release notes at: https://github.com/MichaelHochriegl/MediaLens.Native/releases/tag/v0.0.1-alpha.3}