VideoStreamOptions.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. using System;
  2. namespace MediaBrowser.Model.Dto
  3. {
  4. /// <summary>
  5. /// Class VideoStreamOptions
  6. /// </summary>
  7. [Obsolete]
  8. public class VideoStreamOptions : StreamOptions
  9. {
  10. /// <summary>
  11. /// Gets or sets the video codec.
  12. /// Omit to copy
  13. /// </summary>
  14. /// <value>The video codec.</value>
  15. public string VideoCodec { get; set; }
  16. /// <summary>
  17. /// Gets or sets the video bit rate.
  18. /// </summary>
  19. /// <value>The video bit rate.</value>
  20. public int? VideoBitRate { get; set; }
  21. /// <summary>
  22. /// Gets or sets the width.
  23. /// </summary>
  24. /// <value>The width.</value>
  25. public int? Width { get; set; }
  26. /// <summary>
  27. /// Gets or sets the height.
  28. /// </summary>
  29. /// <value>The height.</value>
  30. public int? Height { get; set; }
  31. /// <summary>
  32. /// Gets or sets the width of the max.
  33. /// </summary>
  34. /// <value>The width of the max.</value>
  35. public int? MaxWidth { get; set; }
  36. /// <summary>
  37. /// Gets or sets the height of the max.
  38. /// </summary>
  39. /// <value>The height of the max.</value>
  40. public int? MaxHeight { get; set; }
  41. /// <summary>
  42. /// Gets or sets the frame rate.
  43. /// </summary>
  44. /// <value>The frame rate.</value>
  45. public double? FrameRate { get; set; }
  46. /// <summary>
  47. /// Gets or sets the index of the audio stream.
  48. /// </summary>
  49. /// <value>The index of the audio stream.</value>
  50. public int? AudioStreamIndex { get; set; }
  51. /// <summary>
  52. /// Gets or sets the index of the video stream.
  53. /// </summary>
  54. /// <value>The index of the video stream.</value>
  55. public int? VideoStreamIndex { get; set; }
  56. /// <summary>
  57. /// Gets or sets the index of the subtitle stream.
  58. /// </summary>
  59. /// <value>The index of the subtitle stream.</value>
  60. public int? SubtitleStreamIndex { get; set; }
  61. /// <summary>
  62. /// Gets or sets the profile.
  63. /// </summary>
  64. /// <value>The profile.</value>
  65. public string Profile { get; set; }
  66. /// <summary>
  67. /// Gets or sets the level.
  68. /// </summary>
  69. /// <value>The level.</value>
  70. public string Level { get; set; }
  71. /// <summary>
  72. /// Gets or sets the baseline stream audio bit rate.
  73. /// </summary>
  74. /// <value>The baseline stream audio bit rate.</value>
  75. public int? BaselineStreamAudioBitRate { get; set; }
  76. /// <summary>
  77. /// Gets or sets a value indicating whether [append baseline stream].
  78. /// </summary>
  79. /// <value><c>true</c> if [append baseline stream]; otherwise, <c>false</c>.</value>
  80. public bool AppendBaselineStream { get; set; }
  81. /// <summary>
  82. /// Gets or sets the time stamp offset ms. Only used with HLS.
  83. /// </summary>
  84. /// <value>The time stamp offset ms.</value>
  85. public int? TimeStampOffsetMs { get; set; }
  86. }
  87. }