I have a surveillance .avi video file that includes mostly still (unchanging) frames. However, certain objects (and people) enter the field of view and exit within short period of time. I need to extract those frames.
The entire video lasts very long (24+ hours) which prevents me from replaying realtime. Is there a Perl module that can parse the file by frames? With that I suppose I can quickly transform the frames to some histogram and compare the neighboring frames to find significant changes. This webpage spells out the general approach but I couldn't find either the script (keyframe.pl) or the modules used (granted that is for .mpeg files).
If the direct module to parse .avi does not exist, I can convert the video to .mpeg (or any other form), then please just direct me to some other module that can parse the file?
Thx!