QTKit Capture API: how to implement screen recording (as in Quicktime X Player)?

Does the QTKit Capture API support screen recording, i.e. Can I specify the current output screen as the input source for recording? If so, how?

Quicktime Player X supports on-screen recording, but the QTKit Capture API Documentation only mentions capture from external cameras.

+5
source share
2 answers

Starting with Lion, you can use the AVFoundation framework. A quick tutorial can be found here .

+3
source

, API CGWindow (search: Son of Grab) QTMovie addImage: forDuration: withAttributes:

Apple Code: StillMotion (developer.apple.com/mac/library/samplecode/StillMotion/Introduction/Intro.html)

+1

All Articles