I have video files recorded by a surveillance camera. Every file is 24 hours long.
While I use Linux' motion
to do motion detection in real time directly from the camera, I also would like to check for motion from the previously recorded videos.
I searched for both Linux and Windows applications to do that, but my search was inconclusive. I found:
Suggestions to use
motion
and stream video content to it through/dev/video0
. Those suggestions seemed way too technically complex for me.Instructions to use VLC to detect motion. However, VLC will only play a video and highlight the motion, and I can hardly imagine myself watching a 24-hours video in a hope that VLC will suddenly highlight a change that I would see anyway.
So:
What could I use, in Linux or Windows, to extract from a video file the frames which correspond to motion, while ignoring everything else?
In other words, taking as input a 24 hours long video where nothing happens except the 10 seconds moment where someone opens the door and gets in, how do I get as output the corresponding 10 seconds video (or a bunch of JPEG images corresponding to this time lapse)?