Difference between revisions of "Edimax"
(Added two cameras) |
|||
| Line 21: | Line 21: | ||
Capture Height: 1024<br/> | Capture Height: 1024<br/> | ||
Note: I have not tested the WiFi-Version but according to the manual they are identical (except for the WiFi connectivity, of course). | |||
== Edimax IC1500 == | == Edimax IC1500 == | ||
Revision as of 06:59, 9 September 2014
Edimax IC3116W (WiFi IP Camera 720p)
I wasn't able to get it working with H.264 (the camera is dropping half of the images every few minutes -> Motion alert). However, it works fine with MJPEG. Overall, I have to say that the image is not too great and IR illumination is weak (compared to other cameras).
Source Type: Ffmpeg
Source Path: rtsp://XXX.XXX.XXX.XXX:554/ipcam_mjpeg.sdp?tcp
Target Colorspace: 24 bit
Capture Width: 640
Capture Height: 480
Edimax IC3110P/W (LAN/(WiFi) IP Camera 1,3MP, PoE, Nightvision)
Same problem as with the IC3116W when using H.264. Works fine with MJPEG. Image quality is nice - absolutely no complains, worth the price (abt 85 Euros in Germany).
Source Type: Ffmpeg
Source Path: http://XXX.XXX.XXX.XXX/mjpg/video.mjpg
Target Colorspace: 24 bit
Capture Width: 1280
Capture Height: 1024
Note: I have not tested the WiFi-Version but according to the manual they are identical (except for the WiFi connectivity, of course).
Edimax IC1500
The edimax IC 1500 delivers a strange form of motion jpeg with a little help from a little script on your webserver you should be able to view the motion jpeg stream in zoneminder:
<?php
function handlejpeg($jpeg) {
if(strlen($jpeg)) {
echo "--video boundary--\r\n";
echo "Content-length: ".strlen($jpeg)."\r\n";
echo "Content-type: image/jpeg\r\n";
echo "\r\n";
echo "$jpeg"."\r\n\r\n";
}
}
@ini_set('zlib.output_compression', 0);
@ini_set('implicit_flush', 1);
header('Content-Type: multipart/x-mixed-replace;boundary=--video boundary--');
$handle = fopen("http://admin:1234@<YOURHOST>/snapshot.cgi", "rb");
$cl=0;
$jpeg=NULL;
if ($handle) {
while (!feof($handle)) {
$buffer = fgets($handle, 4096);
if(trim($buffer)=="--myboundary") {
$CT=fgets($handle, 4096);
$CL=fgets($handle, 4096);
$crap=fgets($handle, 4096);
$cl=preg_replace("/Content-Length: /",'',trim($CL));
handlejpeg($jpeg,$i);
$jpeg=NULL;
for($j=0;$j<$cl;$j++) {
$jpeg.=fgetc($handle);
}
}
}
fclose($handle);
}
?>
http://www.zoneminder.com/forums/viewtopic.php?t=13587&highlight=cameras