FFmpegArgs.Filters.Common
1.4.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package FFmpegArgs.Filters.Common --version 1.4.0
NuGet\Install-Package FFmpegArgs.Filters.Common -Version 1.4.0
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="FFmpegArgs.Filters.Common" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FFmpegArgs.Filters.Common --version 1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FFmpegArgs.Filters.Common, 1.4.0"
#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 FFmpegArgs.Filters.Common as a Cake Addin
#addin nuget:?package=FFmpegArgs.Filters.Common&version=1.4.0
// Install FFmpegArgs.Filters.Common as a Cake Tool
#tool nuget:?package=FFmpegArgs.Filters.Common&version=1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FFmpegArgs
<b>FFmpegArgs</b> is a cli-wrapper library support generate argument for ffmpeg executable.
The standout feature that many cli-wrapper libraries don't have is the <b>FFmpeg FilterGraph</b> system.
Get it on NuGet Package
- Support file/url/pipe in/output.
- Works on most systems - if ffmpeg can execution.
- 130+ filters, add more in future
- 380+ filters auto-generate
Example
FFmpegArg ffmpegArg = new FFmpegArg().OverWriteOutput();
var green_video = ffmpegArg.AddVideoInput(new VideoFileInput(@"chromakey.mp4")
.SsPosition(TimeSpan.FromSeconds(0.5)));
var background_video = ffmpegArg.AddVideoInput(new VideoFileInput(@"background.mp4")
.SsPosition(TimeSpan.FromSeconds(1))
.ToPosition(TimeSpan.FromSeconds(10)));
var color_keys = green_video.ImageMaps.First()
.ColorKeyFilter()//ColorKey
.Color(Color.FromArgb(101, 220, 8))
.Similarity(0.25f)
.Enable("between(t,0,10)").MapOut//ITimelineSupport
.ScaleFilter().W("iw/3").H("ih/3").MapOut//Scale
.SplitFilter(2).MapsOut;//Split
var overlay = color_keys.First()
//overlay color_key on-center background_video
.OverlayFilterOn(background_video.ImageMaps.First()).X("(W-w)/2").Y("(H-h)/2").MapOut;
ffmpegArg.AddOutput(new VideoFileOutput(@"out.mp4", overlay, background_video.AudioMaps.First()).Fps(24));
ffmpegArg.AddOutput(new VideoFileOutput(@"out2.mp4", color_keys.Last(), background_video.AudioMaps.First()).Fps(30));
var renderResult = ffmpegArg
.Render(c => c
.WithFFmpegBinaryPath("path to ffmpeg")
.WithWorkingDirectory(Directory.GetCurrentDirectory()))
.Execute();
For more example, see FFmpegArgs.Test
LICENCE
MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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.6.2
- FFmpegArgs.Cores (>= 1.4.0 && < 1.5.0)
-
.NETStandard 2.0
- FFmpegArgs.Cores (>= 1.4.0 && < 1.5.0)
-
net5.0
- FFmpegArgs.Cores (>= 1.4.0 && < 1.5.0)
-
net6.0
- FFmpegArgs.Cores (>= 1.4.0 && < 1.5.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on FFmpegArgs.Filters.Common:
Package | Downloads |
---|---|
FFmpegArgs.Filters
Filters for FFmpegArgs |
|
FFmpegArgs
Generate arguments for ffmpeg executable |
|
FFmpegArgs.Inputs
Inputs for FFmpegArgs |
|
FFmpegArgs.Filters.Autogen
Filters auto generate for FFmpegArgs |
GitHub repositories
This package is not used by any popular GitHub repositories.