1. A method of controlling a digital video source in a video surveillance system having the digital video source connected by a network to a workstation having a graphical user interface for enabling a user to control the digital video source, the method comprising: providing a video analysis program, at the digital video source, capable of and configured to detect analytic behavior of an object in digital video images generated by the digital video source, the analytic behavior being detected before the digital video images are transmitted by the video source over the network; providing a file containing user interface controls for the graphical user interface and parameters for configuring the video analysis program; storing the file with the video analysis program at the digital video source; downloading the file containing the user interface controls and the parameters for configuring the video analysis program at the workstation at run time; and enabling a user to configure the video analysis program by interacting with the graphical user interface.