Very late reply...
I ran into the same issue when using the wandcam.
I did find that disconnecting the wandcam and plugging in a usb camera (Microsoft Lifecam in my case),
I was able to get video, but I changed the demo program a bit...
#include "opencv/highgui.h
int
main(int argc, char** argv)
{
cvNamedWindow( "Example2", CV_WINDOW_AUTOSIZE );
CvCapture* capture = cvCreateCameraCapture(-1) ;
IplImage* frame;
while(1) {
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( "Example2", frame );
char c = cvWaitKey(33);
if( c == 27 ) break;
}
cvReleaseCapture( &capture );
cvDestroyWindow( "Example2" );
return(0);
}
cvCreateCameraCapture() doesn't like CV_CAP_ANY, but seems to be happy with -1
(which is supposed to query the user for the camera to use).
Anyway, has anyone managed to get wandcam to work without gstreamer?
Ed