2014-03-18 01:45:41 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2014-03-13 19:08:02 +00:00
|
|
|
|
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; }
|
2014-03-18 01:45:41 +00:00
|
|
|
|
|
2014-03-23 00:48:34 +00:00
|
|
|
|
public bool EstimateContentLength { get; set; }
|
|
|
|
|
|
|
|
|
|
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
|
|
|
|
|
|
2014-03-18 01:45:41 +00:00
|
|
|
|
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
|
|
|
|
|
{
|
2014-03-23 00:48:34 +00:00
|
|
|
|
Profile = 0,
|
|
|
|
|
MaxAudioChannels = 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum TranscodeSeekInfo
|
|
|
|
|
{
|
|
|
|
|
Auto = 0,
|
|
|
|
|
Bytes = 1
|
2014-03-13 19:08:02 +00:00
|
|
|
|
}
|
|
|
|
|
}
|