Page 1 of 1

windowless ActiveX stream

Posted: 28 Jan 2006 18:30
by hyperbit
Hi

I managed to add the ActiveX control(0.8.4) to a Visual C++ project without any problems at all. Thanks for making this simple.

What I need to do for my application, is to *not* have the activeX window present on the screen, but to be able to get the images into a buffer instead. I will then process this buffer directly, and render myself.

From the API supplied, this is not possible. However, I can see in the source code of one of the nightly builds (0.8.5) that there is a function called "getPicture()". Ive never had any experience with cygwin or mingw, and my workload is so high, I dont have the time at the moment to learn how to cross compile.

Before anyone suggests that I hide the render window and grab the bitmap, I cant as the context is hidden (I have tried!)


Any help *greatly* appreciated.

Thanks in advance

John

Posted: 01 Feb 2006 01:41
by tonsofpcs
What if rather than hiding it, you leave it visible but put something in front of it.

Posted: 03 Feb 2006 10:43
by hyperbit
If I put something(a window) infront of it, and grab the bitmap I seem to grab the bitmap of the window that is in front of it.

Posted: 04 Feb 2006 17:04
by tonsofpcs
Have you looked through the VLC source code?

Posted: 04 Feb 2006 18:11
by hyperbit
Actually Ive only looked at the ActiveX source code, trying to find where the ActiveX gets the images, but am failing miserably. Im an embedded developer not a windows developer, and Im finding this rather difficult.

Any pointers *greatly* appreciated