mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
24 lines
718 B
C#
24 lines
718 B
C#
|
|
namespace MediaBrowser.Model.Configuration
|
|
{
|
|
public class EncodingOptions
|
|
{
|
|
public int EncodingThreadCount { get; set; }
|
|
public string TranscodingTempPath { get; set; }
|
|
public double DownMixAudioBoost { get; set; }
|
|
public string H264Encoder { get; set; }
|
|
public bool EnableDebugLogging { get; set; }
|
|
public bool EnableThrottling { get; set; }
|
|
public int ThrottleThresholdInSeconds { get; set; }
|
|
|
|
public EncodingOptions()
|
|
{
|
|
H264Encoder = "libx264";
|
|
DownMixAudioBoost = 2;
|
|
EnableThrottling = true;
|
|
ThrottleThresholdInSeconds = 120;
|
|
EncodingThreadCount = -1;
|
|
}
|
|
}
|
|
}
|