2
0

TranscodingProfile.cs 953 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. Profile = 0,
  26. MaxAudioChannels = 1
  27. }
  28. public enum TranscodeSeekInfo
  29. {
  30. Auto = 0,
  31. Bytes = 1
  32. }
  33. }