Page 1 of 1
Edimax IC-1500/IC-1500wg
Posted: Wed Jan 09, 2008 11:24 pm
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);
Why not MJPEG
Posted: Thu Jan 10, 2008 11:09 am
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)
Posted: Thu Jan 10, 2008 5:33 pm
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?
Re: Edimax IC-1500/IC-1500wg
Posted: Thu Jan 10, 2008 8:06 pm
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
Posted: Thu Jan 10, 2008 8:10 pm
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
Posted: Thu Jan 10, 2008 8:12 pm
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?
Posted: Thu Jan 10, 2008 8:18 pm
by cordel
Posted: Thu Jan 10, 2008 8:20 pm
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.
Posted: Thu Jan 10, 2008 8:35 pm
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?
Posted: Fri Jan 11, 2008 5:48 am
by cordel
Check the FAQ for how to get info from the backtrace.
http://www.zoneminder.com/wiki/index.ph ... do_I_do.3F
Posted: Fri Jan 11, 2008 9:11 am
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
Posted: Thu Jun 05, 2008 8:15 pm
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
Posted: Thu Oct 02, 2008 12:24 pm
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.
Split to make post more visable and trackaable
Posted: Sun Apr 26, 2009 10:12 pm
by cordel
Posted: Sun Feb 27, 2011 10:46 am
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