Continuous Full Screen Capture

Hi folks,

I’m looking for a way of capturing an entire screen’s output (ie the whole ‘desktop’) as a Surface or Texture2d.
I’ve looked at the “saveImage” sample project, and it does something similar to what I’m after… but does anyone know of a way of doing the same thing (copying the window to a surface), but for the entire screen?

Cheers

Yo can get a Surface from the window with:
ci::app::copyWindowSurface();
The QuickTimeAvfWriter sample shows how to record the screen to a video.

copyWindowSurface() only copies the current window’s surface – I’m trying to copy the whole screen. Do you know if something like this is possible?
Thanks

Depending on your usecase, GStreamer should work.

Bala.

There are some openframeworks addons that can do this. You won’t be able to use them in Cinder, but you can check out how they work and port them.