Record your desktop in smart mode
Desktop recording software for Windows 64 bit OS can be downloaded here,
The software has following options,
a). Record desktop in screen in normal and smart mode
b). Record using attached web camera in normal and smart mode
In both the options, in normal mode software records and store video irrespective of movement/motion. In smart mode, the software records the video once the motion/movement in found either on desktop screen or in camera view frame.
Video of 30 secs are generated and saved in the same directory, from where the software is called within.