EncodingOptions.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using MediaBrowser.Controller.Dlna;
  2. namespace MediaBrowser.Controller.MediaEncoding
  3. {
  4. public class EncodingOptions
  5. {
  6. /// <summary>
  7. /// Gets or sets the item identifier.
  8. /// </summary>
  9. /// <value>The item identifier.</value>
  10. public string ItemId { get; set; }
  11. /// <summary>
  12. /// Gets or sets the media source identifier.
  13. /// </summary>
  14. /// <value>The media source identifier.</value>
  15. public string MediaSourceId { get; set; }
  16. /// <summary>
  17. /// Gets or sets the device profile.
  18. /// </summary>
  19. /// <value>The device profile.</value>
  20. public DeviceProfile DeviceProfile { get; set; }
  21. /// <summary>
  22. /// Gets or sets the output path.
  23. /// </summary>
  24. /// <value>The output path.</value>
  25. public string OutputPath { get; set; }
  26. /// <summary>
  27. /// Gets or sets the container.
  28. /// </summary>
  29. /// <value>The container.</value>
  30. public string Container { get; set; }
  31. /// <summary>
  32. /// Gets or sets the audio codec.
  33. /// </summary>
  34. /// <value>The audio codec.</value>
  35. public string AudioCodec { get; set; }
  36. /// <summary>
  37. /// Gets or sets the start time ticks.
  38. /// </summary>
  39. /// <value>The start time ticks.</value>
  40. public long? StartTimeTicks { get; set; }
  41. /// <summary>
  42. /// Gets or sets the maximum channels.
  43. /// </summary>
  44. /// <value>The maximum channels.</value>
  45. public int? MaxAudioChannels { get; set; }
  46. /// <summary>
  47. /// Gets or sets the channels.
  48. /// </summary>
  49. /// <value>The channels.</value>
  50. public int? AudioChannels { get; set; }
  51. /// <summary>
  52. /// Gets or sets the sample rate.
  53. /// </summary>
  54. /// <value>The sample rate.</value>
  55. public int? AudioSampleRate { get; set; }
  56. /// <summary>
  57. /// Gets or sets the bit rate.
  58. /// </summary>
  59. /// <value>The bit rate.</value>
  60. public int? AudioBitRate { get; set; }
  61. /// <summary>
  62. /// Gets or sets the maximum audio bit rate.
  63. /// </summary>
  64. /// <value>The maximum audio bit rate.</value>
  65. public int? MaxAudioBitRate { get; set; }
  66. }
  67. }