The ZoneMinder ToolKit

From ZoneMinder Wiki
Revision as of 18:17, 12 February 2013 by Zoneminder (talk | contribs) (Reverted edits by Pinnaclehiplawsuit (talk) to last revision by Zoneminder)
Jump to navigationJump to search

The ZoneMinder ToolKit (ZMTK) is an implementation of the principles outlined in the ZM2 Architecture Discussion page. It is not currently a finished product and has no installer as such. It is intended as a demonstration of the possibilities of a modular framework and how it can be used to easily build applications from reusable components to perform any number of specific video security related tasks.

A sample application is included in the zmx.cpp file, actually there are several applications available within it so if you want to try one out just ensure you un-comment the appropriate section. Example applications are as follows, they are easy to modify to work differently if you want to try something else.

  • Simple stream capture to file
  • Simple stream capture to shared memory ring buffer
  • Extraction of stream from shared memory buffer to file
  • Simple stream capture and presentation as HTTP, RTSP, or RTMP (flash) streams
  • Simple stream capture, timestamping and presentation as HTTP, RTSP, or RTMP (flash) streams
  • Multiple stream capture, integration into 'quad' display and presentation as HTTP, RTSP, or RTMP (flash) streams
  • Stream capture, motion detection and conditionally written to video file
  • Stream extraction from file, motion detection and presentation as HTTP, RTSP, or RTMP (flash) streams
  • Stream capture, motions detection, and quad presentation of motion detection state via HTTP, RTSP, or RTMP (flash) streams

ZMTK applications are highly threaded and this should be born in mind when devising new applications, though for the most part this implementation is hidden at the high level.