I’ve added basic motion detection capabilities to Cocoa Sequence Grabber code now.
This is what happens when your cat wakes you up too darn early after peeing under the computer desk.
Sample movie (MP4/QuickTime 7 required, 64KB file): MotionDetection.mp4
No those aren’t mpeg encoding artefacts, those are my attempts to highlight the motion in the movie.
Source code: http://toxic-public.googlecode.com/svn/tags/BlogTag_20070927_729/Frameworks/ToxicMedia/Samples/SequenceGrabber (see MotionDetector subdirectory)
Have fun.

