| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-24-2011, 05:33 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Rep:
|
Zone Minder USB Web Cam Not working
Hi,
I am wanting assistance with getting Zoneminder working under ubuntu 11.04.
I have ran the install and setup the settings via http://ipaddress/zm
added the camera re instructions.
I cannot view anything via Zone Minder.
Cam is a Logitech Pro 5000
Any help would be greatly appreciated.
Regards
Blair
|
|
|
|
05-24-2011, 05:34 AM
|
#2
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
|
|
|
|
05-24-2011, 05:36 AM
|
#3
|
|
Member
Registered: Feb 2008
Distribution: Slackware
Posts: 570
Rep: 
|
For that camera you can't just plug it into ZoneMinder directly.
You have to first install MJPEG-Streamer (formerly uvc_streamer) which can stream the image over the network, and then you have to configure ZoneMinder to access it as a remote camera URL with a loopback address.
|
|
|
|
05-24-2011, 05:41 AM
|
#4
|
|
Member
Registered: Feb 2008
Distribution: Slackware
Posts: 570
Rep: 
|
I ought to add - trust me on this I did this only a couple of weeks ago. Specifically with ZoneMinder and a Logitech QuickCam Pro 5000. Works beautifully.
|
|
|
|
05-25-2011, 01:39 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
Hi,
Thanks alot for that
I am not a great Linux admin but would like some help to install this.
Located:
mjpg-streamer-r63.tar.gz
copied to "/streamer"
hence cd /
mkdir streamer
cd streamer
Extract file:
tar xvf mjpg-streamer-r63.tar.gz
apt-get install make
Now this is where I get lost?
Can you assist to make this simple for me and how this is installed.
Many thanks
Blair
|
|
|
|
05-25-2011, 01:42 AM
|
#6
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
Extracted to:
/usr/src/mjpg-streamer-r63/
Contents:
CHANGELOG LICENSE Makefile mjpg_streamer.c mjpg_streamer.h plugins README start.sh utils.c utils.h www
Ran:
sh start.sh
Error:
start.sh: 28: ./mjpg_streamer: not found
Also tried to setup the camera as 127.0.0.1 and still no image
I am rather lost from here now sorry ..
Cheers
Blair
Last edited by nztech; 05-25-2011 at 02:39 AM.
|
|
|
|
05-25-2011, 04:48 AM
|
#7
|
|
Member
Registered: Feb 2008
Distribution: Slackware
Posts: 570
Rep: 
|
Read the README.
It explains everything.
|
|
|
|
05-26-2011, 01:50 AM
|
#8
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
Hi,
CMD:
root@ubuntu:/mjpg-streamer# tar xzvf mjpg-streamer-r63.tar.gz
Went through the readme and had the following issues:
root@ubuntu:/mjpg-streamer# cd mjpg-streamer-r63/
root@ubuntu:/mjpg-streamer/mjpg-streamer-r63# make clean all
make -C plugins/input_uvc clean
make[1]: Entering directory `/mjpg-streamer/mjpg-streamer-r63/plugins/input_uvc'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory `/mjpg-streamer/mjpg-streamer-r63/plugins/input_uvc'
make -C plugins/input_testpicture clean
make[1]: Entering directory `/mjpg-streamer/mjpg-streamer-r63/plugins/input_test picture'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory `/mjpg-streamer/mjpg-streamer-r63/plugins/input_testp icture'
make -C plugins/output_file clean
make[1]: Entering directory `/mjpg-streamer/mjpg-streamer-r63/plugins/output_fil e'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory `/mjpg-streamer/mjpg-streamer-r63/plugins/output_file '
make -C plugins/output_http clean
make[1]: Entering directory `/mjpg-streamer/mjpg-streamer-r63/plugins/output_htt p'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory `/mjpg-streamer/mjpg-streamer-r63/plugins/output_http '
make -C plugins/output_autofocus clean
make[1]: Entering directory `/mjpg-streamer/mjpg-streamer-r63/plugins/output_aut ofocus'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory `/mjpg-streamer/mjpg-streamer-r63/plugins/output_auto focus'
make -C plugins/input_gspcav1 clean
make[1]: Entering directory `/mjpg-streamer/mjpg-streamer-r63/plugins/input_gspc av1'
rm -f *.a *.o core *~ *.so *.lo
make[1]: Leaving directory `/mjpg-streamer/mjpg-streamer-r63/plugins/input_gspca v1'
rm -f *.a *.o mjpg_streamer core *~ *.so *.lo
gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -c -o mjpg_streamer.o mjpg_streamer.c
mjpg_streamer.c:27:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make: *** [mjpg_streamer.o] Error 1
Ran:
root@ubuntu:/mjpg-streamer/mjpg-streamer-r63# export LD_LIBRARY_PATH=.
Ran:
root@ubuntu:/mjpg-streamer/mjpg-streamer-r63# ./mjpg_streamer -o "output_http.so -w ./www"
-bash: ./mjpg_streamer: No such file or directory
root@ubuntu:/mjpg-streamer/mjpg-streamer-r63# ls
CHANGELOG LICENSE Makefile mjpg_streamer.c mjpg_streamer.h plugins README start.sh utils.c utils.h www
Can you assist with these?
Kind Regards
Blair
|
|
|
|
05-26-2011, 02:57 AM
|
#9
|
|
Member
Registered: Feb 2008
Distribution: Slackware
Posts: 570
Rep: 
|
You don't have the videodev.h file in your kernel headers.
In Slackware this file is installed in the kernel-headers package. In any other distro I don't know.
|
|
|
|
05-26-2011, 11:53 PM
|
#10
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
Hi,
Can you please guide me with this?
Re: videodev.h file install?
This is not an easy feat in Linux.....
Cheers
Blair
|
|
|
|
05-27-2011, 09:59 AM
|
#11
|
|
Member
Registered: Feb 2008
Distribution: Slackware
Posts: 570
Rep: 
|
Why don't you at least tell me/us what distribution and version you are running?
|
|
|
|
05-27-2011, 04:54 PM
|
#12
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
Oh I should sorry - Is Ubunbtu Server 11.04 32-bit.
Cheers
Blair
|
|
|
|
05-31-2011, 04:26 AM
|
#13
|
|
LQ Newbie
Registered: Aug 2009
Posts: 10
Original Poster
Rep:
|
Has anyone managed to get Ubuntu and ZoneMinder working?
Any help additional here would be great if you can assist to resolve this issue as not resolved.
Is it possible firstly and has anyone managed to do this before.
Regards
Blair
|
|
|
|
05-31-2011, 06:32 AM
|
#14
|
|
Member
Registered: Feb 2008
Distribution: Slackware
Posts: 570
Rep: 
|
Go to the Ubuntu forums and ask there where you can find a package containing videodev.h. Or google for it. It's probably something with a -dev extension, i.e. v4l-dev.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|