You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
937 B
40 lines
937 B
#nullable disable
|
|
#pragma warning disable CS1591
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
{
|
|
public class TranscodingInfo
|
|
{
|
|
public string AudioCodec { get; set; }
|
|
|
|
public string VideoCodec { get; set; }
|
|
|
|
public string Container { get; set; }
|
|
|
|
public bool IsVideoDirect { get; set; }
|
|
|
|
public bool IsAudioDirect { get; set; }
|
|
|
|
public int? Bitrate { get; set; }
|
|
|
|
public float? Framerate { get; set; }
|
|
|
|
public double? CompletionPercentage { get; set; }
|
|
|
|
public int? Width { get; set; }
|
|
|
|
public int? Height { get; set; }
|
|
|
|
public int? AudioChannels { get; set; }
|
|
|
|
public HardwareEncodingType? HardwareAccelerationType { get; set; }
|
|
|
|
public TranscodeReason[] TranscodeReasons => TranscodeReason.ToArray();
|
|
|
|
[JsonIgnore]
|
|
public TranscodeReason TranscodeReason { get; set; }
|
|
}
|
|
}
|