MeineGlock.MediaInfoWrapperDotNet
1.0.1
dotnet add package MeineGlock.MediaInfoWrapperDotNet --version 1.0.1
NuGet\Install-Package MeineGlock.MediaInfoWrapperDotNet -Version 1.0.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="MeineGlock.MediaInfoWrapperDotNet" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeineGlock.MediaInfoWrapperDotNet" Version="1.0.1" />
<PackageReference Include="MeineGlock.MediaInfoWrapperDotNet" />
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 MeineGlock.MediaInfoWrapperDotNet --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MeineGlock.MediaInfoWrapperDotNet, 1.0.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.
#addin nuget:?package=MeineGlock.MediaInfoWrapperDotNet&version=1.0.1
#tool nuget:?package=MeineGlock.MediaInfoWrapperDotNet&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MediaInfoWrapper
A modern, cross-platform .NET 8 wrapper for the MediaInfo library.
Extracts audio and video metadata (codec, bitrate, resolution, duration, etc.) from media files — with support for Windows, macOS, and Linux.
✨ Features
- 🎥 Extracts media metadata (codec, bitrate, resolution, etc.)
- 🖥️ Cross-platform support: Windows, macOS, and Linux
- 🔁 Thin and focused wrapper around native MediaInfo
- ⚡ Fast parsing options (
ParseSpeed.Fast
,Complete.No
) - 📦 Ready-to-use native binaries included via
runtimes/
📦 Installation
dotnet add package MeineGlock.MediaInfoWrapperDotNet --version 1.0.1
📄 Usage
using MediaInfoWrapper;
// Get audio metadata from a file
var audioInfo = AudioInfo.GetAudioInfo("myfile.mp3", ParseSpeed.Maximum, Complete.Yes);
Console.WriteLine(audioInfo.Codec); // e.g., AAC
Console.WriteLine(audioInfo.Bitrate); // e.g., 128000
// Get video metadata from a file
var videoInfo = VideoInfo.GetVideoInfo("myfile.mp4", ParseSpeed.Maximum, Complete.Yes);
Console.WriteLine(videoInfo.Resolution); // e.g., 1920x1080
Console.WriteLine(videoInfo.FriendlyResolution); // e.g., 1080p
📜 License
This wrapper is MIT licensed.
This product uses MediaInfo library, Copyright (c) 2002-2025 MediaArea.net SARL.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release!