Microsoft DirectX 9.0

DVD Applications in Visual Basic (Video Control)

This topic applies to Windows XP Service Pack 1 only.

Microsoft® DirectShow® provides several objects to control DVD playback. These include the MSWebDVD object, the MSVidWebDVD object, and the DVD Navigator filter. The recommended object is the MSVidWebDVD object, which provides all the capabilities of the MSWebDVD object, but is used in tandem with the Video Control which provides a range of additional abilities.

All DVD control objects actually use the DVD Navigator filter behind the scenes to access and control the DVD player. But unlike DVD Navigator filter, the MSVidWebDVD object handles mouse clicks and automates graph building. And unlike MSWebDVD, MSVidWebDVD is associated with the Video Control, to allow digital and analog television tuning as well as broadcast IP data services, all in the same screen space. This document describes the Microsoft Visual Basic® control of this object.

The MSVidWebDVD object operates in tandem with the MSVidCtl Microsoft ActiveX® control (also called the Video Control), and together they provide analog and digital television tuning, broadcast IP data services, file playback, and DVD playback for video or karaoke discs. MSVidCtl and MSVidWebDVD can be embedded in a Windows form or Web page, and can be controlled with Visual Basic, HTML scripting, or C++ in Microsoft Foundation Class or ATL forms.

To create the MSVidWebDVD object, you need Microsoft Windows XP and a DVD decoder installed on your computer. Currently, most codecs are suitable for either DVD play or digital television tuning, but not both. You cannot simultaneously register multiple codecs to handle both, so you may have to unregister existing codecs to register a DVD-capable codec that works with the Video Mixing Renderer. Although there is not now a method to determine if your codec is correct, a good rule of thumb is to use only Windows Hardware Quality Labs (WHQL) certified codecs. If you register a new video codec, be sure to uninstall the older codec by using regsvr32 with the /u command line switch.

This section contains the following topics:

See Also