It can be use for video motion detection. You can download it from here (https://dvr-scan.readthedocs.io/)
Install Python
Install pip
Do “pip install dvr-scan[opencv,progress_bar]” for installing dependants
Download the source of DVR-Scan, and unzip it
Do “python setup.py install”
run “dvr-scan -i some_video.mp4 -o some_video_motion_only.avi” to get the result. It'll take some time.