TranscodingProfile.cs 944 B

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