Find and extract motion events in videos.
DVR-Scan is a cross-platform command-line (CLI) application that automatically detects motion events in video files (e.g. security camera footage). In addition to locating both the time and duration of each motion event, DVR-Scan will save the footage of each motion event to a new, separate video clip. Not only is DVR-Scan free and open-source software (you can find DVR-Scan on Github), it's written in Python, based on Numpy and OpenCV, and was built to be extendable and hackable.
For users wanting finer control over the output video encoding method, the default timecode format (
HH:MM:SS.nnnn) is compatible with most popular video tools, so in most cases the motion events DVR-Scan finds can be simply copied and pasted into another tool of your choice (e.g.
avconv or the