DirectShow Sample Application: Real-Time Video Rotation
The Rotation sample demonstrates
how to use the MontiVision
Smart Control in Visual Basic for Applications (VBA),
here in Microsoft Word.
This and other sample applications can be found in the
MV Development Kit installation directory.
Filter Graph Summary
The sample application uses a video source filter, the MV Rotation filter for rotating
the live video and a Video Renderer to display the video
stream.
The Application
The application (Actually a Word document) contains a
MontiVision Smart
Control used to display the live video. It uses
the MV
VideoSourceComboBox, MV VideoSizeComboBox
and MV
SelectInputComboBox controls to select and configure the
video source. The rotation angle applied to the video stream
by MV
Rotation is controlled by the slider control.
In order to modify the sample, turn Macros off when Word loads
the document. Turn Macros on if you like to run the sample
application.
|