You Can Improve Video Playback by Using DirectVideo

Last reviewed: September 5, 1997
Article ID: Q147658
1.00 WINDOWS kbmm kbprg kbwebcontent

The information in this article applies to:

  • Microsoft Game SDK version 1.0

DirectVideo is designed to provide transparent video playback speed improvements with video cards offering DirectDraw support. Video playback applications do not require recompilation because DirectVideo does not introduce any new APIs; DirectVideo is simply an MCIAVI draw handler that uses DirectDraw. Draw handlers are responsible for drawing the stream data, as demonstrated in the MCIPUZZL sample found in the Win32 Software Development Kit.

DirectVideo is available only from independent video board manufacturers who distribute it with their hardware and hardware-specific drivers. Application developers will benefit from DirectVideo as new video boards hit the market that offer the key capabilities listed below.

The hardware improvements that DirectVideo makes available include:

  • Overlay support for true color video, even on the primary display surface.
  • Hardware stretching of full screen videos, even on slow CPUs.
  • Reduced tearing. Tearing refers to instances in which the top portion of the video image (from the last frame) remains visible during construction of the next frame image. Using DirectDraw, DirectVideo can determine which scan line the monitor's electron gun is building up, and selectively hold the new frame. Then, when the electron gun is within the upper region of the video image the new frame is rendered.


Additional reference words: 1.00 DirectX overlay direct video dvideo.dll
custom draw handler proc procedure stream
KBCategory: kbmm kbprg kbwebcontent
KBSubcategory: MMVideo
Keywords : MMVideo kbmm kbprg kbwebcontent
Technology : kbDirectXSDK
Version : 1.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.