2013-04-18 19:57:28 +00:00
|
|
|
|
|
2013-02-21 01:33:05 +00:00
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class MediaStream
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MediaStream
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the codec.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The codec.</value>
|
|
|
|
|
public string Codec { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the language.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The language.</value>
|
|
|
|
|
public string Language { get; set; }
|
|
|
|
|
|
2013-04-18 19:57:28 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the type of the scan.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The type of the scan.</value>
|
|
|
|
|
public string ScanType { get; set; }
|
|
|
|
|
|
2013-02-21 01:33:05 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the bit rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The bit rate.</value>
|
|
|
|
|
public int? BitRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the channels.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The channels.</value>
|
|
|
|
|
public int? Channels { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the sample rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The sample rate.</value>
|
|
|
|
|
public int? SampleRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance is default.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance is default; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsDefault { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance is forced.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance is forced; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsForced { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the height.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The height.</value>
|
|
|
|
|
public int? Height { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the width.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The width.</value>
|
|
|
|
|
public int? Width { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the average frame rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The average frame rate.</value>
|
|
|
|
|
public float? AverageFrameRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the real frame rate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The real frame rate.</value>
|
|
|
|
|
public float? RealFrameRate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the profile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The profile.</value>
|
|
|
|
|
public string Profile { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The type.</value>
|
|
|
|
|
public MediaStreamType Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the aspect ratio.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The aspect ratio.</value>
|
|
|
|
|
public string AspectRatio { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the index.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The index.</value>
|
|
|
|
|
public int Index { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether this instance is external.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if this instance is external; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsExternal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the filename.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The filename.</value>
|
|
|
|
|
public string Path { get; set; }
|
2013-04-03 12:03:37 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the level.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The level.</value>
|
2013-04-03 22:45:04 +00:00
|
|
|
|
public double? Level { get; set; }
|
2013-04-09 19:38:19 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the pixel format.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The pixel format.</value>
|
|
|
|
|
public string PixelFormat { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Enum MediaStreamType
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum MediaStreamType
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The audio
|
|
|
|
|
/// </summary>
|
|
|
|
|
Audio,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The video
|
|
|
|
|
/// </summary>
|
|
|
|
|
Video,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The subtitle
|
|
|
|
|
/// </summary>
|
2013-04-05 05:03:50 +00:00
|
|
|
|
Subtitle,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The data
|
|
|
|
|
/// </summary>
|
|
|
|
|
Data
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|