2013-02-21 17:50:46 +00:00
|
|
|
|
namespace MediaBrowser.Model.Dto
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class VideoStreamOptions
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class VideoStreamOptions : StreamOptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the video codec.
|
|
|
|
|
/// Omit to copy
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The video codec.</value>
|
2014-03-23 20:07:02 +00:00
|
|
|
|
public string VideoCodec { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the video bit rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The video bit rate.</value>
|
|
|
|
|
public int? VideoBitRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the width.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The width.</value>
|
|
|
|
|
public int? Width { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the height.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The height.</value>
|
|
|
|
|
public int? Height { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the width of the max.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The width of the max.</value>
|
|
|
|
|
public int? MaxWidth { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the height of the max.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The height of the max.</value>
|
|
|
|
|
public int? MaxHeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the frame rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The frame rate.</value>
|
|
|
|
|
public double? FrameRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the index of the audio stream.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The index of the audio stream.</value>
|
|
|
|
|
public int? AudioStreamIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the index of the video stream.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The index of the video stream.</value>
|
|
|
|
|
public int? VideoStreamIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the index of the subtitle stream.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The index of the subtitle stream.</value>
|
|
|
|
|
public int? SubtitleStreamIndex { get; set; }
|
2013-03-28 22:21:03 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the profile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The profile.</value>
|
|
|
|
|
public string Profile { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the level.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The level.</value>
|
|
|
|
|
public string Level { get; set; }
|
2013-09-06 17:27:06 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the baseline stream audio bit rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The baseline stream audio bit rate.</value>
|
|
|
|
|
public int? BaselineStreamAudioBitRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether [append baseline stream].
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if [append baseline stream]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool AppendBaselineStream { get; set; }
|
2013-09-19 20:03:14 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the time stamp offset ms. Only used with HLS.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The time stamp offset ms.</value>
|
|
|
|
|
public int? TimeStampOffsetMs { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class StreamOptions
|
|
|
|
|
/// </summary>
|
2013-04-27 15:29:02 +00:00
|
|
|
|
public class StreamOptions
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the audio bit rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The audio bit rate.</value>
|
|
|
|
|
public int? AudioBitRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the audio codec.
|
|
|
|
|
/// Omit to copy the original stream
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The audio encoding format.</value>
|
2014-03-23 20:07:02 +00:00
|
|
|
|
public string AudioCodec { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the item id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item id.</value>
|
|
|
|
|
public string ItemId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the max audio channels.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The max audio channels.</value>
|
|
|
|
|
public int? MaxAudioChannels { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the max audio sample rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The max audio sample rate.</value>
|
|
|
|
|
public int? MaxAudioSampleRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the start time ticks.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The start time ticks.</value>
|
|
|
|
|
public long? StartTimeTicks { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether the original media should be served statically
|
|
|
|
|
/// Only used with progressive streaming
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if static; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool? Static { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the output file extension.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The output file extension.</value>
|
|
|
|
|
public string OutputFileExtension { get; set; }
|
2013-10-03 14:14:40 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the device id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The device id.</value>
|
|
|
|
|
public string DeviceId { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
2014-04-13 17:27:13 +00:00
|
|
|
|
|
|
|
|
|
public class SubtitleOptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the item identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item identifier.</value>
|
|
|
|
|
public string ItemId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the index of the stream.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The index of the stream.</value>
|
|
|
|
|
public int StreamIndex { get; set; }
|
|
|
|
|
}
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|