public AdaptiveMuxWindow(MainForm mainForm) { InitializeComponent(); jobUtil = new JobUtil(mainForm); muxProvider = mainForm.MuxProvider; audioTracks[0].Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.AudioTypes.ValuesArray); subtitleTracks[0].Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.SubtitleTypes.ValuesArray); vInput.Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.VideoTypes.ValuesArray); }
public AdaptiveMuxWindow() : base(MainForm.Instance, null) { InitializeComponent(); muxProvider = mainForm.MuxProvider; audioTracks[0].Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.AudioTypes.ValuesArray); subtitleTracks[0].Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.SubtitleTypes.ValuesArray); vInput.Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.VideoTypes.ValuesArray); chapters.Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.ChapterTypes.ValuesArray); cbContainer.Visible = true; lbContainer.Visible = true; subtitleTracks[0].chkDefaultStream.CheckedChanged += new System.EventHandler(base.chkDefaultStream_CheckedChanged); base.muxButton.Click += new System.EventHandler(this.muxButton_Click); }
public AdaptiveMuxWindow(MainForm mainForm) : base(mainForm, null) { InitializeComponent(); jobUtil = new JobUtil(mainForm); muxProvider = mainForm.MuxProvider; audioTracks[0].Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.AudioTypes.ValuesArray); subtitleTracks[0].Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.SubtitleTypes.ValuesArray); vInput.Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.VideoTypes.ValuesArray); chapters.Filter = VideoUtil.GenerateCombinedFilter(ContainerManager.ChapterTypes.ValuesArray); cbContainer.Visible = true; lbContainer.Visible = true; subtitleTracks[0].chkDefaultStream.CheckedChanged += new System.EventHandler(base.chkDefaultStream_CheckedChanged); this.cbContainer.SelectedIndexChanged += new System.EventHandler(this.cbContainer_SelectedIndexChanged); }
public string GetMuxedInputFilter() { return(VideoUtil.GenerateCombinedFilter(GetSupportedContainerInputTypes().ToArray())); }
public string GetSubtitleInputFilter() { return(VideoUtil.GenerateCombinedFilter(supportedSubtitleTypes.ToArray())); }
public string GetChapterInputFilter() { return(VideoUtil.GenerateCombinedFilter(supportedChapterTypes.ToArray())); }
public string GetAudioInputFilter() { return(VideoUtil.GenerateCombinedFilter(supportedAudioTypes.ToArray())); }
public string GetOutputTypeFilter() { return(VideoUtil.GenerateCombinedFilter(supportedContainers.ToArray())); }