Hi everyone,
For some strange reason, I cannot stream two webcams for my application.
Here is the error I get, the graph cannot start:
And here is the setup code (I think this is all you’ll need to get the gist, it’s a basic application):
void ofApp::setup(){
ofToggleFullscreen();
ofBackground(250, 250, 250);
ofSetVerticalSync(true);
oculusRift.baseCamera = &ofcam;
cam.listDevices();
cam.setDeviceID(0); //right eye
cam2.listDevices();
cam2.setDeviceID(1); //left eye
cam.initGrabber(640,480);
cam2.initGrabber(640,480);
oculusRift.setup();
//enable mouse;
ofcam.begin();
ofcam.end();
//oculusRift.dismissSafetyWarning();
}
The draw method simply draws what the videograbber (currently does not work).
Both cameras work fine on AMCAP at the same time, I can stream the left and right at the same time.
I am running on Windows 7 64 bit, could this be the problem? It is the only lead I have on this so far.
Thanks in advance if someone can help!