TranscodingProfile.cs 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Controller.Dlna
  3. {
  4. public class TranscodingProfile
  5. {
  6. public string Container { get; set; }
  7. public DlnaProfileType Type { get; set; }
  8. public string VideoCodec { get; set; }
  9. public string AudioCodec { get; set; }
  10. public bool EstimateContentLength { get; set; }
  11. public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
  12. public List<TranscodingSetting> Settings { get; set; }
  13. public TranscodingProfile()
  14. {
  15. Settings = new List<TranscodingSetting>();
  16. }
  17. }
  18. public class TranscodingSetting
  19. {
  20. public TranscodingSettingType Name { get; set; }
  21. public string Value { get; set; }
  22. }
  23. public enum TranscodingSettingType
  24. {
  25. VideoLevel = 0,
  26. VideoProfile = 1,
  27. MaxAudioChannels = 2
  28. }
  29. public enum TranscodeSeekInfo
  30. {
  31. Auto = 0,
  32. Bytes = 1
  33. }
  34. }