Hi there. Just trying to get one of these cameras working.
I'm using the japanese SMID jpeg library and I am having trouble trying to read mjpeg streams. I haven't tried it with the conventional JPEG lib just yet.
The system works using the url /still.jpg but not with video.cgi
10/03/07 11:03:21.570948 zmc_m1[7630].DB3-zm_remote_camera.cpp/536 [Returning 41462 (41525) bytes of captured content]
10/03/07 11:03:21.571230 zmc_m1[7630].ERR-zm_jpeg.c/37 [Not a JPEG file: starts with 0x0c 0xb2]
This is the error I get. Somehow before I used wget and mplayer -demux 33 to play the stream, so I think it is mjpeg compliant.
What is the next step to debug the problem?
grandtec ip camera III - mjpeg works?
yipee it works!
Ok.
I got it working. The problem is well the firmware is buggy and it can't handle too many connections to the /still.jpg path. The camera just dies after a while.
I'm using 1.7EU firmware. The Grandtec.com.tw site is down, and the other localities site's are pathetic. There is meant to be a 2.1 2.2 version of the firmwear out there, but I won't download it from an untrusted source.
The solution is to add the patch here: http://www.zoneminder.com/forums/viewtopic.php?t=7028.
Debug logs were telling me that the jpeg file was corrupt. The data was not, just the regular expression used wasn't properly matching the end of the field with this buggy ipcam firmware. (not mime compliant subheaders).
I suggest the change to that regular expression go into the next release as it shouldn't break compatibility with other cameras / existing function with regex on.
I am only getting 4.5 fps when the advertisement promised 15fps at VGA resolution. Is it skipping frames? I'll check the actual framerate using netcat tomorrow.
Use HTTP 1.0 not 1.1 or you will get errors. Of course regex has to be on for this one after you have patched the source. The only reliable method with these cameras based on my experience is the mjpeg connection, as the zmc daemon keeps respawning when using still jpegs. Use user:pass@ip-addr:8888/video.cgi as the url.
On a 1.8GHZ pentium I get 7% cpu utilization using the smid jpeg library. You can multitask on a zoneminder system. I should be able to add another 3-4 camera's & 640x480 and still let if have web browsing capability!
I got it working. The problem is well the firmware is buggy and it can't handle too many connections to the /still.jpg path. The camera just dies after a while.
I'm using 1.7EU firmware. The Grandtec.com.tw site is down, and the other localities site's are pathetic. There is meant to be a 2.1 2.2 version of the firmwear out there, but I won't download it from an untrusted source.
The solution is to add the patch here: http://www.zoneminder.com/forums/viewtopic.php?t=7028.
Debug logs were telling me that the jpeg file was corrupt. The data was not, just the regular expression used wasn't properly matching the end of the field with this buggy ipcam firmware. (not mime compliant subheaders).
I suggest the change to that regular expression go into the next release as it shouldn't break compatibility with other cameras / existing function with regex on.
I am only getting 4.5 fps when the advertisement promised 15fps at VGA resolution. Is it skipping frames? I'll check the actual framerate using netcat tomorrow.
Use HTTP 1.0 not 1.1 or you will get errors. Of course regex has to be on for this one after you have patched the source. The only reliable method with these cameras based on my experience is the mjpeg connection, as the zmc daemon keeps respawning when using still jpegs. Use user:pass@ip-addr:8888/video.cgi as the url.
On a 1.8GHZ pentium I get 7% cpu utilization using the smid jpeg library. You can multitask on a zoneminder system. I should be able to add another 3-4 camera's & 640x480 and still let if have web browsing capability!
grandtecs are screwey
Grandtec cameras seem to have issues some [most] days.
I can get 15fps on low / medium quality, other days i get .5 fps. I haven't quiet figured out with experimentation what settings cause it to work and which ones don't. I haven't even been able to get it do 5fps again on high quality.
I've tested with wget and sed to count FPS. It's the camera which has it's slow days. It seems to always work fast on low quality, but they quality is only good enough for making mpeg's.
Has anyone ever upgraded the firmware on a grandtec webcam?
I can get 15fps on low / medium quality, other days i get .5 fps. I haven't quiet figured out with experimentation what settings cause it to work and which ones don't. I haven't even been able to get it do 5fps again on high quality.
I've tested with wget and sed to count FPS. It's the camera which has it's slow days. It seems to always work fast on low quality, but they quality is only good enough for making mpeg's.
Has anyone ever upgraded the firmware on a grandtec webcam?