Hi,
I have installed zoneminder with axis camera and the outcome is great. I am very interested on how the viewing of the live camera in done in zoneminder. Currently Iam trying to develop a small project by using php, to have a small screen inside the interface and have the picture taken and ftp to my server and I am not sure whether I can borrow the source code for this feature from zoneminder. If I can, where can I view the source code and is zoneminder develop using php. Your help is much appreciated. Thanks!
Source Code for Viewing
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Viewing is done via the zms cgi process. This can generate mpeg, mpjpeg or single jpeg streams. There are a number of php functions which help generate the correct url parameters to pass depending on the type of stream requested and the capabilities of the browser.
The simplest thing to do is probably to look at zm_html_view_watchfeed.php, which is quite a small file, and go from there.
The simplest thing to do is probably to look at zm_html_view_watchfeed.php, which is quite a small file, and go from there.
Phil