FFMpegCore/FFMpegCore/FFMpeg/Arguments/BlackFrameArgument.cs
Thodoris Koskinopoulos f042d78f2c Added blackdetect and blackframe arguments
Former-commit-id: 7f72625eac
2023-01-31 20:25:37 +01:00

14 lines
346 B
C#

namespace FFMpegCore.Arguments
{
internal class BlackFrameArgument : IVideoFilterArgument
{
public string Key => "blackframe";
public string Value { get; }
public BlackFrameArgument(int amount = 98, int threshold = 32)
{
Value = $"amount={amount}:threshold={threshold}";
}
}
}