Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Dynamic Window Capture for OBS

This python script allows capturing of windows in OBS that have a dynamic title. This is useful for capturing WhatsApp or other programs where you want to capture a window based on a regular expression.

This script only works on Windows.

Installation

OBS requires you to install a compatible version of Python.

After installing Python, you will also need pywin32 which can be downloaded from here.

To install other dependencies:

pip install -r requirements.txt

Usage

  1. Create a scene and a Window Capture source. The program/window this captures is not important at this point.
  2. Add the script to OBS.
  3. Choose the name of the source you wish to update.
  4. Specify an executable (case insensitive) - e.g. "whatsapp.exe".
  5. Provide a regular expression for the window title - e.g. ".*video call".

Whenever the scene is changed, a check is done to see if the selected source matches the window that is configured.

License

MIT

About

Capture windows in OBS with dynamic window titles

Resources

Stars

13 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages