[FFmpeg-devel] Adding Mac OS X screen recording to ffmpeg

Jean-Daniel Dupas devlists
Sat May 8 02:05:17 CEST 2010


Le 7 mai 2010 ? 23:34, Ronald S. Bultje a ?crit :

> Hi,
> 
> On Fri, May 7, 2010 at 5:32 PM, daniel dixon <daniel.dixon at reelfx.com> wrote:
>> Anyone have advice to offer before I start?  Should I use something besides
>> OpenGL? I don?t know what I would use, though.  Has this already been done
>> and I don?t know about it?  I?m hoping I can pretty much just port the logic
>> in x11grab and gdigrab.  I know X11 runs on Mac, but it?s a separate
>> installation entirely and doesn?t seem to be the road to go down.
> 
> Not against GL per se, but why not use the Quartz Window Services API
> [1]? It's much faster than GL (I've tried both), and it's actually
> easier and more extended.
> 

You probably did something wrong. OpenGL is faster than Quartz as Quartz is based on OpenGL.  
And the Quartz API is not design to capture a video of the screen. It is good at getting a single snapshot, but not an image flow.

OpenGL and asynchronous frame download is what  QuickTime X uses to capture the screen.

This is the way to go IMHO.

-- Jean-Daniel







More information about the ffmpeg-devel mailing list