Page 1 of 1

Webcam and motion

Posted: Thu Mar 07, 2013 9:30 pm
by ibanezmatt13
Hi,

I am using a Microsoft Lifecam HD3000 webcam to stream live images across a web server following the tutorial on the following link: http://pingbin.com/2012/12/raspberry-pi ... er-motion/

After doing everything on the tutorial I ran it and browsed to the url. As expected, the box came up where the image would be, but it was grey with a caption: "unable to open video device."

It must be something to do with the webcam even though it is listed on verified peripherals; does it still need drivers?

I am using the webcam program 'motion' to do this as outlined in the tutorial.

If somebody could address this issue, I would be very grateful.

Regards
Matt

Re: Webcam and motion

Posted: Sun Mar 10, 2013 5:19 am
by RomanG
Matt,

Motion is sometimes difficult to get going.
Did you try to just see if your camera can grab the image or stream the video without motion, with some other program?

Your camera is UVC compatible so you can try mjpg_streamer, very easy to set up, and it is very light on resources too.
http://sourceforge.net/projects/mjpg-streamer/

In fact, once you get it running, you can use it to grab the video stream from your camera and pipe it to motion for motion detection. It reduces CPU usage by about 10-15% when compared to motion alone (motion is doing video grabbing as well as motion detection).

Cheers,
Roman

Re: Webcam and motion

Posted: Sat Sep 05, 2015 2:19 pm
by BOOTSTRAP
Hi could someone please help.
I can view my rasp pi cam through the ip address online. How do I view it through the Rasp pi GUI without the internet? For example i click on Skype and the camera fires up on my laptop.
I'm using Motion and have a logitech HD 720p. I want to access the pi remotely and see the the camera once I've logged into it through the interface.
Can u view the feed through VLC?
Thanks for the help in advance
Bootstrap

Re: Webcam and motion

Posted: Fri Sep 11, 2015 3:53 am
by Shea
Hi, if you want to view the webcam live video with local desktop, just point the web browser to the webcam ip address, and port 8081, as default, like http://192.168.1.2:8081. The ip addess, and port no varies depending on your setup. To view the live webcam through external internet, you need to do firewall port forwarding, and know the ip address of your isp assigned to you.
You should be able to find all these info with motion documentation.