How to Avoid Palette Flash During Playback of Video Overlays

Last reviewed: December 22, 1995
Article ID: Q135367
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) versions 3.5, 3.51, 4.0
  • Microsoft Video for Windows Development Kit (VfWDK) version 1.1

SUMMARY

Developers of multimedia titles that overlay background bitmaps with AVI (audio-visual interleaved) files are frequently surprised by what is often called "palette flash." The flash or palette re-realization can be eliminated with careful design and consideration during authoring.

MORE INFORMATION

The Windows Palette Manager attempts to satisfy the demands of the foreground window first (the AVI), and leaves background windows to contend for any unused palette entries. Windows that use identical palette entries do not flash, so the key is to author the background image and the AVI with the same palette. Incorporate the playback palette from the AVI into the background image. This works because most video Codecs (compressors and decompressors) can suggest optimal playback palettes.


Additional reference words: 4.00 1.10 3.50 dib
KBCategory: kbmm kbprg
KBSubcategory: MMVideo


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: December 22, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.