My hackings at what was abandoned here http://sourceforge.net/projects/webcam-osx/