From: Jason <mo...@la...> - 2009-10-25 14:00:22
|
aaron barrus wrote: > I have a need to compare two images that are currently on-disk, and > check them for motion. > > I'm using motion to compare images real-time as they are retrieved > from my camera, and that works flawlessly. But sometimes I have > large archives of images-say several thousand in a directory-and I > want to check them for motion using the same rules that motion uses > when it watches a single image in real-time. The files in the > directory are timestamped with when they were taken. > Maybe try a ffmpeg or vlc with a video loopback? I've never done it, but it would use ffmpeg/vlc to read in the images and make a fake camera source that motion would then watch... This looks promising [1]. hth, Jason. [1] - http://allonlinux.free.fr/Projets/AVLD/ |