Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Frank Pedersen on November 12, 2003, 12:39:26 PM

Title: wm and webcam on SME 5.x ?
Post by: Frank Pedersen on November 12, 2003, 12:39:26 PM
Hello all SME nerds ;o)

Dos anyone know if there exitst any contribs for SME 5.x that can add a windows manager ore just the libs to run a webcam ? Itryed many times my self putting it up bud I allways run in to problems with wrong versions and dependencies :o/ ufff

I realy would like to have my cams up running on the SME cus im do tyred of using and extra server just for that purpuse.

/Frank
Title: Re: wm and webcam on SME 5.x ?
Post by: Frank Pedersen on November 12, 2003, 12:58:43 PM
I forgot, is a logitech pro 4000 cam.

/FrankFrank Pedersen wrote:
>
>
> Hello all SME nerds ;o)
>
> Dos anyone know if there exitst any contribs for SME 5.x that
> can add a windows manager ore just the libs to run a webcam ?
> Itryed many times my self putting it up bud I allways run in
> to problems with wrong versions and dependencies :o/ ufff
>
> I realy would like to have my cams up running on the SME cus
> im do tyred of using and extra server just for that purpuse.
>
> /Frank
Title: Re: wm and webcam on SME 5.x ?
Post by: Lothar Maier on November 12, 2003, 03:33:54 PM
Hi Frank,
you have to do the following 2 steps:

1. Install your cams. If you have real webcams with own ip's there ist nothing to install. If you got some type of usb-cam you have to add the drivers. For example for a  cam with ov511 chip you have to add the following line to /etc/modules.conf

alias char-major-81 ov511

To test a driver manually, enter 'modprobe ov511' for this cam.

For each camera connected control /proc/video/dev/video0 .. N for working drivers.  

2. Install some software. I like 'motion' from http://motion.sourceforge.net/. It's easy to configure and compiles under SME with devtools installed. The output should be directed to an ibay.

--
   Lo
Title: Re: wm and webcam on SME 5.x ?
Post by: Lothar Maier on November 12, 2003, 03:37:44 PM
Hi Frank,
this looks like a philips cam. You have to look at http://www.smcc.demon.nl/webcam/ for drivers.
--
   Lo
Title: Re: wm and webcam on SME 5.x ?
Post by: Frank Pedersen on November 12, 2003, 03:43:14 PM
ok thanks I'll give it a try once again :O)

Frank

Lothar Maier wrote:
>
> Hi Frank,
> this looks like a philips cam. You have to look at
> http://www.smcc.demon.nl/webcam/ for drivers.
> --
>    Lo
Title: Re: wm and webcam on SME 5.x ?
Post by: NTBlade on November 12, 2003, 06:39:25 PM
Lothar Maier wrote:
> 2. Install some software. I like 'motion' from
> http://motion.sourceforge.net/. It's easy to configure and
> compiles under SME with devtools installed. The output should
> be directed to an ibay.

Please could you maybe give some more details on motion?  I've been trying on and off to install it on SME for ages but got nowhere.  I always had trouble compiling it as I never seemed to be able to install the dev tools and the required libs correctly.

I have a four port video capture card and I also have a creative USB webcam to try.

www.zoneminder.com looks very good too.

Hope you can help
Thanks
NTB

PS
I'm about to do a fresh install of 6.0ß3
Title: Re: wm and webcam on SME 5.x ?
Post by: Lothar Maier on November 12, 2003, 11:36:49 PM
To compile motion i used ./configure --without-pgsql (motion 3.06, SME 5.6 with actual Updates).
--
   Lo
Title: Re: wm and webcam on SME 5.x ?
Post by: Noz on November 26, 2003, 03:32:43 PM
I've managed to install the dev tools for 6.0 and got an error when I ran ./configure.  Which I fixed by linking libjpeg.so > libjpeg.so.62.0.0 in /usr/lib.  I can run ./configure without any errors now but if I run make I get:

[root@test motion]# make
gcc -g -O2 -DHAVE_MYSQL -Wall -DVERSION=\"3.0.7\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o picture.o picture.c
picture.c:14:21: jpeglib.h: No such file or directory
make: *** [picture.o] Error 1

Any ideas anyone?

Thanks
-N