FFMpeg wrapper: convert video and audio files in C# NuGet Package

Video converter component for C#/.NET (wrapper for ffmpeg command line tool).

Can convert video/audio files, transcode live streams, extract video thumbnails, apply watermarks to video, screen capture etc - everything that is possible with ffmpeg from the command line. Supports .NET streams for input/output (encode/decode without tmp files).

NReco.VideoConverter nuget can be used for free in non-SaaS apps that have only one single-server production deployment.

This nuget package includes ffmpeg.exe (it is extracted on the first use automatically - you don't need to deploy ffmpeg separately) and therefore can be used only on Windows. For cross-platform deployments NReco.VideoConverter.LT nuget should be used instead.

How to use:

var ffmpeg = new NReco.VideoConverter.FFMpegConverter();
ffmpeg.ConvertMedia("input.avi",null,"output.mp4",null,new ConvertSettings());

More info (VideoConverter online demo, examples): https://www.nrecosite.com/video_converter_net.aspx.




Got any FFMpeg wrapper: convert video and audio files in C# Question?





Info

Version: 1.2.1
Author(s): Vitalii Fedorchenko
Last Update: Thursday, April 13, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://www.nrecosite.com/video_converter_net.aspx
NuGet Url: https://www.nuget.org/packages/NReco.VideoConverter


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

1 package depend on this package.


Tags



STATS

must-have-score

2.3

avg-downloads-per-day

169

days-since-last-release

572