2020-04-05 18:10:56 +02:00
|
|
|
#nullable disable
|
2020-02-04 01:49:27 +01:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-12-07 21:52:54 -10:00
|
|
|
/// Class holding information on a running transcode.
|
2024-09-09 16:43:37 +02:00
|
|
|
/// </summary>
|
|
|
|
|
public class TranscodingInfo
|
2018-12-27 18:27:57 -05:00
|
|
|
{
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the thread count used for encoding.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AudioCodec { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the thread count used for encoding.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VideoCodec { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the thread count used for encoding.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Container { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether the video is passed through.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsVideoDirect { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether the audio is passed through.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsAudioDirect { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the bitrate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Bitrate { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the framerate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float? Framerate { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the completion percentage.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double? CompletionPercentage { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the video width.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Width { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the video height.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Height { get; set; }
|
2020-06-16 09:43:52 +12:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the audio channels.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? AudioChannels { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the hardware acceleration type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public HardwareAccelerationType? HardwareAccelerationType { get; set; }
|
2021-07-03 01:12:09 -07:00
|
|
|
|
2024-09-09 16:43:37 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the transcode reasons.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public TranscodeReason TranscodeReasons { get; set; }
|
2019-01-13 20:31:15 +01:00
|
|
|
}
|