Exemple #1
0
 private void btnCheckDuration_Click(object sender, EventArgs e)
 {
     txtDuration.Text = VideoFileApi.ExtractDuration(txtPathToInput.Text);
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 private void btnCheckFrameRate_Click(object sender, EventArgs e)
 {
     txtFramerate.Text = VideoFileApi.ExtractFramerate(txtPathToInput.Text);
 }
Exemple #4
0
 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);
 }