1. A video surveillance system module for use in a distributed and extensible video surveillance system, the video surveillance system module comprising: a video surveillance camera, wherein the video surveillance camera is remotely programmable; a video encoder to encode video gathered by the video surveillance camera; and a video analysis engine coupled to the video surveillance camera to analyze video gathered by the video surveillance camera and to create data derived from analysis of the video for output from the video surveillance system module.