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