public void MergeVideos() { if (!this.CanPerformMerge()) { return; } ////TODO: Merge the Videos this._videoFiles = ValueRetriever.GetVideoFiles(this.Directory); if (this._videoFiles.Count == 0) { MessageBox.Show($@"No Files Found Inside of: {this.Directory}"); return; } ValueRetriever.GetVideoDurations(this._videoFiles); //// This auto updates the List Objects this.MergeTogetherVideos(); }
public void SplitVideos() { if (!this.CanPerformSplit()) { return; } this._timeInterval = ValueRetriever.GetTimeInterval(); this._videoFiles = ValueRetriever.GetVideoFiles(this.Directory); if (this._videoFiles.Count == 0) { MessageBox.Show($@"No Files Found Inside of: {this.Directory}"); return; } ValueRetriever.GetVideoDurations(this._videoFiles); //// This auto updates the List Objects this._videoFiles.ForEach(singleFile => { this.SplitVideoIntoChunks(singleFile, this._timeInterval); }); }