Using the Video Control
|Microsoft DirectShow 9.0|
This topic applies to Windows XP or later.
The Video Control is a lightweight ActiveX® control that gives Automation clients access to the powerful features of DirectShow. For the first time, you can write advanced television applications using Visual Basic or script languages.
The Video Control can be hosted in any ActiveX container, including a Visual Basic® form, a Web page running in Microsoft® Internet Explorer, or a Microsoft PowerPoint® presentation. Using the Video Control, you can:
- Play analog or digital TV broadcasts from a variety of network types, including analog, ATSC, and DVB.
- Create sophisticated mixing and blending effects using the Video Mixing Renderer.
- Create DVD-based applications.
- Create stream buffer applications.
- Play local video and audio files.
These tasks can be done with only a few lines of code. More importantly, this code can be neutral as to the network type. As new network types are supported, the application will automatically support them, without any changes to the application. This is possible because the tuning information is stored in Tune Request objects, which encapsulate network details. The application simply retrieves the tune request from whatever storage mechanism it uses, and submits the tune request to the Video Control.
- This section contains the following topics:
- Video Control Overview
- Tuning with the Video Control
- Using the Stream Buffer Engine with the Video Control
- TV Applications in C++ (Video Control)
- DVD Applications in Visual Basic (Video Control)