HTML Video Surveillance
in English | [[{{{de}}}|deutsch]] | [[{{{fr}}}|français]] | по-русски | автоперевод | [[{{{cn}}}|中文版]] | 机械翻译
Temporary download URL
http://sourceforge.net/project/showfiles.php?group_id=105686&package_id=138717&release_id=358392
Contents
Requirements
- Elphel cameras
- GNU/Linux any distro
- X-Window system
- Mozilla or FireFox
- GenReS plugin
- Perl with perl threads
- MPlayer with RTSP support with elphel patch
Install
- Install all required components
- Configure Mozilla to support codebase principal: add next string to prefs.js: user_pref("signed.applets.codebase_principal_support", true); See about: http://www.mozilla.org/projects/security/components/signed-scripts.html
- Configure video surveillance page
- Start streamers in multicast mode
- Open file index.html in FireFox or Mozilla
- Answer "Yes" on question about priveleges for javascript
Configure
Edit file cameras.js
Each array top-, left-, right-, bottom_cam contains several or zero quoted IP addresses or DNS names of cameras to view.
Timeout is time in seconds for waiting frames from cameras.
Dragreverce changes the behavior when you drag video in main window.
Usage
Page Elements
The page is divided on several frames. Each is generated based on cameras.js config file. In common case, it is 4 peripheral frames with small live video pictures.
top frame | ||
left frame | central window | right frame |
control frame | ||
bottom frame |
Each peripheral frame can be hidden if the config file does not contain corresponding javascript array. The peripheral frames, if presented, have fixed sizes. Top and bottom frames have height of 199 pixels. Left and right frames have width of 256 pixels. Other space is given to the central window. For example if you have 1280x1024 display, the page can contain 5 small pictures in the top and bottom frames. Also, if both top and bottom frames are presented, left and right frames with 3 pictures in each and total maximum number of cameras will be 16. Or you can configure the page to have 5 pictures in one side at the top, bottom, left or right.
Mouse Control
Click on small pictures to see it in the central window. Click on different part of small picture scrolls video in central window.
Scroll central window by mouse dragging on it self.