MediaLens.Native 0.0.1-alpha.1

This is a prerelease version of MediaLens.Native.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MediaLens.Native --version 0.0.1-alpha.1
                    
NuGet\Install-Package MediaLens.Native -Version 0.0.1-alpha.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MediaLens.Native" Version="0.0.1-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MediaLens.Native" Version="0.0.1-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="MediaLens.Native" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MediaLens.Native --version 0.0.1-alpha.1
                    
#r "nuget: MediaLens.Native, 0.0.1-alpha.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MediaLens.Native@0.0.1-alpha.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MediaLens.Native&version=0.0.1-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MediaLens.Native&version=0.0.1-alpha.1&prerelease
                    
Install as a Cake Tool

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 / .dylib into src/MediaLens.Native/runtimes/<rid>/native/.

Windows (MSVC)

  • Build the MSVC solution (x64 Release), then copy MediaInfo.dll to src/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:

  1. Builds MediaInfoLib for Windows, Linux, macOS.
  2. Assembles binaries into src/MediaLens.Native/runtimes/.../native/.
  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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