SHA256
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using ADOFAIRenderer.Util.FFmpeg;
|
|
|
|
namespace ADOFAIRenderer.Data
|
|
{
|
|
public class RenderConfig
|
|
{
|
|
public double RenderFPS { get; set; }
|
|
public double VideoFPS { get; set; }
|
|
|
|
public int RenderWidth { get; set; }
|
|
public int RenderHeight { get; set; }
|
|
|
|
public EncodingConfig? EncodingConfig { get; set; }
|
|
|
|
public double DelayAfterLevelEnd { get; set; }
|
|
public bool ShowJudgementText { get; set; }
|
|
|
|
public int? RandomSeed { get; set; } = null;
|
|
public bool ProcessAudio { get; set; }
|
|
public bool RenderAudio { get; set; } = true;
|
|
public int AudioSampleRate { get; set; } = 44100;
|
|
public int AudioChannels { get; set; } = 2;
|
|
public int AudioBitrate { get; set; } = 256000;
|
|
}
|
|
|
|
public class EncodingConfig
|
|
{
|
|
public Codec Codec { get; set; } = Codec.H264;
|
|
public RateControlMode RateControlMode { get; set; }
|
|
|
|
public int Bitrate { get; set; }
|
|
public int MaxBitrate { get; set; }
|
|
// ReSharper disable once InconsistentNaming
|
|
public int QP { get; set; }
|
|
public double KeyframeInterval { get; set; }
|
|
public bool ForceSoftwareEncoder { get; set; }
|
|
}
|
|
} |