[SOLVED]Aviosys 9060-I and Rimax IPcam 7100
Posted: Wed Nov 26, 2008 4:09 pm
hi,
I got these two cams and I found out that one can get a snapshot from it using this url:
http://<ip>/snapshot.jpg?account=<user>&password=<password>
this works for both cams and it works fine in any browser and via wget on console.
If I set zoneminder's monitor to use a snapshot I downloaded before it shows that if you open the monitor view. So far the cameras seem to deliver correct jpegs.
Thus if you set the monitor to be of type remote with the ip as url
and the rest as path
and corret image size and colour depth all you get to see is a black image.
If you enable extra debug the debug log says that it got an unrecognised content type " and as a follow up of that its unable to capture this monitor.
And this is what I don't understand..wget and any browser detects that this is of content: image/jpeg or something like that and dls it or displays it correctly. So why on earth does zoneminder run into such issues here?
In fact the reason is that the camera doesn't ship the correct content type. Browser seem to ignore this and though display the pic while Zonemidner doesn't. The only way to work around this was to patch and recompile Zoneminder. Since a colleague of mine did that I don't yet have any docs about it.
However I could provide a debian package for 64bit systems (built on ubuntu 8.10 server 64bit) if anyone needs it.
Since our system is 64bit there currently is no 32bit package.
cheers
Sebastian
cheers
Seastian
I got these two cams and I found out that one can get a snapshot from it using this url:
http://<ip>/snapshot.jpg?account=<user>&password=<password>
this works for both cams and it works fine in any browser and via wget on console.
If I set zoneminder's monitor to use a snapshot I downloaded before it shows that if you open the monitor view. So far the cameras seem to deliver correct jpegs.
Thus if you set the monitor to be of type remote with the ip as url
and the rest as path
and corret image size and colour depth all you get to see is a black image.
If you enable extra debug the debug log says that it got an unrecognised content type " and as a follow up of that its unable to capture this monitor.
And this is what I don't understand..wget and any browser detects that this is of content: image/jpeg or something like that and dls it or displays it correctly. So why on earth does zoneminder run into such issues here?
In fact the reason is that the camera doesn't ship the correct content type. Browser seem to ignore this and though display the pic while Zonemidner doesn't. The only way to work around this was to patch and recompile Zoneminder. Since a colleague of mine did that I don't yet have any docs about it.
However I could provide a debian package for 64bit systems (built on ubuntu 8.10 server 64bit) if anyone needs it.
Since our system is 64bit there currently is no 32bit package.
cheers
Sebastian
cheers
Seastian