AVRecord2 is an audio-video recorder with motion and noise detection. It is a command line programm suitable to work as a system service, but comes with a GUI that helps to tune configuration parameters. One of the important feature of AVRecord2 is the ability to save a part of the video stream that preceeds detected motion or noise.