View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 37 posts ] 
Go to page Previous  1, 2, 3

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Jul 24, 2008 7:21 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

I don't see the typo you refer to but then again, the visual aquity isn't as good as days gone by :)

There is one piece of information that is missing which is how to allow zm to run at boot. I don't mine to run unless I start it as other wise it is wasting resources that may be better serving com flagging or something.

Yes, zoneminder does work with usb cams, ip cams also however usb cams are limited to ~16 feet without an extender and I don't have any expensive ip cameras. I do have a couple of used $15 dollar b/w composite video cams that require the use of a capture card, i.e., bttv878 typically is used. A $50 bluecherry bttv card gives you four ports which would be very nice to setup around the house for those "weekends away" helping to justify the life of your KM box to the other half.

The whole issue for me is I can't seem to get over / around / or through getting the system to accept the bttv cards in any form. There is somethng missing / broken with the supporting v4l driver module which also kills my "older" Hauppauage bttv tuner card also.

I haven't tried it yet however since F27 works very well with the bttv chip, I am considering a try at installing zm on a F27 install. Just the days aren't long enough to get everything done.

That is the highlights.
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 24, 2008 7:29 pm 
Offline
Joined: Thu Mar 15, 2007 9:26 pm
Posts: 39
missing an E in zoneminder ;)

from what i've been reading, zm does not support v4l2, which is in current kernels.
I downloaded the zoneminder livecd (it's a bit old and based on mandriva) and it works fine, i'm diging through the config to see if there is anything different i can find.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 24, 2008 7:51 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

You are a hot dog! :) Totally missed it!

The livecd zm is ver 1.22.2 (installable also) and KM has ver 1.22.3. You should know that Cecil only gives us the best available. I don't think that the situation is zm not supporting v4l2 but rather v4l2 not supporting the bttv878. zm is just looking for a video0 to be available to grab images from.

But I don't want to have to run two computers just to use a feature that my KM box can handle gracefully by itself. So the trick is to figure out what is needed to be able to use the bttv878.

Thanks
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 01, 2008 5:59 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
been watching these threads for a while. Thinking man this is pretty neat stuff for some of my tinkering.
Now I have R5.5 running and over the summer my mom left me with a fish tank in her room.
I have an SBE/FE in that room for TV.

I would like to be able to setup a webcam on that tank and have it presented if at all possible through a the mythtv web page, so she can see her fish.

First I have been reading on the ZM site, and I am thinking it may be possible since one of the settings is to just monitor no record, etc.

Do you have to enable ZM on both the SBE and the MBE for that to work?
I am thinking yes, but I can't find any details on that.

I know the webcam (Logitech QuickCam) works as I can get a whole bunch of snapshots in Motion.

Thoughts?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 01, 2008 7:49 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
The R5.5 is ok with the usb web cams, should be good for the ip cameras also but I don't have one so can't be possitive. Only the machine that has the camera connected would need ZM running. Use the little link I posted earlier to make it work.

Then to access it, <ip>/zm

Once zm is running, you can have it export a snapshot.

And to have it always start on boot, simply use webmin to check the yes box then start on boot. :)

It will run without a camera so you can see what it looks like. That was why I didn't do the /etc/init.d stuff to turn it on all the time. Figured if folks got that far they would either know what to do or ask.

ZM is definetly cool, play with the last live cd and you will see where the creators of zm left no stone unturned!

A friend just a day ago was asking about something maybe in the Linux world as he was upset to find a 5 foot garden hose sticking out of his gas tank one morning. ZM is his solution in preparation for the next time. I think he is a beliver in the penguin now :)

Using motion, you can enable the streaming server and it comes up on port 8081. Just watch out so you don't get 10,000 images saved along the way! Over a certain amount, it is more difficult to clean them out using just rm
Have a good time, enjoy!
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 02, 2008 6:01 pm 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
well I got it working on my MBE.
I can view the camera that is installed there through the ZM console.

I also found that if I start mythzmserver then I can view the camera in any of my front ends that point to the MBE where the server is running.

My system is configured as Linhes.

What I need to do next is get ZM running on one of my Backends and have that work in the console or through mythzmserver.

When I tried to start Zoneminder on the remote unit with
Code:
/etc/init.d/zoneminder start


I got
Code:
Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqldd.sock' (111) at /usr/share/perl5/ZoneMinder/Config.pm line 89


it gave me an error not being able to find MySQL. I figured that was correct since MySQL doesn't run on my Slave backends. only on the MBE. Well I located the file it was using for it's .conf.
Code:
/usr/share/perl5/ZoneMinder/Config.pm


I did a nano and changed that to point to my MBE.

Now I do an
Code:
/etc/init.d/zoneminder start


That worked, although now I get this error when I execute ZM
Code:
DBI connect('database=zm;host=10.0.0.25','zmuser',...) failed: Access denied for user 'zmuser'@'mythtv_sbe2' (using password: YES) at /usr/share/perl5/ZoneMinder/Config.pm line 89


So it would seem that I need to figure out how to grant my sbe access to the zm db.

I did that under mysql.txt per the linhes instructions but I am guessing this is a different database I need to allow access to.

Not sure if I am on the correct track here. I mean am I going at in the light or will I still be in the dark[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 03, 2008 7:30 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
I believe it has it's own mysql table to use so would also expect it to have it's own usr / passwd for that table. Just a guess on my part.

Mike


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ] 
Go to page Previous  1, 2, 3



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu