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 |
Install
Install-Package NReco.VideoInfo
dotnet add package NReco.VideoInfo
paket add NReco.VideoInfo
NReco.VideoInfo Download (Unzip the "nupkg" after downloading)
Dependencies
2 packages depend on this package.
Tags
Provides details about file media streams: format, codecs, video resolution and frame rate, duration, custom tags etc.
NReco.VideoInfo nuget can be used for free in non-SaaS apps that have only one single-server production deployment. This nuget package includes ffprobe.exe (it is extracted on the first use automatically - you don't need to deploy ffprobe separately) and therefore can be used only on Windows.
For cross-platform deployments NReco.VideoInfo.LT nuget should be used instead.
How to use:
var ffProbe = new NReco.VideoInfo.FFProbe();
var videoInfo = ffProbe.GetMediaInfo(pathToVideoFileOrUrl);
Console.WriteLine(videoInfo.FormatName);
Console.WriteLine(videoInfo.Duration);
More info and online demo: https://www.nrecosite.com/video_info_net.aspx.