mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-11-07 23:33:10 -05:00
45 lines
982 B
C#
45 lines
982 B
C#
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Dlna
|
|
{
|
|
public class TranscodingProfile
|
|
{
|
|
public string Container { get; set; }
|
|
|
|
public DlnaProfileType Type { get; set; }
|
|
|
|
public string VideoCodec { get; set; }
|
|
public string AudioCodec { get; set; }
|
|
|
|
public bool EstimateContentLength { get; set; }
|
|
|
|
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
|
|
|
|
public List<TranscodingSetting> Settings { get; set; }
|
|
|
|
public TranscodingProfile()
|
|
{
|
|
Settings = new List<TranscodingSetting>();
|
|
}
|
|
}
|
|
|
|
public class TranscodingSetting
|
|
{
|
|
public TranscodingSettingType Name { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public enum TranscodingSettingType
|
|
{
|
|
VideoLevel = 0,
|
|
VideoProfile = 1,
|
|
MaxAudioChannels = 2
|
|
}
|
|
|
|
public enum TranscodeSeekInfo
|
|
{
|
|
Auto = 0,
|
|
Bytes = 1
|
|
}
|
|
}
|