public void TestConvertSample4() { var convertFile = new PandaVideoConv(); // set the output prop convertFile.OutputFolder = _outputPath; convertFile.WorkingFolder = _outputPath; convertFile.SelectedDevice = _device; convertFile.AnalyseFile(Path.Combine(_samplesPath, SAMPLE_FILE11)); // Test what we found Assert.IsTrue(convertFile.ConvertFile()); }
public void TestConvertSample10() { var convertFile = new PandaVideoConv(); // set the output prop convertFile.OutputFolder = _outputPath; convertFile.WorkingFolder = _outputPath; convertFile.SelectedDevice = (IOutputDevice) new DeviceXBox360(); Assert.IsTrue( convertFile.AnalyseFile(Path.Combine(_samplesPath, SAMPLE_FILE8)), "Should have been okay"); // Test what we found Assert.IsTrue(convertFile.ConvertFile()); }
public void TestConvertSubtitlesSample() { var convertFile = new PandaVideoConv(); // set the output prop convertFile.OutputFolder = _outputPath; convertFile.WorkingFolder = _outputPath; convertFile.SelectedDevice = _device; convertFile.EncodeSubtitles = true; Assert.IsTrue( convertFile.AnalyseFile(Path.Combine(_samplesPath, SAMPLE_FILE14)), "Should have been okay"); // Test what we found Assert.IsTrue(convertFile.ConvertFile()); }
public void TestConvertSample70() { var convertFile = new PandaVideoConv(); // set the output prop convertFile.OutputFolder = _outputPath; convertFile.WorkingFolder = _outputPath; convertFile.SelectedDevice = _device; convertFile.AnalyseFile(Path.Combine(_samplesPath, SAMPLE_FILE12)); List <AudioTrack> audList = convertFile.GetAudioTracks(); convertFile.SelectedAudioTrack = audList[0]; // Test what we found Assert.IsTrue(convertFile.ConvertFile()); }