[Openmcl-devel] iSight code?
R. Matthew Emerson
rme at clozure.com
Sun Jan 27 18:51:51 EST 2008
On Jan 27, 2008, at 6:19 PM, Ron Garret wrote:
> I'm about to dive into writing some code to grab images from an iSight
> camera, but before I did I thought I'd ask if anyone has done this
I haven't done it, but I remember attending a WWDC session a year or
two ago where they talked about QTKit, and gave a demo of the Leopard
QTKit capture classes.
It looked very easy (like a couple dozen lines of code easy); a lot
easier than trying to use the old Sequence Grabber API.
I'd imagine you could get the code samples in the above document (one
of which captures images from an iSight camera) working in CCL in
fairly short order.
If you've done anything with QuickTime before, you'll want to review
the notes on 64-bit support.
The old (rather funky, IMHO) C-based QuickTime API isn't available to
64-bit programs. QTKit is the only game in town.
(You may already know all this, but I've been wanting to try out the
QTKit capture stuff, and I've been keeping these notes in my head for
when I get the chance.)
More information about the Openmcl-devel