ColinChang.FFmpegHelper 1.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package ColinChang.FFmpegHelper --version 1.2.1                
NuGet\Install-Package ColinChang.FFmpegHelper -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="ColinChang.FFmpegHelper" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColinChang.FFmpegHelper --version 1.2.1                
#r "nuget: ColinChang.FFmpegHelper, 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 ColinChang.FFmpegHelper as a Cake Addin
#addin nuget:?package=ColinChang.FFmpegHelper&version=1.2.1

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

This is a common utility that can help you to run any ffmpeg commands.It contains a RTSP helper that can recorder a video from RTSP stream.

It's based on .net standard 2.0

FFmpegHelper

FFmpegHelper can run a common ffmpeg command with the formate.ffmpeg [beforeinput options] -i input [beforeoutput options] output.We provide two screenshot and one watermark methods inside it as samples,you can extend any other useful common methods like what we provide.

RtspHelper

RtspHelper is a useful utility based on FFmpegHelper to work with RTSP stream.It provides 3 functions.

  • Recording.recording a specify RTSP stream to a video file
  • Watermark.marking a picture watermark during recording.
  • Screenshot.screenshot once or set a timer.

Platforms

  • Windows(x86,x64)
  • macOS(x64)

This package is based on FFmpeg v4.4.1.Resources under ffmpeg_v4.1.1 are from FFmpeg officical Website.You can download a newer version and replace it in the project.We are using the official shared version of ffmpeg package.

Since Linux has so many different version branches,we don't support it yet.FFmpeg provides built packages for Debian/Ubuntu/Fedora and Redhat only.For other versions and custom requirements,you can build FFmpeg from its source code.So here we don't provide linux support. but we will handle it soon.

If you wanna extend Linux support,just edit this place.

Principle

We just packaged a library to transfer command to FFmpeg CLI.It's useful and simiple,except this,you also can use the FFmpeg API to use it for development.FFmpeg SDK only provide for baisc language like C.

Guid

Check the sample project to see how to use it easily.

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 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ColinChang.FFmpegHelper:

Package Downloads
ColinChang.RtspStream2VideoFile

This package has stopped updating,please use ColinChang.FFmpegHelper instead. https://www.nuget.org/packages/ColinChang.FFmpegHelper/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.1 2,295 7/26/2019
1.2.1 1,359 4/14/2019
1.2.0 1,694 4/9/2019
1.0.0 1,635 4/7/2019

1.Add watermark function for FFmpegHelper 2.Modify RecordVideo function of RtspHelper(add watermark parameter)