USB Camera: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== The camera ==
== The camera ==


Logitech 1080P camera
[http://www.logitech.com/en-us/webcam-communications/webcams/devices/hd-pro-webcam-c910 Logitech HD Pro Webcam C910]


Shows up as
Shows up as
Line 8: Line 8:
  [ 392.420616] input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1a.7/u
  [ 392.420616] input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1a.7/u
sb1/1-3/1-3.1/1-3.1:1.2/input/input6
sb1/1-3/1-3.1/1-3.1:1.2/input/input6
/dev/video0


== The software ==
== The software ==


[http://www.zoneminder.com/ Zoneminder]
Cheese and VLC are two of my favorites for testing the camera to confirm it works.


Lots to install before we can build on Ubuntu 11.04 --
ffmpeg is supposed to be good too.
I wonder what it does with all this stuff. Must be impressive.


Motion is supposed to do what I want - monitor a camera for movement and record movies if it sees something.
[http://www.zoneminder.com/ Zoneminder] is web - based and very complicated.
  sudo apt-get install ffmpeg libmp3lame-dev libjpeg8-dev libavcodec-dev
  sudo apt-get install ffmpeg libmp3lame-dev libjpeg8-dev libavcodec-dev
  sudo apt-get install apache2 libapache2-mod-php5
  sudo apt-get install libapache2-mod-auth-mysql mysql-client apache2 libapache2-mod-php5 php5-mysql
sudo apt-get install mysql-client libmysqlclient-dev libgnutls-dev
  sudo apt-get install zoneminder
  sudo apt-get install libdatetime-perl libdate-manip-perl
wget http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Sys-Mmap-0.15.tar.gz
tar xzf Sys-Mmap-0.15.tar.gz
cd Sys-Mmap-0.15
perl Makefile.PL
make
sudo make install
 
Downloaded from http://www.zoneminder.com/downloads
Configured with
./configure --with-libarch=lib64 --with-mysql=/usr --with-ffmpeg=/usr  --with-webdir=/var/www --with-cgidir=/usr/lib/cgi-bin --enable-mmap=yes

Latest revision as of 02:50, 8 September 2011

The camera

Logitech HD Pro Webcam C910

Shows up as

[ 392.407890] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821)
[ 392.420616] input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1a.7/u

sb1/1-3/1-3.1/1-3.1:1.2/input/input6

/dev/video0

The software

Cheese and VLC are two of my favorites for testing the camera to confirm it works.

ffmpeg is supposed to be good too.

Motion is supposed to do what I want - monitor a camera for movement and record movies if it sees something.

Zoneminder is web - based and very complicated.

sudo apt-get install ffmpeg libmp3lame-dev libjpeg8-dev libavcodec-dev
sudo apt-get install libapache2-mod-auth-mysql mysql-client apache2 libapache2-mod-php5 php5-mysql
sudo apt-get install zoneminder