mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +00:00
17 lines
433 B
C#
17 lines
433 B
C#
namespace FFMpegCore.Arguments
|
|
{
|
|
/// <summary>
|
|
/// Represents frame rate parameter
|
|
/// </summary>
|
|
public class FrameRateArgument : IArgument
|
|
{
|
|
public readonly double Framerate;
|
|
|
|
public FrameRateArgument(double framerate)
|
|
{
|
|
Framerate = framerate;
|
|
}
|
|
|
|
public string Text => $"-r {Framerate.ToString(System.Globalization.CultureInfo.InvariantCulture)}";
|
|
}
|
|
}
|