FFMpeg C# wrapper 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).

This LT-version nuget package does NOT include ffmpeg.exe and is suitable for cross-platform deployments (Windows, Linux/Docker, Mac-OS) or using a ffmpeg build/version of your choice.


NOTE: LT nuget is not available for free users. Please contact [email protected] if you want to get a demo key for evaluation/testing purposes.

How to use:

var ffmpeg = new NReco.VideoConverter.FFMpegConverter();
NReco.VideoConverter.License.SetLicenseKey("your_id", "your_license_key");
ffmpeg.FFMpegExeName = "ffmpeg.exe"; // for Linux/MacOS: "ffmpeg"
ffmpeg.FFMpegToolPath = "<path_to_folder_with_ffmpeg>";
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 C# wrapper 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.LT


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

.NETFramework 4.0
  • No dependencies.
.NETStandard 2.0
  • No dependencies.


Tags



STATS

must-have-score

1.8

avg-downloads-per-day

55

days-since-last-release

572