Webcam ID

For general discussion related FlowStone
Post Reply
philter5
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Webcam ID

Post by philter5 »

i am currently building a application using the "Webcam" Primitive from the toolbox.
when i leave the "webcam ID" field blank it selects the internal webcam of my laptop and it works.
but i want to use another,external USB webcam instead. but where can i find the related "webcam ID" for it
to make it work? another question i have : can i use 2 webcams at the same time in 1 FS project?
thx
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Webcam ID

Post by tester »

Check here, maybe this one tells something:
http://www.techspot.com/community/topic ... er.123880/
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: Webcam ID

Post by jjs »

Your internal laptop cam is ID 0
If you don't have a internal cam then your USB cam is ID 0.
If you have an internal and a USB cam then your usb cam is ID 1.

But you can also take a look via IP cam, but then you need an IP adress and tell the webcam module that it is IP.

I also had an idea but it is not possible with FS. To open the internal webcam with a prog on an other computer.
So i tried to use the network server on the pc with internal cam and a network client on an other pc. it does not work, becasue you can't send the webcam image.
At least i'm not succeeding with it.

What does work is working remote on your laptop on the same network, then you can use the internal cam and see what's happening.
philter5
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: Webcam ID

Post by philter5 »

hey jjs,
thx for the hint,i´ve thought the same and i allready tried that. doesn´t work.at least here. maybe it´s a hardware related problem (the webcam is a Herkules DualPix HD). when connect the USB Webcam to my desktopPC
it works using ID 0. the internal webcam of my laptop works using ID 0,too. but when i connect the USB webcam
to my laptop, it does not work with ID 1,same for ID 2,3,4.... i also tried to disable the internal cam in the windows hardware manager, but still the USB cam won´t work.
User avatar
tektoog
Posts: 141
Joined: Sat Oct 30, 2010 11:49 pm
Location: Geneva - Switzerland

Re: Webcam ID

Post by tektoog »

Hey philter5,
Try that... This is just a sketch but it should nevertheless help a bit...

Multi Webcam - (TekTooG).fsm
(9.24 KiB) Downloaded 1102 times

... I hope...
I got no trouble running 4 cams (Creative NX ultra) with XP...
"Essential random order for chaotic repetitive sequences"
philter5
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: Webcam ID

Post by philter5 »

thx tektoog i´ll try that when i am back at home later. ;)
philter5
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: Webcam ID

Post by philter5 »

hey tektoog thx for the schematic, it has not helped me to get my Herkules USB webcam working on my laptop
(i think it´s a hardware bug - other USB cams work fine when i connect them) but at least i have learned a few
things from your file! every time i worked with the webcam primitive, it always crashed after a few minutes and showed me a red dotted "feedback loop" line, but there was no loop! in the past i just connected a tick 25 through a trigger switch to the grab input and used the boolean in of the trig switch to switch the cam on/off....
Post Reply