UPDATE The free software Open IP Camera Manager was superseded by the software Simple and Open Webcam Management. Parts of the information below are still relevant for an installation on a Windows PC or Mac - for a detailed Installation Guide in Ubuntu follow this LINK.
Integration of your IP camera in Open IP Camera Manager
OIPCM is a server based Script to view and manage IP cameras. The newest version can always be found here!. In order to use PHP scripts you need a server system. For Windows and MacOS you can for example use XAMPP to run a server system locally:
After installation the control panel will be started and it will show you the successful start of your webserver.
Now please copy the OIPCM Data into a new folder in the htdocs folder of the XAMPP installation with the name OIPCM.
As the next step we have to configure the "ini" file for OIPCM:
In the camera ini the following parameters have to be defined:
<name> The name with which the camera will be shown in the software.
<dir> The folder in which the camera uploads the jpg pictures via FTP. For example "cam1" if you save the pictures as c:/xampp/htdocs/oipcm/cam1 .
<refresh> Refresh rate in [ms]
<delay> To make sure that no pictures will be used while they are still being uploaded there is a delay=1 set. This delay can also be increased. In our tests a delay of 3 showed the best results. This means that an array of pictures will be build so always the 4th picture will be used and the last 3 pictures will be used next.
<width> Picture width for example 640 Pixel
<height> Picture hight for example 480 Pixel
<imagebranding> Information that will be shown in the lower info bar of the live stream.
The camera manager uses the FTP upload folder which we have set on the server. So it does not access the camera directly. How you can set up a FTP server on your local computer we explain here and an explanation on how to set up the camera for continues FTP upload can be found here.
Other settings will be the access rights and limitations for the camera and some other parameters to archive the pictures.
All users, names, passwords and the group access rights will be saved in the user ini file.
Some more interesting files are class.cameraviewer.php in which, for example, with the Function createWatermark a timestamp can be created. The file style.css allows you to adjust the design so that it fits in with the rest of your website. The changes in the Layout (see below) can be done with only some clicks.
Now please make sure that the camera is uploading the pictures in the right folder - for example c:/xampp/oipcm/cam1. Therefore, please set the home dir of your FTP server to c:/xampp/oipcm (more information on how to set up the FTP server can be found here). After that we have to save the FTP server information in the camera in the menu Alarm - FTP settings (see below). Also we have to activate the continues picture upload (more details can be found here). Here you can also give every camera a separate upload folder (for example cam1).
If you now type in localhost/OIPCM (or 127.0.0.1/OIPCM) in the address bar of your web browser you will be forwarded to the login screen of your camera manager. Please log in with the Administrator Account which you have set in the ini.user.php to open the main page of the OIPCM.
In our sample we have integrated a IN-3011 IP camera. With one click on the name of the camera the live stream will be opened.