NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
geoff_sim
Oct 13, 2009Aspirant
USB Webcam and Motion add-on
Webcam support on the DUO
Download UVC Video Drivers
Download Motion Application
Video drivers has been tested on arm ReadyNAS with RAIDiator 4.1.10
UVCVideo is the magic behind it all, and will install a range of drivers that will hopefully recognise your webcam. I have allowed for up to two webcams to be connected (/dev/video0 & /dev/video1). Note however, that USB video processing is processor-hungry, so don't expect lightning performance! If you have any issues with camera detection, try stopping and starting the UVCVideo resource.
Motion is a fantastic program that is highly configurable, and can be tailored to suit most requirements. It can act as a simple snapshot system for a webpage; a video surveillance system; a time-lapse capture system; and much more. It uses ffmpeg (0.4.8) to create videos, and I have included mysql support.
When you install motion, a /c/media/motion folder will be created and three files will be placed into the folder: a simple motion.conf to allow motion to start-up; a distribution version, motion-dist.conf; and a text version of the unix man-page.
If you choose a different folder, and that folder does not contain an existing motion.conf file, un-modified versions of these three files will be placed there (an existing motion.conf file will not be over-written). Only the motion.conf file is required for motion to run.
The sample motion.conf file instructs motion to do three things: create a mini http webserver accessible via port 8085; capture any movement detected as an avi file, and store this movie along with a jpeg preview of the avi file, in an "images" folder.
You will need to modify motion.conf to suit your requirements. Please read the manual and web resources for more information.
Sample two-camera feed to my iPhone using the netcamviewer app.
Geoff.
(donations accepted)
Download UVC Video Drivers
Download Motion Application
Video drivers has been tested on arm ReadyNAS with RAIDiator 4.1.10
UVCVideo is the magic behind it all, and will install a range of drivers that will hopefully recognise your webcam. I have allowed for up to two webcams to be connected (/dev/video0 & /dev/video1). Note however, that USB video processing is processor-hungry, so don't expect lightning performance! If you have any issues with camera detection, try stopping and starting the UVCVideo resource.
Motion is a fantastic program that is highly configurable, and can be tailored to suit most requirements. It can act as a simple snapshot system for a webpage; a video surveillance system; a time-lapse capture system; and much more. It uses ffmpeg (0.4.8) to create videos, and I have included mysql support.
When you install motion, a /c/media/motion folder will be created and three files will be placed into the folder: a simple motion.conf to allow motion to start-up; a distribution version, motion-dist.conf; and a text version of the unix man-page.
If you choose a different folder, and that folder does not contain an existing motion.conf file, un-modified versions of these three files will be placed there (an existing motion.conf file will not be over-written). Only the motion.conf file is required for motion to run.
The sample motion.conf file instructs motion to do three things: create a mini http webserver accessible via port 8085; capture any movement detected as an avi file, and store this movie along with a jpeg preview of the avi file, in an "images" folder.
You will need to modify motion.conf to suit your requirements. Please read the manual and web resources for more information.

Geoff.
(donations accepted)
60 Replies
Replies have been turned off for this discussion
- hellbent1Aspirantis there not a newer version of the gspca library past 1.00.20? i did google gspca and found this -> http://packages.debian.org/search?searc ... ords=gspca
Pity, i'd love for my Cisco VT Advantage II cam (which is an oem branded Logitech 5000) to work. i googled that as well and found someone on a ubuntu forum -> http://ubuntuforums.org/archive/index.php/t-913832.html
I know i used to have some crappy logitech quickcam lying around but i'll be damned if i can find it. must have given it to my brother or something... - geoff_simAspirantYes, that's the newer uvc driver. I am in the process of getting that to work...
- hellbent1Aspirantexcellent! i look forward to an update
- sounds very neat on the boards, but i'll probably wait for the jedi's to stamp it approved before using it :oops:
- geoff_simAspirantI have now completed work on the uvc drivers. See http://linux-uvc.berlios.de/ for complete info. This suite of modules support a larger number of webcams than the GSPCA version.
I have also compiled and am testing the latest version of motion (supports uvc). See http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome for more info on this program.
I need now to sit on it all for a few week or so to see what problems if any arise. I already know that motion is quite processor hungry in streaming mode, so I will try all different settings to see how the readynas copes. I intend to test with 4 webcams running simultaneously (thats all I can dig up from my box of bits).
I will probably hold off on the add-ons until the moderators decide whether I can post in the correct forum...
GjS - benofishalAspirantWill this work on the NVX as it's x86 architecture? I am thinking of upgrading my Duo but worried about changing architecture and my addons not working.
- geoff_simAspirantQuick answer, no. DUO only (and NV/+ I believe)
- benofishalAspirantDo you intend to release a version for the NVX/Pro at any stage or is this not possible?
- geoff_simAspirantSorry, but no. I don't have an nvx or pro.
- hellbent1Aspirantany news?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!