Xabe.FFMpeg 2.2.3

Cross-platform wrapper for FFmpeg.

There is a newer version of this package available.
See the version list below for details.
Install-Package Xabe.FFMpeg -Version 2.2.3
dotnet add package Xabe.FFMpeg --version 2.2.3
<PackageReference Include="Xabe.FFMpeg" Version="2.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xabe.FFMpeg --version 2.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Xabe.FFmpeg

Build Status
NuGet version
GitHub issues
GitHub stars
GitHub license
HitCount

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

Link to documentation

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

Lincence

Xabe.FFmpeg is licensed under MIT - see License for details.

Xabe.FFmpeg

Build Status
NuGet version
GitHub issues
GitHub stars
GitHub license
HitCount

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

Link to documentation

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

Lincence

Xabe.FFmpeg is licensed under MIT - see License for details.

Version History

Version Downloads Last updated
3.2.0 25 6/15/2019
3.1.10 317 6/1/2019
3.1.9 662 4/30/2019
3.1.7 157 4/27/2019
3.1.6 380 4/10/2019
3.1.5 1,146 2/8/2019
3.1.4 83,652 9/21/2018
3.1.3 362 9/2/2018
3.1.2 148 8/30/2018
3.1.1 529 8/22/2018
3.1.0 598 7/20/2018
3.0.2 853 5/16/2018
3.0.1 700 3/23/2018
3.0.0 268 3/21/2018
2.3.1 1,015 1/28/2018
2.3.0 1,129 12/13/2017
2.2.9 353 12/4/2017
2.2.8 335 11/20/2017
2.2.7 236 11/15/2017
2.2.6 217 11/13/2017
2.2.5 255 11/9/2017
2.2.4 230 11/7/2017
2.2.3 295 10/31/2017
2.2.2 268 10/25/2017
2.2.1 350 10/24/2017
2.2.0 361,415 10/22/2017
2.1.1 31,240 10/4/2017
2.1.0 227 9/28/2017
2.0.6 196 9/28/2017
2.0.5 200 9/28/2017
2.0.3 305 9/14/2017
2.0.2 207 9/7/2017
2.0.1 248 9/6/2017
2.0.0 18,957 9/4/2017
1.5.1 221 9/3/2017
1.5.0 220 8/29/2017
1.4.2 214 8/26/2017
1.4.1 212 8/23/2017
1.4.0 224 8/22/2017
1.3.0 215 8/20/2017
1.2.3 207 8/20/2017
1.2.2 213 8/17/2017
1.2.1 206 8/17/2017
1.2.0 209 8/17/2017
1.1.2 208 8/16/2017
1.1.1 211 8/16/2017
1.1.0 211 8/15/2017
1.0.10 283 7/25/2017
1.0.8 230 7/20/2017
1.0.7 223 7/19/2017
1.0.6 273 7/1/2017
1.0.5 240 7/1/2017
1.0.4 237 7/1/2017
1.0.3 224 6/30/2017
1.0.2 242 6/30/2017
1.0.1 323 6/27/2017
1.0.0 298 6/25/2017
Show less