Skip to main content
GameDev.net gamedev.net
🔒 Locked

cvcam question

Started by Thinsereg Apr 6, 2005 at 7:56 AM 0 replies 1.7k views
Original Post
Thinsereg
Thinsereg
Hi, I am trying to use cvcam window and opengl window together, but i dont want cvcam window to appear on the screen.. Even not in the background. I looked all through the library and tried all things that can be done in a simple cvcam progam (like commenting out cvcamSetProperty(0, CVCAM_PROP_WINDOW, &hwnd); function etc.) but couldn't find a way.. Any suggestions? Thank you
XXX_Andrew_XXX
XXX_Andrew_XXX
I got frustrated with cvcam after a while, and I ended up writing a simple wrapper around the DirectShow API. When the filtergraph is assembled I add the camera, a customised version of the Microsoft grabber filter and a null renderer filter to the graph and manually connect the pins to ensure that DirectShow doesn't try to add any extra filters.

Although it was a lot of hassle, the code I wrote is very similar to the DirectX samples (playcap and videocap), but after recently looking into cvcam again, I was glad I made the effort.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.