EncodingOptions.cs 735 B

1234567891011121314151617181920212223
  1. 
  2. namespace MediaBrowser.Model.Configuration
  3. {
  4. public class EncodingOptions
  5. {
  6. public EncodingQuality EncodingQuality { get; set; }
  7. public string TranscodingTempPath { get; set; }
  8. public double DownMixAudioBoost { get; set; }
  9. public string H264Encoder { get; set; }
  10. public bool EnableDebugLogging { get; set; }
  11. public bool EnableThrottling { get; set; }
  12. public int ThrottleThresholdSeconds { get; set; }
  13. public EncodingOptions()
  14. {
  15. H264Encoder = "libx264";
  16. DownMixAudioBoost = 2;
  17. EncodingQuality = EncodingQuality.Auto;
  18. EnableThrottling = true;
  19. ThrottleThresholdSeconds = 90;
  20. }
  21. }
  22. }