2
0

TranscodeReason.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. // Video Constraints
  16. VideoProfileNotSupported = 1 << 6,
  17. VideoLevelNotSupported = 1 << 7,
  18. VideoResolutionNotSupported = 1 << 8,
  19. VideoBitDepthNotSupported = 1 << 9,
  20. VideoFramerateNotSupported = 1 << 10,
  21. RefFramesNotSupported = 1 << 11,
  22. AnamorphicVideoNotSupported = 1 << 12,
  23. InterlacedVideoNotSupported = 1 << 13,
  24. // Audio Constraints
  25. AudioChannelsNotSupported = 1 << 14,
  26. AudioProfileNotSupported = 1 << 15,
  27. AudioSampleRateNotSupported = 1 << 16,
  28. AudioBitDepthNotSupported = 1 << 17,
  29. // Bitrate Constraints
  30. ContainerBitrateExceedsLimit = 1 << 18,
  31. VideoBitrateNotSupported = 1 << 19,
  32. AudioBitrateNotSupported = 1 << 20,
  33. // Errors
  34. UnknownVideoStreamInfo = 1 << 21,
  35. UnknownAudioStreamInfo = 1 << 22,
  36. DirectPlayError = 1 << 23,
  37. }
  38. }