jellyfin/MediaBrowser.Model/Configuration/EncodingOptions.cs

25 lines
772 B
C#
Raw Normal View History

2014-12-21 12:40:37 -07:00

namespace MediaBrowser.Model.Configuration
{
public class EncodingOptions
{
2015-07-30 18:52:11 -07:00
public int EncodingThreadCount { get; set; }
2014-12-21 12:40:37 -07:00
public string TranscodingTempPath { get; set; }
public double DownMixAudioBoost { get; set; }
public bool EnableThrottling { get; set; }
2016-01-08 21:27:58 -07:00
public int ThrottleDelaySeconds { get; set; }
2015-11-26 21:34:11 -07:00
public string HardwareAccelerationType { get; set; }
2016-06-19 23:19:28 -07:00
public string EncoderAppPath { get; set; }
2016-08-23 09:31:16 -07:00
public string VaapiDevice { get; set; }
2014-12-21 12:40:37 -07:00
public EncodingOptions()
{
DownMixAudioBoost = 2;
EnableThrottling = true;
2016-01-08 21:27:58 -07:00
ThrottleDelaySeconds = 180;
2015-07-30 18:52:11 -07:00
EncodingThreadCount = -1;
2016-08-24 13:14:35 -07:00
VaapiDevice = "/dev/dri/card0";
2014-12-21 12:40:37 -07:00
}
}
}