2014-12-21 19:40:37 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Configuration
|
|
|
|
|
{
|
|
|
|
|
public class EncodingOptions
|
|
|
|
|
{
|
|
|
|
|
public EncodingQuality EncodingQuality { get; set; }
|
|
|
|
|
public string TranscodingTempPath { get; set; }
|
|
|
|
|
public double DownMixAudioBoost { get; set; }
|
|
|
|
|
public string H264Encoder { get; set; }
|
|
|
|
|
public bool EnableDebugLogging { get; set; }
|
2015-03-30 16:16:34 +00:00
|
|
|
|
public bool EnableThrottling { get; set; }
|
|
|
|
|
public int ThrottleThresholdSeconds { get; set; }
|
2014-12-21 19:40:37 +00:00
|
|
|
|
|
|
|
|
|
public EncodingOptions()
|
|
|
|
|
{
|
|
|
|
|
H264Encoder = "libx264";
|
|
|
|
|
DownMixAudioBoost = 2;
|
|
|
|
|
EncodingQuality = EncodingQuality.Auto;
|
2015-03-30 16:16:34 +00:00
|
|
|
|
EnableThrottling = true;
|
2015-04-15 03:41:29 +00:00
|
|
|
|
ThrottleThresholdSeconds = 90;
|
2014-12-21 19:40:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|