Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / direct show problem

Author
Message
Doc Phil
17
Years of Service
User Offline
Joined: 23rd Jan 2007
Location:
Posted: 28th Feb 2007 18:51
I have a directshow application and I would like to use it in DB Pro. Currently I use Styx to intialise a COM DLL which displays a video (it's actually from a webcam but I have a custom directshow graph that does some image processing on it before it is displayed). I would like to get this video into darkbasic. Currently I can do either:

1. display the video in a seperate window
2. Pass my code the window handle for the DB window and draw the video using Directshow video render. This sort of works but when DB repaints it paints over the video creating a flickering effect.

My two ideas are either stop DB repainting over video but I don't know how or ideally display the video on DB surface.

Does anyone have any ideas how either of these might be done? Or if its even possible?

Login to post a reply

Server time is: 2024-11-22 17:22:28
Your offset time is: 2024-11-22 17:22:28