This is a step by step tutorial for writing a simple video processing application in .NET by using VideoLab. The steps are exactly identical in C#, Visual Basic .NET, C++/CLI and J#.
There is no code writing necessary to complete this application.
There is no need to know C#, Visual Basic, J# or C++ in order to create this application.
The tutorial covers the following steps, which should take less than two minutes:
1. Add an AVIPlayer Component to Your Application's Form:
2. Add a FixedFilter Component to Your Application's Form:
3. Add an AVILogger Component to Your Application's Form:
4. Add 2 ImageDisplay Controls to Your Application's Form:
4.1 From the VideoLab tab add 2 ImageDisplay controls to the form:
4.2 Arrange your form to look like this:
5. Select file to play in the AVIPlayer Component:
5.1. Double-click on the aviPlayer1 component on the form:
5.2. Select a file to play, and click “Open”:
6. Connect the AVIPlayer.OutputPin to ImageDisplay1.InputPin and fixedFilter1.InputPin:
6.1. In the aviPlayer1 Properties select OutputPin and click on the button:
6.2. In the connection editor check the InputPin of the fixedFilet1 and InputPin of the imageDisplay1, then click OK:
7. Select filter type for the FixedFilter:
7.1. Double-click on the fixedFilter1 component on the form:
7.2. In the filter editor specify ftLaplace as filter type and fms5x5 as MaskSize:
8. Connect the fixedFilter1.OutputPin to imageDisplay2.InputPin and aviLogger1.InputPin:
8.1. In the fixedFilter1 Properties select OutputPin and click on the button:
8.2. In the connection editor check the InputPin of the aviLogger1 and InputPin of the imageDisplay2, then click OK:
9. Select file to record in the AVILogger Component:
9.1. Double-click on the aviLogger1 component on the form:
9.2. In the aviLogger1 Properties select the FileName property and enter the path and the name of the file where you want to record the processed video:
10.1 Press (F5) to run the application. You should see the video being processed:
Here is a diagram of the OpenWire connections in this application: