Skip to content

leadedge/SpoutCapture

Repository files navigation

SpoutCapture

An Openframeworks screen capture application for Microsoft Windows.

  • Captures the visible desktop at high speed using the Desktop Duplication API.
  • Captures the region of the desktop under the application window.
  • Captures individual windows using GDI.

Two Spout senders are created, one for the entire desktop and one for the selected region or application window. A region of interest is always part of the “visible” desktop, so can be obscured by other windows. Window capture is independent and the selected application can be obscured without affecting the capture. The capture continues if SpoutCapture is minimized. Download the package from releases.

The project depends on :

The project files are for Visual Studio 2022

This program uses various techniques that may be useful for reference.

  • low level mouse hook
  • transparent window
  • menu for an OpenFrameworks application with ofxWinMenu
  • openframeworks screen text with truetype font
  • add a custom icon to the task bar
  • GDI window capture
  • desktop duplication screen capture
  • use DirectX within and OpenGL application
  • draw part of a texture to an fbo
  • show tompost function
  • resources for an about dialog and version number
  • hyperlink within the about box
  • send DirectX texture and readback to OpenGL
  • create two senders in the same application

About

An Openframeworks application for Microsoft Windows that captures the visible desktop

Resources

License

Stars

Watchers

Forks

Packages