views:

189

answers:

1

I'm already recording from my iSight from a python script using the pyobjc bridge and the QTKit framework.

Which framework/device/... should I use to capture the video of my screen instead of the built-in iSight?

P.S. I'm using Leopard (not Snow Leopard) and thus I don't have the Quicktime X API at my disposal.

A: 

OpenGL. There's sample code for this on Apple's developer site (SonOfGrab, IIRC).

Peter Hosey
Can it also take videos or only screenshots?
GaretJax
I finally found the right examples:- Sync snapshot: http://developer.apple.com/mac/library/samplecode/OpenGLScreenSnapshot/index.html- Async video: http://developer.apple.com/mac/library/samplecode/OpenGLScreenCapture/index.htmlThanks for the insight
GaretJax