Condividi tramite


Using the Video Control

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Note

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.

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