Microsoft DirectX 9.0 |
Description
This sample uses the Video Mixing Renderer to blend video and text. It uses the IVMRMixerBitmap (or IVMRMixerBitmap9) interface to blend text onto the bottom portion of the video window.
The text is drawn onto a bitmap, which is then blended with the video. The text string updates automatically every two seconds, or you can advance the text by pressing the space bar. To adjust the font of the text, choose Set font... from the Text menu.
Two versions of this sample are available, one for the VMR-7 and one for the VMR-9.
VMR-7
Source: (SDK root)\Samples\C++\DirectShow\VMR\Text
Executable: (SDK root)\Samples\C++\DirectShow\Bin\Text.exe
VMR-9
Source: (SDK root)\Samples\C++\DirectShow\VMR9\Text
Executable: (SDK root)\Samples\C++\DirectShow\Bin\Text9.exe
See Also