public void TestMethod1() { mp4boxSharp.mp4BoxSharpSync mp4boxSync = new mp4boxSharp.mp4BoxSharpSync(); var sourcelist = new List <Uri>(); sourcelist.Add(new Uri(getDirectoryOfAssembly() + "\\source1.mp4")); sourcelist.Add(new Uri(getDirectoryOfAssembly() + "\\source2.mp4")); Assert.IsTrue(mp4boxSync.concatMp4s(sourcelist, new Uri(testContextInstance.ResultsDirectory + "\\TestOutput.mp4"))); }
private void buttonStartSyncConcatination_Click(object sender, EventArgs e) { List <Uri> destinations = new List <Uri>(); foreach (var item in openFileDialog1.FileNames) { destinations.Add(new Uri(item)); } richTextBoxLogSync.Clear(); if (mp4boxSharp.concatMp4s(destinations, new Uri(textBoxDestinationSync.Text))) { richTextBoxLogSync.Text += "Succsess\n"; } else { richTextBoxLogSync.Text += "Failed\n"; richTextBoxLogSync.Text += mp4boxSharp.standardError + "\n"; } }