Sequence Grabber Code – now with CoreGoodness

I’ve improved my Cocoa Sequence Grabber code (read: iSight code). I’ve added a couple of extra classes to represent audio and video channels. Gone are the dependencies on my MoreFile framework and some of my other Cocoa/Carbon utility classes (making the project more lightweight). I’ve improved the code all round – but the key addition is the ability to receive frames from the sequence grabber as CoreImage images. This means you can perform extra processing on the frames including applying CoreImage filters…

See screenshot: SequenceGrabber_1.png.

Note that QuickTime movie saved to disk is not passed through CoreImage. Frames from the SequenceGrabber are exposed to client code through standard Cocoa delegate methods (well one method) so you can do whatever you want with the images (including add them to a QTKit movie).

The code is still in a work in progress but it is pretty functional right now. My aim is to keep it all quite simple (unlike some of the Apple sample code parts of it was based on) and usable when just dropped into a 3rd party project.

Source code: http://toxic-public.googlecode.com/svn/tags/BlogTag_20070927_729/Frameworks/ToxicMedia/ links.

This entry was posted in Default and tagged , , , , , , . Bookmark the permalink.
  • Hi, I was looking for the Samples repertory to look how to use your Sequence grabber framework but it seems to have disappeared.
    Can you point me to some samples ?

    Thanks
  • Thanks for the response. I've had a play and it's a problem with macam which occurs when the macam component is installed but no USB camera is plugged in - happens in other apps too. Works great with a USB camera attached and with my iSight.
  • Hey Tom,

    It has been tested on one other (non iSight) webcam. But that driver was firewire and didn't need any 3rd party drivers. So YMMV.

    You can use subversion to checkout the source code (" co http://http://toxic-public.googlecode.com///tox...) or you can wait until I upload an tarball archive (hopefully tonight).
  • Really great - though config button crashes for me - may be the fault of the macam driver though. Is there a way to download all of source at once? Seems can only browse/download individual files.
blog comments powered by Disqus