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 bool EnableDebugLogging { get; set; }
|
2015-03-30 16:16:34 +00:00
|
|
|
|
public bool EnableThrottling { get; set; }
|
2015-11-06 15:02:22 +00:00
|
|
|
|
public int ThrottleThresholdSeconds { get; set; }
|
2015-11-27 04:34:11 +00:00
|
|
|
|
public string HardwareAccelerationType { get; set; }
|
2014-12-21 19:40:37 +00:00
|
|
|
|
|
|
|
|
|
public EncodingOptions()
|
|
|
|
|
{
|
|
|
|
|
DownMixAudioBoost = 2;
|
2015-03-30 16:16:34 +00:00
|
|
|
|
EnableThrottling = true;
|
2015-11-27 04:34:11 +00:00
|
|
|
|
ThrottleThresholdSeconds = 110;
|
2015-07-31 01:52:11 +00:00
|
|
|
|
EncodingThreadCount = -1;
|
2014-12-21 19:40:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|