jellyfin-server/MediaBrowser.Model/Configuration/EncodingOptions.cs

24 lines
718 B
C#
Raw Normal View History

2014-12-21 19:40:37 +00:00

namespace MediaBrowser.Model.Configuration
{
public class EncodingOptions
{
2015-07-31 01:52:11 +00:00
public int EncodingThreadCount { get; set; }
2014-12-21 19:40:37 +00:00
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; }
2015-05-19 19:15:40 +00:00
public int ThrottleThresholdInSeconds { get; set; }
2014-12-21 19:40:37 +00:00
public EncodingOptions()
{
H264Encoder = "libx264";
DownMixAudioBoost = 2;
EnableThrottling = true;
2015-05-19 19:15:40 +00:00
ThrottleThresholdInSeconds = 120;
2015-07-31 01:52:11 +00:00
EncodingThreadCount = -1;
2014-12-21 19:40:37 +00:00
}
}
}