2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2020-04-05 16:10:56 +00:00
|
|
|
using System;
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
{
|
|
|
|
public class TranscodingInfo
|
|
|
|
{
|
2021-02-20 22:13:04 +00:00
|
|
|
public TranscodingInfo()
|
|
|
|
{
|
|
|
|
TranscodeReasons = Array.Empty<TranscodeReason>();
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string AudioCodec { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string VideoCodec { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string Container { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool IsVideoDirect { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool IsAudioDirect { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? Bitrate { get; set; }
|
|
|
|
|
|
|
|
public float? Framerate { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public double? CompletionPercentage { get; set; }
|
|
|
|
|
|
|
|
public int? Width { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? Height { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? AudioChannels { get; set; }
|
|
|
|
|
2021-07-05 23:52:52 +00:00
|
|
|
public HardwareEncodingType? HardwareAccelerationType { get; set; }
|
2021-07-03 08:12:09 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public TranscodeReason[] TranscodeReasons { get; set; }
|
|
|
|
}
|
2019-01-13 19:31:15 +00:00
|
|
|
}
|