Xabe.FFmpeg
2.2.3
See the version list below for details.
dotnet add package Xabe.FFmpeg --version 2.2.3
NuGet\Install-Package Xabe.FFmpeg -Version 2.2.3
<PackageReference Include="Xabe.FFmpeg" Version="2.2.3" />
paket add Xabe.FFmpeg --version 2.2.3
#r "nuget: Xabe.FFmpeg, 2.2.3"
// Install Xabe.FFmpeg as a Cake Addin #addin nuget:?package=Xabe.FFmpeg&version=2.2.3 // Install Xabe.FFmpeg as a Cake Tool #tool nuget:?package=Xabe.FFmpeg&version=2.2.3
Xabe.FFmpeg
.NET Standard wrapper for FFmpeg. It's allow to process media without know how FFmpeg works, and can be used to pass customized arguments to FFmpeg from dotnet core application.
Using
You have to have installed FFmpeg and added it to your PATH variable or specify directory where FFmpeg executables are before run conversion in variable FFbase.FFmpegDir. Default the library is trying to find FFmpeg executables names contains "ffprobe", "ffmpeg". This function is case insensitive. Those names can be changed in FFbase.FFmpegExecutableName and FFbase.FFprobeExecutableName.
Install the Xabe.FFmpeg NuGet package via nuget:
PM> Install-Package Xabe.FFmpeg
Creating media info:
IMediaInfo mediaInfo = new MediaInfo("videofile.mkv");
Media info contains information about video like: duration, audio format, video format, radio, frame rate, height, width, size in Properties property.
It is possible to have more elastic way to convert media. Conversion class is builder for FFmpeg command. You can specify all implemented FFmpeg options and run process:
string output = Path.ChangeExtension(Path.GetTempFileName(), ".mp4");
bool result = await ConversionHelper.ToMp4("videofile.mkv", output)
.Start();
or
string outputPath = Path.ChangeExtension(Path.GetTempFileName(), Extensions.Mp4);
bool conversionResult = await new Conversion()
.SetInput("videofile.mkv")
.Rotate(rotateDegrees)
.SetOutput(outputPath)
.Start();
it is possible to give your own arguments
bool conversionResult = await new Conversion().Start("-i \"C:\Xabe.FFmpeg.Test\bin\Debug\netcoreapp2.0\Resources\SampleVideo_360x240_1mb.mkv\" \"C:\Users\tzmuda\AppData\Local\Temp\tmp9B8A.mp4\"");
Features
- Cross-platform support
- Getting an information about video
- Extracting audio or video
- Convert media
- Create snapshot
- Add audio to video
- Concatenate multiple videos
- Reverse
- Change speed
- Rotate video
- Pass parameters directly to FFmpeg
- Set watermark for video file
Lincence
Xabe.FFmpeg is licensed under MIT - see License for details.
Product | Versions 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. |
-
.NETStandard 2.0
- JetBrains.Annotations (>= 11.0.0)
- Newtonsoft.Json (>= 10.0.3)
NuGet packages (17)
Showing the top 5 NuGet packages that depend on Xabe.FFmpeg:
Package | Downloads |
---|---|
Xabe.FFmpeg.Downloader
FFmpeg assemly downloader. Download ffmpeg binary data on Windows, Mac or Linux. |
|
Kayisoft.Abp.XabeFFmpeg
Kayisoft Xabe FFmpeg Module |
|
RenderHaze.VideoRenderer
Timeline-based video compositor, part of RenderHaze |
|
Ae.MediaMetadata
Extracts EXIF and other information from media files using ffmpeg. |
|
Nvideo.Infrastructure
Package Description |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Xabe.FFmpeg:
Repository | Stars |
---|---|
sim0n00ps/OF-DL
C# console app to download all of the media from Onlyfans accounts with DRM video downloading support
|
|
MayDay-wpf/AIBotPublic
AIBot PRO 是一个基于.NET 6 的 AI聚合客户端 to C 弱 to B 可以集成众多AI产品(ChatGPT,Gemini,Claude,文心一言,通义千问,讯飞星火),无感切换对话,支持知识库、插件开发、AI流程引擎(workflow)、以及开放平台对外输出定制化的特色AI API
|
|
cliveontoast/GoMoPho
Google motion photos video extractor
|
Version | Downloads | Last updated |
---|---|---|
5.2.6 | 238,360 | 3/14/2023 |
5.2.5 | 21,551 | 2/9/2023 |
5.2.4 | 13,471 | 1/25/2023 |
5.2.3 | 12,526 | 12/22/2022 |
5.2.2 | 2,295 | 12/20/2022 |
5.2.1 | 3,537 | 12/11/2022 |
5.2.0 | 127,436 | 5/5/2022 |
5.1.0 | 49,670 | 1/18/2022 |
5.0.2 | 125,069 | 5/28/2021 |
5.0.1 | 4,656 | 5/22/2021 |
5.0.0 | 3,541 | 5/15/2021 |
4.4.1 | 6,134 | 5/11/2021 |
4.4.0 | 49,444 | 12/9/2020 |
4.3.1 | 63,383 | 9/24/2020 |
4.3.0 | 2,658 | 9/18/2020 |
4.2.0 | 11,701 | 8/31/2020 |
4.1.1 | 11,698 | 7/2/2020 |
4.1.0 | 17,535 | 6/6/2020 |
4.0.0 | 11,759 | 5/1/2020 |
3.6.2 | 31,466 | 4/1/2020 |
3.6.1 | 5,369 | 3/21/2020 |
3.6.0 | 1,671 | 3/14/2020 |
3.5.2 | 14,370 | 2/11/2020 |
3.5.1 | 12,155 | 12/18/2019 |
3.5.0 | 21,913 | 9/20/2019 |
3.4.0 | 5,058 | 7/19/2019 |
3.3.0 | 7,141 | 6/27/2019 |
3.2.0 | 1,726 | 6/15/2019 |
3.1.10 | 1,697 | 6/1/2019 |
3.1.9 | 2,488 | 4/30/2019 |
3.1.7 | 1,512 | 4/27/2019 |
3.1.6 | 1,822 | 4/10/2019 |
3.1.5 | 3,703 | 2/8/2019 |
3.1.4 | 609,747 | 9/21/2018 |
3.1.3 | 1,928 | 9/2/2018 |
3.1.2 | 1,580 | 8/30/2018 |
3.1.1 | 2,290 | 8/22/2018 |
3.1.0 | 2,203 | 7/20/2018 |
3.0.2 | 2,516 | 5/16/2018 |
3.0.1 | 2,278 | 3/23/2018 |
3.0.0 | 2,038 | 3/21/2018 |
2.3.1 | 2,939 | 1/28/2018 |
2.3.0 | 2,836 | 12/13/2017 |
2.2.9 | 1,966 | 12/4/2017 |
2.2.8 | 4,252 | 11/20/2017 |
2.2.7 | 1,727 | 11/15/2017 |
2.2.6 | 1,745 | 11/13/2017 |
2.2.5 | 1,754 | 11/9/2017 |
2.2.4 | 1,716 | 11/7/2017 |
2.2.3 | 1,871 | 10/31/2017 |
2.2.2 | 1,770 | 10/25/2017 |
2.2.1 | 1,890 | 10/24/2017 |
2.2.0 | 362,976 | 10/22/2017 |
2.1.1 | 36,509 | 10/4/2017 |
2.1.0 | 1,706 | 9/28/2017 |
2.0.6 | 1,697 | 9/28/2017 |
2.0.5 | 1,735 | 9/28/2017 |
2.0.3 | 1,905 | 9/14/2017 |
2.0.2 | 1,778 | 9/7/2017 |
2.0.1 | 1,826 | 9/6/2017 |
2.0.0 | 20,374 | 9/4/2017 |
1.5.1 | 1,649 | 9/3/2017 |
1.5.0 | 1,649 | 8/29/2017 |
1.4.2 | 1,588 | 8/26/2017 |
1.4.1 | 1,684 | 8/23/2017 |
1.4.0 | 1,592 | 8/22/2017 |
1.3.0 | 1,619 | 8/20/2017 |
1.2.3 | 1,656 | 8/20/2017 |
1.2.2 | 1,579 | 8/17/2017 |
1.2.1 | 1,626 | 8/17/2017 |
1.2.0 | 1,652 | 8/17/2017 |
1.1.2 | 1,647 | 8/16/2017 |
1.1.1 | 1,651 | 8/16/2017 |
1.1.0 | 1,592 | 8/15/2017 |
1.0.10 | 1,668 | 7/25/2017 |
1.0.8 | 1,644 | 7/20/2017 |
1.0.7 | 1,676 | 7/19/2017 |
1.0.6 | 1,737 | 7/1/2017 |
1.0.5 | 1,655 | 7/1/2017 |
1.0.4 | 1,715 | 7/1/2017 |
1.0.3 | 1,612 | 6/30/2017 |
1.0.2 | 1,690 | 6/30/2017 |
1.0.1 | 1,883 | 6/27/2017 |
1.0.0 | 2,019 | 6/25/2017 |