2014-12-21 14:40:37 -05:00
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Configuration
|
|
|
|
|
|
{
|
|
|
|
|
|
public class EncodingOptions
|
|
|
|
|
|
{
|
2015-07-30 21:52:11 -04:00
|
|
|
|
public int EncodingThreadCount { get; set; }
|
2014-12-21 14:40:37 -05:00
|
|
|
|
public string TranscodingTempPath { get; set; }
|
|
|
|
|
|
public double DownMixAudioBoost { get; set; }
|
2015-03-30 12:16:34 -04:00
|
|
|
|
public bool EnableThrottling { get; set; }
|
2016-01-08 23:27:58 -05:00
|
|
|
|
public int ThrottleDelaySeconds { get; set; }
|
2015-11-26 23:34:11 -05:00
|
|
|
|
public string HardwareAccelerationType { get; set; }
|
2016-06-20 02:19:28 -04:00
|
|
|
|
public string EncoderAppPath { get; set; }
|
2016-08-23 12:31:16 -04:00
|
|
|
|
public string VaapiDevice { get; set; }
|
2014-12-21 14:40:37 -05:00
|
|
|
|
|
|
|
|
|
|
public EncodingOptions()
|
|
|
|
|
|
{
|
|
|
|
|
|
DownMixAudioBoost = 2;
|
2015-03-30 12:16:34 -04:00
|
|
|
|
EnableThrottling = true;
|
2016-01-08 23:27:58 -05:00
|
|
|
|
ThrottleDelaySeconds = 180;
|
2015-07-30 21:52:11 -04:00
|
|
|
|
EncodingThreadCount = -1;
|
2014-12-21 14:40:37 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|