USB Camera: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
Line 17: Line 17:


  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

Revision as of 02:21, 8 September 2011

The camera

Logitech 1080P camera

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

The software

Zoneminder

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

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