toxicsoftware.com

RANDOMIZE USR 0

toxicsoftware.com header image 2

Sequence Grabber Code - now with CoreGoodness

August 8th, 2005 · Comments · Default

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.

Tags: ······

Viewing 4 Comments

blog comments powered by Disqus