Skip to content

An OBS Studio filter plugin that saves periodic screenshots of a source

License

Notifications You must be signed in to change notification settings

jess-sio/obs-screenshot-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

screenshot-filter

This OBS Studio filter saves images of the attatched source at a defined interval. Images can be RGBA32 .png files or raw bytes. Images can be saved to a local file or PUT to an http server.

Note that the file output mode writes to the same file each time. A directory mode is planned

demo.png

Named Shared Memory Output

To facilitate efficient high frequency access to image data, the 'Ouput to Named Shared Memory' option may be used. This method uses CreateFileMapping with INVALID_HANDLE_VALUE to create a shared memory region that may be read by other processes. In this mode, the screenshot filter writes 16 bytes of header information followed by the raw RGBA data to the named shared memory. The header comprises of 4 uint32_t's in the format width, height, linesize, index. The header is then followed by height * linesize bytes of image data.

About

An OBS Studio filter plugin that saves periodic screenshots of a source

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 97.4%
  • CMake 2.6%