I have a .avi surveillance video file that includes mostly still frames. However, some objects (and people) enter the field of view and exit for a short period of time. I need to extract these frames.
The entire video lasts a very long time (24 hours), which prevents me from replaying in real time. Is there a Perl module that can parse a file frame by frame? With this, I believe that I can quickly convert the frames to some histogram and compare the neighboring frames to find significant changes. This web page describes the general approach, but I could not find either the script (keyframe.pl) or the modules used (provided that for .mpeg files).
If the direct module for parse.avi does not exist, can I convert the video to .mpeg (or any other form) and then just direct me to another module that can parse the file?
thank!
source
share