Jump to content

2 Webcam issue


Recommended Posts

Hi,

I am experimenting with the "2 Webcam" script listed here

Ref: http://www.autoitscript.com/forum/index.ph...ebcam&st=30

When running the script, I get a Pop-Up asking me to select the "Video Source".

Is there any way to eliminate this pop-up?

Background:

(1) I am using 2 webcams from 2 different manufacturers.

(2)

DllCall($user, "int", "SendMessage", "hWnd", $cap1[0], "int", $WM_CAP_DRIVER_CONNECT, "int", X, "int", 0)

In the above line, I tried changing the value of "X" from 0 to 1, 2, 3, 4 etc.

But for all non-Zero values, I got a Blank BLACK image.

And for X=0, I get a popup Video Source selection screen.

This makes me think that both Webcams are Device # 0.

As I understand, the script finds 2 devices attached to # 0 and hence gives a pop-up asking me to select one of them.

Is there any way I can manually change one of the webcam to # 1 in the Windows OS (Windows XP Prof) ?

OR any other way to prevent the pop-up Video Source Selection?

Any help here....

Thank you.

regards,

Vai

PS: I have tried with 2 Webcams from the same company and 2 webcams from different companies.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...