Tag: DirectShow

How to overlay a bitmap on top of video with Video Mixing Renderer (VMR-9)

A 100-lines code snippet which illustrates how a bitmap is overlaid over displayed video with Video Mixing Renderer 9 Filter using IVMRMixerBitmap9 interface. A video clip is played (default is Windows clock.avi, but you can replace it with your longer one to see overlay is really in a loop). http://code.assembla.com/…/VmrMixerBitmapSample01/… VMR9AlphaBitmap AlphaBitmap; ZeroMemory(&AlphaBitmap, sizeof AlphaBitmap);…

Read the full article

Another third party DirectShow filter that may break your very own application

One of the DirectShow’s most important features is Intelligent Connect, which allows Filter Graph Manager to build graphs out of independent filters trying to connect them together including options to fall back to originally non-preferred alternatives and so on. It is however important that filters are properly registered with the Filter Mapper. For the developers…

Read the full article

IAMGraphBuilderCallback and Intelligent Connect tuning

There was a question asked about how IAMGraphBuilderCallback interface is used to prevent from particular filter insertion during Intelligent Connect. First of all, there is sample code at The March Hare‘s website: The IAMGraphBuilderCallback class can be used to remove problematic dshow filters when building a graph with intelligent connect.  This sample does not provide…

Read the full article