Continuous Full Screen Capture


#1

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


#2

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


#3

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


#4

Depending on your usecase, GStreamer should work.

Bala.


#5

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.