MediaStreamInfo.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
  2. using System;
  3. using System.Diagnostics.CodeAnalysis;
  4. namespace Jellyfin.Data.Entities;
  5. public class MediaStreamInfo
  6. {
  7. public required Guid ItemId { get; set; }
  8. public required BaseItemEntity Item { get; set; }
  9. public int StreamIndex { get; set; }
  10. public required MediaStreamTypeEntity StreamType { get; set; }
  11. public string? Codec { get; set; }
  12. public string? Language { get; set; }
  13. public string? ChannelLayout { get; set; }
  14. public string? Profile { get; set; }
  15. public string? AspectRatio { get; set; }
  16. public string? Path { get; set; }
  17. public bool? IsInterlaced { get; set; }
  18. public int? BitRate { get; set; }
  19. public int? Channels { get; set; }
  20. public int? SampleRate { get; set; }
  21. public bool IsDefault { get; set; }
  22. public bool IsForced { get; set; }
  23. public bool IsExternal { get; set; }
  24. public int? Height { get; set; }
  25. public int? Width { get; set; }
  26. public float? AverageFrameRate { get; set; }
  27. public float? RealFrameRate { get; set; }
  28. public float? Level { get; set; }
  29. public string? PixelFormat { get; set; }
  30. public int? BitDepth { get; set; }
  31. public bool? IsAnamorphic { get; set; }
  32. public int? RefFrames { get; set; }
  33. public string? CodecTag { get; set; }
  34. public string? Comment { get; set; }
  35. public string? NalLengthSize { get; set; }
  36. public bool? IsAvc { get; set; }
  37. public string? Title { get; set; }
  38. public string? TimeBase { get; set; }
  39. public string? CodecTimeBase { get; set; }
  40. public string? ColorPrimaries { get; set; }
  41. public string? ColorSpace { get; set; }
  42. public string? ColorTransfer { get; set; }
  43. public int? DvVersionMajor { get; set; }
  44. public int? DvVersionMinor { get; set; }
  45. public int? DvProfile { get; set; }
  46. public int? DvLevel { get; set; }
  47. public int? RpuPresentFlag { get; set; }
  48. public int? ElPresentFlag { get; set; }
  49. public int? BlPresentFlag { get; set; }
  50. public int? DvBlSignalCompatibilityId { get; set; }
  51. public bool? IsHearingImpaired { get; set; }
  52. public int? Rotation { get; set; }
  53. public string? KeyFrames { get; set; }
  54. }