http://www.codeproject.com/KB/audio-video/Motion_D etection.aspxhttp://motion.software.informer.com/download-motio n-detection-in-an-avi-file/