Hi everybody
I've done a bit of poking around on this issue, but no dice. Hopefully someone can help me...
I need some way of detecting when the webcam on my computer is in use (actually it is an external camera connected via firewire). I would presume it would go along the lines of trying to open the webcam device, and if it fails, then the webcam is in use. That's a bit inelegant though - so is there a better way? Maybe something that can be done through bash scripts?
I like to work in pitch black, but I have a lot of Skype conversations. I'd like to have my home automation server fade up the lights in my studio when the webcam comes on. This is the only bit I haven't figured out.
Can you help?
thanks
O
I've done a bit of poking around on this issue, but no dice. Hopefully someone can help me...
I need some way of detecting when the webcam on my computer is in use (actually it is an external camera connected via firewire). I would presume it would go along the lines of trying to open the webcam device, and if it fails, then the webcam is in use. That's a bit inelegant though - so is there a better way? Maybe something that can be done through bash scripts?
I like to work in pitch black, but I have a lot of Skype conversations. I'd like to have my home automation server fade up the lights in my studio when the webcam comes on. This is the only bit I haven't figured out.
Can you help?
thanks
O