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 Codec Codec { 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 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; } } }