Edimax IC-1500/IC-1500wg

Post here to indicate any hardware you have used and which is known to work with ZoneMinder. Not for questions.
Post Reply
rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Edimax IC-1500/IC-1500wg

Post by rossmck »

This camera works great out of the box with ZM...

The following will give you two camera templates for the Edimax cameras;

Code: Select all

INSERT INTO MonitorPresets (Name,Type,Device,Channel,Format,Host,Port,Path,Width,Height,Palette,MaxFPS,Controllable) 
	VALUES('Edimax, 640x480','Remote',NULL,NULL,NULL,'admin:<password>@<ip>','80','/snapshot.jpg',640,480,4,10,0);
INSERT INTO MonitorPresets (Name,Type,Device,Channel,Format,Host,Port,Path,Width,Height,Palette,MaxFPS,Controllable) 
	VALUES('Edimax, 320x240','Remote',NULL,NULL,NULL,'admin:<password>@<ip>','80','/snapshot.jpg',320,240,4,10,0);
rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Why not MJPEG

Post by rossmck »

Can anyone suggest why this camera wont work with MJPEG with Zoneminder - /snapshot.jpg provides a static image and /snapshot.cgi provides an MJPEG stream which works fine in my web browser but NOT with ZoneMinder;

This is what it's sending from the camera;

Code: Select all

Server: GoAhead-Webs
Pragma: no-cache
Cache-Control: no-cache
Content-Type: multipart/x-mixed-replace; boundary="myboundary"

--myboundary
Content-Type: image/jpeg
Content-Length: 32713

<jpeg>
Which looks very similar to the output from my AXIS camera which works fine;

Code: Select all

Connection: Close
Server: Camd
Content-Type: multipart/x-mixed-replace; boundary=--myboundary

--myboundary
Content-Type: image/jpeg

<jpeg>


--myboundary
Content-Type: image/jpeg
Content-Length: 32432
<jpeg>
Any ideas?

These cameras aren't bad for £40 - but it'd be nice if I could use MJPEG instead... Also *occasionally* they seem to lose their connection to the network and so the daemon stops monitoring them for a bit (reports unreachable) but this may be my wireless network so im not jumping to any conclusions)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

id turn the debug up but im guessing its a non std jpg stream.
If you turn up debug and see what zm logs then. I assume you have tried reg exp on/off and http 1/1.1?
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
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: Edimax IC-1500/IC-1500wg

Post by cordel »

rossmck wrote:This camera works great out of the box with ZM...
rossmck wrote:Can anyone suggest why this camera wont work with MJPEG with Zoneminder
So my question, is this camera compatible or not?
Do I need to move this thread out of the compatibility topic?
Thx
rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Post by rossmck »

It works perfectly if you use the JPEG url above (/snapshot.jpg) ... that is just a static image but obviously ZM polls it (and it works great up to 10fps)

There's a motion jpeg feed at /snapshot.cgi - so far that *doesn't* work with ZoneMinder
rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Post by rossmck »

jameswilson wrote:If you turn up debug and see what zm logs then.
Sorry for the silly newbie question, but where do I set this?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Post by rossmck »

Thanks, it's worth mentioning that the MJPEG stream works fine with "Security Spy" on OSX ... so I'm assuming it can be made to work with ZoneMinder quite easily.
rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Post by rossmck »

Debug output is as follows;

Code: Select all

01/10/08 20:27:03.488294 zms[16212].DB3-zm_stream.cpp/58 [FPS:0.00, MXFPS:15, BFPS:0, EFPS:0, FM:1]
01/10/08 20:27:03.488320 zms[16212].DB3-zm_stream.cpp/65 [aEFPS:0, aFM:1]
01/10/08 20:27:03.488517 zms[16212].ERR-zm_signal.cpp/77 [Got signal (Floating point exception), crashing]
01/10/08 20:27:03.488629 zms[16212].ERR-zm_signal.cpp/89 [Signal address is (nil), from 0x80674df
]
01/10/08 20:27:03.488859 zms[16212].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms [0x80674df]]
01/10/08 20:27:03.488918 zms[16212].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms [0x80674df]]
01/10/08 20:27:03.488956 zms[16212].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms [0x804ae8f]]
01/10/08 20:27:03.488992 zms[16212].ERR-zm_signal.cpp/116 [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x15adec]]
01/10/08 20:27:03.489042 zms[16212].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms(__gxx_personality_v0+0x211) [0x804a301]]
01/10/08 20:27:03.489080 zms[16212].INF-zm_signal.cpp/117 [Backtrace complete]
Any suggestions?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Check the FAQ for how to get info from the backtrace.
http://www.zoneminder.com/wiki/index.ph ... do_I_do.3F
rossmck
Posts: 11
Joined: Wed Jan 09, 2008 11:03 pm

Post by rossmck »

Code: Select all

[root@fern ~]# addr2line -e /var/www/cgi-bin/nph-zms 0x80674df 0x804ae8f
/root/ZoneMinder-1.23.0/src/zm_monitor.cpp:3125
/root/ZoneMinder-1.23.0/src/zm_monitor.h:352
efisher
Posts: 1
Joined: Thu Jun 05, 2008 8:11 pm

Post by efisher »

rossmck wrote:

Code: Select all

[root@fern ~]# addr2line -e /var/www/cgi-bin/nph-zms 0x80674df 0x804ae8f
/root/ZoneMinder-1.23.0/src/zm_monitor.cpp:3125
/root/ZoneMinder-1.23.0/src/zm_monitor.h:352
Anyone find a solution for this? This is exactly what I'm seeing. I'm running on Centos 4.6 with ZM 1.23.3. It was working great with 1.22.3, but I get this everytime I try to visit the stream:

Code: Select all

06/05/08 13:09:51.305990 zms[18784].ERR-zm_signal.cpp/77 [Got signal (Floating point exception), crashing]
06/05/08 13:09:51.306132 zms[18784].ERR-zm_signal.cpp/89 [Signal address is (nil), from 0x806b085
]
06/05/08 13:09:51.306529 zms[18784].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms [0x806b085]]
06/05/08 13:09:51.306598 zms[18784].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms [0x806b085]]
06/05/08 13:09:51.306645 zms[18784].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms [0x804c218]]
06/05/08 13:09:51.306691 zms[18784].ERR-zm_signal.cpp/116 [Backtrace: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x626de3]]
06/05/08 13:09:51.306737 zms[18784].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/nph-zms(sinh+0x5d) [0x804b711]]
06/05/08 13:09:51.306783 zms[18784].INF-zm_signal.cpp/117 [Backtrace complete]

Code: Select all

# addr2line -e /var/www/cgi-bin/nph-zms 0x806b085 0x804c218 0x804b711
/usr/src/ZoneMinder-1.23.3/src/zm_monitor.cpp:3140
/usr/src/ZoneMinder-1.23.3/src/zms.cpp:278
??:0
MD
Posts: 3
Joined: Thu Oct 02, 2008 12:17 pm

Post by MD »

I'm also very much interested in getting ZoneMinder to work with MJPEG stream from Edimax IC-1500. If there are any tests that might help to diagnose the problem I'm willing to try them.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Split to make post more visable and trackaable

Post by cordel »

dan86
Posts: 1
Joined: Sun Feb 27, 2011 10:44 am

Post by dan86 »

Hi Guys,

Apologies for digging up an old post. I have a few of these IC-1500 wired IP cams and they continually crash which requires a hard reset.

Has anyone had this issue? If so is there a fix for it?

Daniel
Post Reply