NReco.VideoConverter 1.2.1

Prefix Reserved
dotnet add package NReco.VideoConverter --version 1.2.1                
NuGet\Install-Package NReco.VideoConverter -Version 1.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NReco.VideoConverter" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.VideoConverter --version 1.2.1                
#r "nuget: NReco.VideoConverter, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NReco.VideoConverter as a Cake Addin
#addin nuget:?package=NReco.VideoConverter&version=1.2.1

// Install NReco.VideoConverter as a Cake Tool
#tool nuget:?package=NReco.VideoConverter&version=1.2.1                

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NReco.VideoConverter:

Package Downloads
TuanZi.Hosting.Api

TuanZi Framework Non-Business WebAPI Implementation, encapsulates WebAPI implementation for non-business modules such as authentication, permissions, system, messages, etc.

OnTube

A library that provides an interface to easily convert YouTube videos to audio files and download them with any resolution.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NReco.VideoConverter:

Repository Stars
steponteam/FaceRecognization
A C# wrapper of arcsoft's face recogization library.
Version Downloads Last updated
1.2.1 112,922 4/13/2023
1.2.0 40,084 1/18/2023
1.1.4 217,762 1/23/2020
1.1.3 238,768 6/12/2018
1.1.2 174,780 1/14/2017
1.1.1 106,713 7/4/2016
1.1.0 13,922 4/19/2016
1.0.8 50,028 9/25/2015
1.0.7 13,305 8/7/2015
1.0.6 7,485 5/14/2015
1.0.5 19,956 1/21/2015

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

v.1.2.1 changes:
- fixed issue that can occur when "Stop" method is called (NullReferenceException at AsyncStreamReader.WaitUtilEOF)

v.1.2.0 changes:
- added netstandard2.0 build: now NReco.VideoConverter nuget (includes ffmpeg.exe) can be used in NET6/NET7/.NET Core apps with free offering! (Windows deployments only)
- ffmpeg.exe updated to the latest stable release 5.1.2 (x64 "essentials" build from https://www.gyan.dev/ffmpeg/builds/)
- now relative paths (both for input/output) are resolved in respect to the current working directory, not to ffmpeg location (FFMpegToolPath)
- fixed an issue when FFMpegException didn't reflect the last error line from ffmpeg console log output

v.1.1.4 changes:
- FFMpeg updated to v.4.2.1
- added GetVideoThumbnail overloads that accept ConvertSettings (to pass any custom ffmpeg options)
- fixed (rare) InvalidOperationException issue related to cleanup of FFMpeg Process
- fixed issue with FFMpegInput.Format in ConvertMedia overload that accepts FFMpegInput[]

v.1.1.3 changes:
- FFMpeg updated to v.4.0 (note: Win XP/Server 2003 no longer supported)

v.1.1.2 changes:
- FFMpeg updated to v.3.2.2
- ConvertLiveMediaTask.Stop uses only 'q' command if possible (CTRL+C method not used because of instability)
- Fixed IOException issue thrown by ConvertLiveMedia
- added FFMpegConverter.LogLevel property
- added FFMpegConverter.ExtractFFmpeg() method (forces extraction of ffmpeg binaries)

v.1.1.1 changes:
- FFMpegConverter.Stop switched from sending CTRL+C to ffmpeg console to 'q' command written to stdin: this approach is more stable and compatible with .NET Core
- Fixed issue with NullReferenceException from Process.WaitForExit (thrown when Stop method is called from another thread)
- added NReco.VideoConverter.LT build for NET Standards 1.5 (can be used from .NET Core apps)