// JP opened flex table

Click to See Complete Forum and Search --> : Insert bitmap in Directshow filter


dnorric
November 8th, 2003, 02:20 AM
Hi all I want to be able to load a bitmap and insert it into a video stream using a filter i have created. In other words i want create a filter which passes the video signal but transforms it by inserting a loaded bitmap into the stream for a second then revert back to the video frame. I do not wish to use dirext9 i want to use directx 8 or 7 thankyou for your help
Cheers
Damian

galathaea
November 10th, 2003, 02:44 PM
Probably one of the more direct ways would be to write your own allocator-presenter to implement your own IVMRImagePresenter interface and configure for renderless mode. The DirectX 7 version draws on to a DirectDraw7 surface (as opposed to 9's use of Direct3D), so it should be pretty simple to alter what is rendered to the surface based on whatever criteria you supply.

//JP added flex table