2
0

VideoStreamOptions.cs 3.1 KB

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