Using an MV1000

Post here to indicate any hardware you have used and which is known to work with ZoneMinder. Not for questions.
Post Reply
User avatar
nigelgiddings
Posts: 14
Joined: Sat Oct 29, 2005 10:48 am

Using an MV1000

Post by nigelgiddings »

Guys,

I am having trouble configuring Zoneminder to view images from an MV1000.

I have a USB camera connected to the ZM Server which appears to be working fine.

I have configured:
ZM_OPT_USE_AUTH to yes
ZM_AUTH_METHOD to yes
ZM_NETCAM_REGEXPS to yes
ZM_HTTP_VERSION to 1.1
ZM_OPT_REMOTE_CAMERAS to yes
ZM_WEB_REFRESH_METHOD to Javascript
ZM_VIDEO_STREAM_METHOD to JPEG
ZM_VIDEO_LIVE_FORMAT to asf
ZM_OPT_MPEG to No

The monitor is set to:
Function = MoDetect
Run Mode = Continuous
Source Type = Remote
Remote Host Name = 192.168.xxx.xxx
Remote Host Port = 80
Remote Host Path = /user/pstill4.jpg
Remote Image Colours = 8 Bit Greyscale
Max Frames Per Second = 2.0

I have also tried from other remote devices, outside of the LAN, with no success but I don't have full access to these so may have wrong settings.

I can view the internal 'remote' (192.168.xxx.xxx/user/pstill4.jpg ) camera images using IE6.

Any help appreciated as I have a limited time and need to find a working solution...

TIA

Nigel

PS Should mention I used the CTU ISO to install...
Linux Newbie...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Is the image you are getting back from the MV1000 really greyscale? I suspect not, even if it looks black and white, it's probably encoded as a colour jpeg. Also make sure you have the width and height of the image and the monitor set to the same values. Finally, check /var/log/messages for anything that might reveal any useful error messages.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you should be able to enter the details you provided

ip = 192.168.xxx.xxx

path=/user/pstill4.jpg

when you view via webpage is it a activex control or just an image?

and excuse my ignorance but whats an mv1000
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
nigelgiddings
Posts: 14
Joined: Sat Oct 29, 2005 10:48 am

Post by nigelgiddings »

Here is the contents of /var/log/messages

Nov 6 04:02:27 camera syslogd 1.4.1: restart.
Nov 6 04:02:26 camera zmc_m3[2585]: ERR [Select timed out]
Nov 6 04:02:58 camera last message repeated 16 times
Nov 6 04:03:50 camera last message repeated 26 times
Nov 6 04:03:52 camera crond(pam_unix)[2767]: session closed for user root
Nov 6 04:03:52 camera zmc_m3[2585]: ERR [Select timed out]
Nov 6 04:04:23 camera last message repeated 15 times
Nov 6 04:04:41 camera last message repeated 9 times
Nov 6 04:04:41 camera zmc_m1[3332]: INF [Debug Level = 0, Debug Log = <none>]
Nov 6 04:04:41 camera zmc_m1[3332]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Nov 6 04:04:43 camera zma_m1[3334]: INF [Debug Level = 0, Debug Log = <none>]
Nov 6 04:04:43 camera zmc_m3[2585]: ERR [Select timed out]
Nov 6 04:04:43 camera zma_m1[3334]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Nov 6 04:04:45 camera zmc_m3[2585]: ERR [Select timed out]
Nov 6 04:05:17 camera last message repeated 16 times
Nov 6 04:06:19 camera last message repeated 31 times
Nov 6 04:07:21 camera last message repeated 31 times
Nov 6 04:08:23 camera last message repeated 31 times
Nov 6 04:09:25 camera last message repeated 31 times
Nov 6 04:10:09 camera last message repeated 22 times
Nov 6 04:10:11 camera zmc_d0[880]: INF [USB: 53000 - Capturing at 1.99 fps]
"/var/log/messages" 2347L, 159694C 1,1 Top

I did have the camera set to Greyscale when the MV1000 is capable of Colour (yes it is a B/W camera). I also had the size set to 320x240 when it is in fact 384x288... accoriding to the properties shown with a right click in both IE6 and Firefox. It also appears to be a pure JPG as there is no mention of active X in the properties and I haven't added Active X to Firefox, can't say for the IE6 install.

Details of the MV1000 are here. it was a cheap IP camera interface. Not the fastest but I have used with webpages and a trial version of Active Webcam.
http://www.automatedhome.co.uk/modules. ... ery=mv1000

Thanks for the quick rersponse

Nigel
Linux Newbie...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There are a couple things in there. The shmget one will usually go away if you restart after changing things. But I think that might have gone away already judging by the logs. The other issue is that you seem to be getting timeouts on the image retrieval. Try increasing Options->Network->ZM_HTTP_TIMEOUT to maybe 5000 (5 seconds) for now. You might also want to try using http 1.0 rather than 1.1 in the first instance.

Phil
User avatar
nigelgiddings
Posts: 14
Joined: Sat Oct 29, 2005 10:48 am

MV1000. it's working...

Post by nigelgiddings »

Well Guys,

It's working...

I made the changes, picture size and colour rather than greyscale and no improvement.

I then restarted zm through the console and it is now working...

I'll be adding a few more cameras to see how I get on.

Thanks again

Nigel, now very happy...
Linux Newbie...
JimNoble
Posts: 58
Joined: Thu Jul 29, 2004 12:12 am

Re: MV1000. it's working...

Post by JimNoble »

nigelgiddings wrote: I then restarted zm through the console and it is now working...
I'll be adding a few more cameras to see how I get on.
Thanks again
Nigel, now very happy...
How did you get on with adding extra cameras?

I'm using my MV1000 again temporarily as my IP camera threw a wobbly and refused to work. It's only got 1 camera currently, but past experience suggests it starts to struggle with more than 2 or so...

Jim
User avatar
nigelgiddings
Posts: 14
Joined: Sat Oct 29, 2005 10:48 am

Post by nigelgiddings »

Hi Jim,

It does work, in a fashion.

I have two MV1000's one with 4 cameras which is very flaky and another with 1 camera which seems more stable...

I have the cameras set to 0.5 fps to try to help but even then it is still a problem. It's a real shame as I like to use dedicated H/W when possible and I only paid £50 each as well....

Nigel
Linux Newbie...
Post Reply