PDA

View Full Version : another question with twoview on windows!


gxdhzs
May 18th, 2005, 12:58 PM
hi!
i have modify the Camera configuration like this:

"showDlg,flipV,deviceName=pci#ven_109&dev_036e&subsys_00000000&rev_11#&4&1f7dbc9f&0&00f0",
"showDlg,flipV,deviceName=pci#ven_109&dev_036e&subsys_00000000&rev_11#&4&1f7dbc9f&0&08f0",

but when i execute it ,appears an error window with the message "couldn't render capture stream"

At the console window appear the warning:

demoARSetupCamera(): Unable to open connection to camera 2
main(): Unable to setup 2 AR cameras
Quitting.....

djoele
May 18th, 2005, 03:15 PM
I think it?s because you try to use the same camera twice

gxdhzs
May 18th, 2005, 05:16 PM
i use the same type video, but they have the different camera devicename, the last number one is 00f0 the other is 08f0.

djoele
May 18th, 2005, 06:41 PM
Try to use this:

inputDevice=WDM_CAP,friendlyName=......
--------------------------------------------------------------------------

I got a question on using a video see-through HMD.
Has anyone tried that? Should I put something like
this?

vconf = cam1 from HMD, cam2 from HMD

Or how to do that? Can 2 the same cameras can be used at the same time or
does this give problems?
Or can this work if the cameras are connected through FireWire, because then
they are given their own id? But will this work if they are both connected through USB?

djoele
May 19th, 2005, 12:41 PM
gxdhzs, did you succeed in having the two cameras connected at the same time?

gxdhzs
May 19th, 2005, 02:41 PM
no, i think the program can do this. How can i connect two cameras at the same time?

thanks!

Marc
June 28th, 2005, 12:13 AM
Hello everybody,
I think I made it work:

The trick is
1)
to use graphedt.exe like described on

http://www.ims.tuwien.ac.at/~thomas/dsvideolib_doc.php

but then

2)
not to use the adresses from "VideoCaptureSources" but from "WDM StreamingCaptureSources"
.

My code looks like
char *vconfs[] = { // Camera configuration.
#if defined(_WIN32)
"inputDevive=WDM_CAP,deviceName=usb#vid_046d&pid_08b2&mi_00#7&1fefa21d&0&0000",
"inputDevive=WDM_CAP,deviceName=USB#VID_046D&PID_08B2&MI_00#6&1D510009&0&0000",

and does work.

Cheers

Marc

djoele
June 29th, 2005, 03:26 PM
At this moment we have 3 cameras connected at te same time.

1. An Infrared camera USB2.0
2. Logitect WebCam 4000 Pro
3. Creative Ultra NX

We get live video from the 3. But the video from the Creative is not constant.
What it does is that once in a while a part of the image is mirrored.
Not the complete image, but just a horizontal slice. And sometimes also the complete image is turned upside down.

Anybody who has had this appearing also? Or know what could be the problem? Perhaps 3 cameras is too much? Or would I need more computing power.

I?m using Windows2000, AMD Athlon2000, 256Mb Ram