TranscodingProfile.cs 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. 
  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 TranscodingSetting[] Settings { get; set; }
  13. public TranscodingProfile()
  14. {
  15. Settings = new TranscodingSetting[] { };
  16. }
  17. public bool EnableMpegtsM2TsMode { get; set; }
  18. }
  19. public class TranscodingSetting
  20. {
  21. public TranscodingSettingType Name { get; set; }
  22. public string Value { get; set; }
  23. }
  24. public enum TranscodingSettingType
  25. {
  26. VideoLevel = 0,
  27. VideoProfile = 1,
  28. MaxAudioChannels = 2
  29. }
  30. public enum TranscodeSeekInfo
  31. {
  32. Auto = 0,
  33. Bytes = 1
  34. }
  35. }