private void GenerateBatch_Impl() { // MessageBox.Show("WakariMashta"); // MessageBox.Show(Guid.NewGuid().ToString()); String BatchOutputBaseDir = Path.Combine(Properties.Settings.Default.ProjectDir, "ImageBatch"); String OutputDir = API_FS.RequestFolderRelativeToRootDir(BatchOutputBaseDir); // MessageBox.Show("WakariMashta:" + OutputDir); }
// STEP 1 private void GenerateImageBatch_Task() { String BatchOutputDir = API_FS.GetSpecialFolderPath(SpecialFolder.ImageBatch); CmdProcess Proc = new CmdProcess(Environment.CurrentDirectory); Proc.AddToQueue(@"VideoToImage.exe " + BatchOutputDir + " cap_video " + VideoPath + " " + FramesToDrop); Proc.ExecuteAndDispose(); // PowerShell_Process.Invoke("", "Scripts/SampleVideo.ps1", VideoPath); }