Package Usage: nuget: NReco.VideoInfo
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.
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
4 versions
Latest release: plus de 2 ans ago
2 dependent packages
377 684 downloads total
View more package details: https://packages.ecosystem.code.gouv.fr/registries/nuget.org/packages/NReco.VideoInfo