Video Edit Gold SDK ActiveX

Video Edit Gold SDK ActiveX 19.0

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

For Windows Developers who need to Cut Videos,  Merge Videos , Split Videos and more Video Editing features with C#, Vb.Net Winforms WPF, VB6, Delphi, Vfp, Adobe Director, MS Access, C++ .

VB6 - How to preview the video frame by frame

Step 1: To install the Video Edit Gold SDK, begin by launching the setup file (videoeditgoldsetup.exe). Select the desired installation folder for the Video Edit Gold SDK ActiveX and continue with the installation on your development computer.

Step 2:  Launch Visual Basic 6.0. Select  New Project, Select  Standard EXE.

 

Step 3:  Select Project - References... , Select Video Edit Gold ActiveX Control



Step 4:  Now you will see the Video Edit Gold SDK ActiveX display on toolbar.


Step 5:  Drag Video Edit Gold SDK ActiveX  on form and add two buttons, one scrollbar, two buttons, two textboxs and two label, the UI like the following screen, 



Step 6: 
 In Load button click event, add the following code

Private Sub Command1_Click()

'Change this to the path of your mp4 file

VideoEdit1.FrameLoadVideo "c:yourfolderyourfile.mp4"

txttotalframe = VideoEdit1.FrameGetFrameCount

HScroll1.Max = VideoEdit1.FrameGetFrameCount
End Sub

Step 7:  In Play button click event, add the following code
Private Sub Command2_Click()
VideoEdit1.FramePlay
End Sub

Step 8:  In Scroll bar change event, add the following code

Private Sub HScroll1_Change()
VideoEdit1.FramePause
VideoEdit1.FrameSeek HScroll1.Value
txtcurframe.Text = HScroll1.Value
End Sub

Step 9:  In Scroll bar Scroll event, add the following code

Private Sub HScroll1_Scroll()
VideoEdit1.FramePause
VideoEdit1.FrameSeek HScroll1.Value
Me.txtcurframe.Text = HScroll1.Value
End Sub

Step 10:  In Video Edit Gold ActiveX Control 's OnFrameChange event, add the following code

Private Sub VideoEdit1_OnFrameChange(ByVal iFrame As Long)
txtcurframe.Text = iFrame
End Sub

Step 11: Now run the project and click Load button, you may use Scroll bar step by step the frames.




Download this sample source code.