FFmpeg CSharp Wrapper

This CSharp wrapper for FFmpeg.

Compatibility

This application requires at least:

  • .Net Core 3.1 or above

Usage

  1. Initialize
FFmpegWrapper.Initialization(@"D:\ffmpeg")
  1. Run
var progress = new Progress<double>(v => Console.WriteLine("{0,8:F1}%", v));

FFmegWrapper.Execute(in_file, out_file, progress, argsBuilder =>
{
	argsBuilder.LogLevel("level");
	argsBuilder.HideBunner();
	argsBuilder.NoStatistics();
	argsBuilder.RewriteIfExists();
	argsBuilder.OutputConfigure(outputconfigurator =>
	{
		outputconfigurator.SetFramerate(25);
	});
});
  1. Profit

Authors

License

MIT

Acknowledgments