2014-03-23 12:42:02 -04:00
|
|
|
|
|
2014-03-13 15:08:02 -04: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-17 21:45:41 -04:00
|
|
|
|
|
2014-03-22 20:48:34 -04:00
|
|
|
|
public bool EstimateContentLength { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
|
|
|
|
|
|
|
2014-03-23 12:42:02 -04:00
|
|
|
|
public TranscodingSetting[] Settings { get; set; }
|
2014-03-17 21:45:41 -04:00
|
|
|
|
|
|
|
|
|
|
public TranscodingProfile()
|
|
|
|
|
|
{
|
2014-03-23 12:42:02 -04:00
|
|
|
|
Settings = new TranscodingSetting[] { };
|
2014-03-17 21:45:41 -04:00
|
|
|
|
}
|
2014-03-23 12:42:02 -04:00
|
|
|
|
|
|
|
|
|
|
public bool EnableMpegtsM2TsMode { get; set; }
|
2014-03-17 21:45:41 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class TranscodingSetting
|
|
|
|
|
|
{
|
|
|
|
|
|
public TranscodingSettingType Name { get; set; }
|
|
|
|
|
|
public string Value { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum TranscodingSettingType
|
|
|
|
|
|
{
|
2014-03-24 13:54:45 -04:00
|
|
|
|
VideoProfile = 0
|
2014-03-22 20:48:34 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum TranscodeSeekInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
Auto = 0,
|
|
|
|
|
|
Bytes = 1
|
2014-03-13 15:08:02 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|