Re: VideoConference.framework question
Re: VideoConference.framework question
- Subject: Re: VideoConference.framework question
- From: Guy English <email@hidden>
- Date: Fri, 28 Jan 2005 11:52:29 -0500
uh ... don't do it!
Instead try this for Cocoa iSight access:
http://toxicsoftware.com/blog/index.php/weblog/sequence_grabber_cocoa_source_code/
That said allocate a buffer of width * height * 3 - and set that as
the output buffer. Point the camera at known colors, like black,
white, green, blue, and see which components go where to try to work
out the pixel format. If you're lucky it'll be RGB, if not it'll be
some kind of YUV thing. If it crashes while doing this try a four
component pixel (width*height*4). You can look at the available iSight
docs to try to know what format it spits out but, by the time it's
gone through the framework it could be anything.
I really do think you'd be better off with the code above or try
digging through the quick time docs. This has come up before on the
list so an archive search would be good too. Search for iSight - I
haven't heard anyone asking about the VideoConference framework
directly before.
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden