FFProbe wrapper: get metadata of video and audio files in C# NuGet Package

Get video information for .NET (wrapper for ffprobe tool).

Provides details about file media streams: format, codecs, video resolution and frame rate, duration, custom tags etc.

This LT-version nuget package does NOT include ffprobe.exe and is suitable for cross-platform deployments (Windows, Linux/Docker, Mac-OS) or using a ffprobe build/version of your choice.
NReco.VideoInfo.LT nuget can be used for free in non-SaaS apps that have only one single-server production deployment.

How to use:

var ffProbe = new NReco.VideoInfo.FFProbe();
ffProbe.FFProbeExeName = "ffprobe.exe"; // just "ffprobe" for Linux/OS-X
ffProbe.ToolPath = "<path_to_folder_with_ffprobe>";
var videoInfo = ffProbe.GetMediaInfo(pathToVideoFile);

More info and online demo: https://www.nrecosite.com/video_info_net.aspx.




Got any FFProbe wrapper: get metadata of video and audio files in C# Question?





Info

Version: 1.2.0
Author(s): Vitalii Fedorchenko
Last Update: Wednesday, January 18, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://www.nrecosite.com/video_info_net.aspx
NuGet Url: https://www.nuget.org/packages/NReco.VideoInfo.LT


Install
Install-Package NReco.VideoInfo.LT
dotnet add package NReco.VideoInfo.LT
paket add NReco.VideoInfo.LT
NReco.VideoInfo.LT Download (Unzip the "nupkg" after downloading)

.NETFramework 2.0
  • No dependencies.
netstandard1.5


Tags



STATS

must-have-score

2.3

avg-downloads-per-day

42

days-since-last-release

436