Ticker Sample
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Description
This sample uses the Video Mixing Renderer to blend video and text. It uses the IVMRMixerBitmap9 interface to blend text onto the bottom portion of the video window.
The application creates a bitmap with a default text string and scrolls it across the bottom of the screen. To change the text, choose Set text string... from the Ticker menu. To set the font, choose Set font... from the Ticker menu. If you select Use static image from the Ticker menu, the application switches from a dynamic text string to a static bitmap image.
Downloading the Sample
To download the DirectShow SDK samples, install the latest version of the Windows SDK.
Related topics