how are cameras numbered?

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
g2c
Posts: 16
Joined: Fri Mar 06, 2009 1:15 pm

how are cameras numbered?

Post by g2c »

Hello,

in the file yawcam_settings.xml, the camera receives a number e.g "1" below.
<void property="cam">
<int>1</int>
</void>


My question is how this number relates to the list in setting>device>change to? Is the number assigned to the cam a constant one?

Thanks in advance for your time,

Guy
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Re: how are cameras numbered?

Post by z3r0c00l12 »

I'm guessing that the Camera ID is simply the order in which they are reported to Yawcam by the Video for Windows service.
g2c
Posts: 16
Joined: Fri Mar 06, 2009 1:15 pm

Re: how are cameras numbered?

Post by g2c »

z3r0c00l12 wrote:I'm guessing that the Camera ID is simply the order in which they are reported to Yawcam by the Video for Windows service.
Thanks, is there a way to interactively query this service?
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Re: how are cameras numbered?

Post by z3r0c00l12 »

I don't know of a very good way of checking this.

I've seen some Powershell code here:
http://gallery.technet.microsoft.com/sc ... 378599fac9

I also saw some AutoIt code here:
http://www.autoitscript.com/forum/topic ... ebcam-udf/
g2c
Posts: 16
Joined: Fri Mar 06, 2009 1:15 pm

Re: how are cameras numbered?

Post by g2c »

z3r0c00l12 wrote:I don't know of a very good way of checking this.

I've seen some Powershell code here:
http://gallery.technet.microsoft.com/sc ... 378599fac9

I also saw some AutoIt code here:
http://www.autoitscript.com/forum/topic ... ebcam-udf/
My concern is that the instences do not always use the cam I defined: cam 1 may jump from one to another cam
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Re: how are cameras numbered?

Post by z3r0c00l12 »

I've seen that happen, number 1 will be associated to a different cam if you have more or less cameras plugged in to your pc than the last time you started Yawcam.
Post Reply