Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iSight question (was: re: iSite question)




On 31/03/2005, at 11:12 AM, Frank Midgley wrote:

On Mar 30, 2005, at 4:05PM, Philip Lamb wrote:

On 31/03/2005, at 8:10 AM, email@hidden wrote:
From: William Miller <email@hidden>
Subject: iSite question

I want to write an application that maps streaming video from my iSite
onto openGL geometry. I can make the geometry, but how do I query the
iSite for the video?

I assume you mean "iSight". You could use libARvideo from the ARToolKit project for the frame capture. See http://artoolkit.sourceforge.net
libARvideo returns video frames in a format designed to be passed off to OpenGL as a texture.

Or use Apple's sample code as a starting point:

Cocoa: http://developer.apple.com/samplecode/Cocoa_-_SGDataProc/Cocoa_- _SGDataProc.html
Carbon: http://developer.apple.com/samplecode/HackTVCarbon/HackTVCarbon.html



You could, if you wanted to rewrite libARvideo's improvements over the Apple samples.


Both call into QuickTime's sequence grabber facility which can handle any video source, not just iSights.


As does libARvideo.. actually it directly queries the vDig, to work around performance bottlenecks in the Sequence Grabber.


Philip Lamb

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Re: iSight question (was: re: iSite question) (From: Philip Lamb <email@hidden>)
 >Re: iSight question (was: re: iSite question) (From: Frank Midgley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.