Jump to content
Sign in to follow this  

2 Webcam issue

Recommended Posts



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?


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


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.



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

Share this post

Link to post
Share on other sites

I think this issue is more related to Windows.

How can I change one of the device as #2.

I guess somewhere in the Registry or somewhere else.

I have no idea about this.

Anyone ??



Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.