Open ChristopheI opened 1 year ago
it will be also great to have this extension public
public static class TExtension
{
public static T ThrowIfError<T>(this T error) where T : struct, IComparable, IFormattable, IConvertible, IComparable<T>, IEquatable<T>
{
if (error is int _int)
return _int < 0 ? throw new FFmpegException(_int) : error;
else if (error is long _long)
return _long < 0 ? throw new FFmpegException((int)_long) : error;
else
return error.CompareTo(default) < 0 ? throw new FFmpegException(error.ToInt32(NumberFormatInfo.InvariantInfo)) : error;
}
}
Hi,
I migrate from the master branch to the dev branch. The objective was to use the new Nuget package directly in my project.
Unfortunately there are some missing elements in FFmpeg4Sharp 1.1.3:
Filter class There is no filter class yet in 1.1.3. But you have them in the current branch with nearly same features than in master branch (Inputs and Outputs are no more directly available but it's not a problem)
RegisterBinaries There is no more RegisterBinaries method in FFmpegUtil
Also I notice that CreateMediaFilterGraph method is currently commented. I didn't test it yet but it should be great to have it.
A great thanks again for this great package ! 👍