Recently, my father had the task of trying to figure out how to view a webcam in surveillance mode. By that I mean that he wanted to hook up a webcam to his laptop out in his workshop at home, point it to anything that he wanted to monitor (CNC machine, battery charging monitor), and then view it from inside of his house on his desktop PC. Seems simple, right?
Since I don’t know jack about webcams, only having owned one for a short time in ‘97, I had to use “theory” in explaining to him how it might work. I threw out MSN Messenger (or Live…whatever they call it these days), Skype, NetMeeting, TightVNC, and VLC as starting points. Since I don’t own a webcam, trying to help someone who does was rather difficult for me.
Anyway, my father stopped by last night (with my mother, sister and her children for Halloween) and he brought his webcam along. I had been curious as to how openSUSE would treat an older usb webcam (Intel). So I plugged it in and of course nothing happened. A quick ‘dmesg’ in the terminal yielded a working usb device so I had hope. A quick 45 seconds on Google with the make and model of my webcam and operating system turned up a driver that was sitting on my openSUSE 10.3 DVD. So I installed the package and rebooted my computer for good measure.
We fired up VLC, went to File>Open Capture Device>Video4Linux tab and selected the “SECAM” device. BAM! I was looking at live video from the webcam. It worked and I was surprised that it was that easy.
We needed a WinXP machine for the next step. I grabbed my wife’s laptop since it is set up to dual-boot between WinXP and ubuntu. I fired up WinXP and then installed TightVNC. I already had my openSUSE box set up for remote connections. Once I logged into my openSUSE user account from the WinXP box using TightVNC, I fired up VLC and went to File>Open Capture Device>Video4Linux tab and selected the “SECAM” device again. And…it worked again! I just proved to myself and my father that you could make a remote connection to another computer with a webcam plugged in and see the video…live and in full screen…all inside of my network.
So that was my fun project for last night. I was impressed with openSUSE. I now wonder if it would have been this easy in ubuntu. I have a feeling that it would be. I aim to try because now I am curious. Linux just keeps getting better and better doesn’t it? And remember…I don’t know jack about webcams.