Skip navigation.
 
mlRe: Screen Recording APIs ?
FROM : Jean-Daniel Dupas
DATE : Fri Apr 25 20:54:10 2008

Le 25 avr. 08 à 20:35, Marcio Castilho a écrit :

> I am new to programming in Mac OSX. I need to do a very simple 
> screen recording application similar to uShow, ScreenFlow and 
> others, but with very basic settings and simple features. I would 
> like some directions on where can I get some references on API 
> areas, sample code, or some other information that might help me on 
> this task.
>
> I suspect that it is something related to the QuickTime API, but I 
> would really appreciate some help here.
>
> I have done this in Windows, but in Mac i am totally lost.
>
> Anybody has any sample code or could tell which API I should start 
> taking a look at....
>
> --
> Marcio Castilho


There is a sample code code on the ADC site that do that:

http://developer.apple.com/samplecode/OpenGLScreenCapture/index.html

Description
Demonstrates how to capture the screen on Mac OS X using OpenGL. The 
sample shows how to grab frames using asynchronous texture fetching, a 
technique which is more complicated but offers better performance than 
synchronous capture using glReadPixels.

When performing asynchronous texture fetching, the resulting capture 
is saved to a movie file. Compression of the actual frames for the 
destination movie file is performed simultaneously with the capture 
but on a separate thread for better performance.

Related mailsAuthorDate
mlScreen Recording APIs ? Marcio Castilho Apr 25, 20:35
mlRe: Screen Recording APIs ? j o a r Apr 25, 20:50
mlRe: Screen Recording APIs ? Jean-Daniel Dupas Apr 25, 20:54
mlRe: Screen Recording APIs ? Rob Keniger Apr 26, 04:38