- profile.ContainerName = "av_mp4"; // TODO make part of enum.\r
+ job.ContainerName = "av_mp4"; // TODO make part of enum.\r
break;\r
case OutputFormat.Mkv:\r
- profile.ContainerName = "av_mkv"; // TODO make part of enum.\r
+ job.ContainerName = "av_mkv"; // TODO make part of enum.\r
break;\r
}\r
\r
// Picture Settings\r
- profile.Anamorphic = work.Anamorphic;\r
- profile.Cropping = new Cropping { Top = work.Cropping.Top, Bottom = work.Cropping.Bottom, Left = work.Cropping.Left, Right = work.Cropping.Right };\r
- profile.CroppingType = CroppingType.Custom; // TODO deal with this better\r
public static Geometry CreateGeometry(EncodeJob job, Title title, KeepSetting keepWidthOrHeight) // Todo remove the need for these objects. Should use simpler objects.\r
+ encodeTask.PreviewEncodeStartAt = this.SelectedPreviewImage; // TODO 0 and 1 mean the same. Need to fix this as it knocks the video out of sync with the still preview.\r