mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +00:00
16 lines
406 B
C#
16 lines
406 B
C#
namespace FFMpegCore.Arguments
|
|
{
|
|
/// <summary>
|
|
/// Represents cpu speed parameter
|
|
/// </summary>
|
|
public class CpuSpeedArgument : IArgument
|
|
{
|
|
public readonly int CpuSpeed;
|
|
public CpuSpeedArgument(int cpuSpeed)
|
|
{
|
|
CpuSpeed = cpuSpeed;
|
|
}
|
|
|
|
public string Text => $"-quality good -cpu-used {CpuSpeed} -deadline realtime";
|
|
}
|
|
}
|