private void btnCheckDuration_Click(object sender, EventArgs e) { txtDuration.Text = VideoFileApi.ExtractDuration(txtPathToInput.Text); }
private void btnAssemble_Click(object sender, EventArgs e) { VideoFileApi.CombineDirectoryUsingFramerate(txtPathToExtractedInput.Text, txtPathToOutput.Text, txtFramerate.Text); //VideoFileApi.CombineDirectoryUsingLength(txtPathToExtractedInput.Text, txtPathToOutput.Text, txtDuration.Text); //VideoFileApi.CombineDirectoryUsingLengthAndStartAndNumerOfFrames(txtPathToExtractedInput.Text, txtPathToOutput.Text, txtDuration.Text, 1, 571); }
private void btnCheckFrameRate_Click(object sender, EventArgs e) { txtFramerate.Text = VideoFileApi.ExtractFramerate(txtPathToInput.Text); }
private void btnExtract_Click(object sender, EventArgs e) { VideoFileApi.ExtractFrames(txtPathToInput.Text, Path.Combine(txtPathToExtracted.Text + "\\", Path.GetFileNameWithoutExtension(txtPathToInput.Text))); VideoFileApi.ExtractSound(txtPathToInput.Text, Path.Combine(txtPathToExtracted.Text + "\\", Path.GetFileNameWithoutExtension(txtPathToInput.Text))); txtFramerate.Text = VideoFileApi.ExtractFramerate(txtPathToInput.Text); }