mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-15 02:25:44 +00:00
18 lines
395 B
C#
18 lines
395 B
C#
using System.Globalization;
|
|
|
|
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(CultureInfo.InvariantCulture)}";
|
|
}
|