TranscodeReason.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #pragma warning disable CS1591
  2. using System;
  3. namespace MediaBrowser.Model.Session
  4. {
  5. [Flags]
  6. public enum TranscodeReason
  7. {
  8. // Primary
  9. ContainerNotSupported = 1 << 0,
  10. VideoCodecNotSupported = 1 << 1,
  11. AudioCodecNotSupported = 1 << 2,
  12. SubtitleCodecNotSupported = 1 << 3,
  13. AudioIsExternal = 1 << 4,
  14. SecondaryAudioNotSupported = 1 << 5,
  15. StreamCountExceedsLimit = 1 << 26,
  16. // Video Constraints
  17. VideoProfileNotSupported = 1 << 6,
  18. VideoRangeTypeNotSupported = 1 << 24,
  19. VideoCodecTagNotSupported = 1 << 25,
  20. VideoLevelNotSupported = 1 << 7,
  21. VideoResolutionNotSupported = 1 << 8,
  22. VideoBitDepthNotSupported = 1 << 9,
  23. VideoFramerateNotSupported = 1 << 10,
  24. RefFramesNotSupported = 1 << 11,
  25. AnamorphicVideoNotSupported = 1 << 12,
  26. InterlacedVideoNotSupported = 1 << 13,
  27. // Audio Constraints
  28. AudioChannelsNotSupported = 1 << 14,
  29. AudioProfileNotSupported = 1 << 15,
  30. AudioSampleRateNotSupported = 1 << 16,
  31. AudioBitDepthNotSupported = 1 << 17,
  32. // Bitrate Constraints
  33. ContainerBitrateExceedsLimit = 1 << 18,
  34. VideoBitrateNotSupported = 1 << 19,
  35. AudioBitrateNotSupported = 1 << 20,
  36. // Errors
  37. UnknownVideoStreamInfo = 1 << 21,
  38. UnknownAudioStreamInfo = 1 << 22,
  39. DirectPlayError = 1 << 23,
  40. }
  41. }