\r
[Description("MKV")]\r
Mkv,\r
-\r
- [Description("X265")]\r
- X265,\r
}\r
}\r
return OutputFormat.Mp4;\r
case "mkv":\r
return OutputFormat.Mkv;\r
- case "x265":\r
- return OutputFormat.X265;\r
}\r
}\r
\r
return "m4v";\r
case OutputFormat.Mkv:\r
return "mkv";\r
- case OutputFormat.X265:\r
- return "x265";\r
}\r
}\r
\r
case OutputFormat.Mkv:\r
profile.ContainerName = "av_mkv"; // TODO make part of enum.\r
break;\r
- case OutputFormat.X265:\r
- profile.ContainerName = "x265"; // TODO make part of enum.\r
- break;\r
}\r
\r
// Picture Settings\r
encoders.Remove(VideoEncoder.QuickSync);\r
}\r
\r
- if (task != null && task.OutputFormat != OutputFormat.X265)\r
- {\r
- encoders.Remove(VideoEncoder.X265);\r
- }\r
-\r
- if (task != null && task.OutputFormat == OutputFormat.X265)\r
- {\r
- encoders.Clear();\r
- encoders.Add(VideoEncoder.X265);\r
- }\r
-\r
return EnumHelper<VideoEncoder>.GetEnumDisplayValuesSubset(encoders);\r
}\r
\r
{\r
return new List<OutputFormat>\r
{\r
- OutputFormat.Mp4, OutputFormat.Mkv, OutputFormat.X265\r
+ OutputFormat.Mp4, OutputFormat.Mkv\r
};\r
}\r
}\r
case ".m4v":\r
this.SelectedOutputFormat = OutputFormat.Mp4;\r
break;\r
- case ".x265":\r
- this.SelectedOutputFormat = OutputFormat.X265;\r
- break;\r
}\r
}\r
}\r
case ".m4v":\r
this.SelectedOutputFormat = OutputFormat.M4V;\r
break;\r
- case ".x265":\r
- this.SelectedOutputFormat = OutputFormat.X265;\r
- break;\r
}\r
\r
this.NotifyOfPropertyChange(() => this.CurrentTask);\r