obsproject / obsproject/obs-studio

Game Capture unable to capture child windows

Open
#5,397 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.1.1

OBS Studio Version (Other)

N/A

OBS Studio Log URL

N/A

OBS Studio Crash Log URL

N/A

Expected Behavior

Gameplay to be recorded/streamed as per any other window that is being captured.

Current Behavior

A grey screen is captured/recorded instead of the game window. This is due to the way that the application uses child processes to pull together all of the content seen in the application by the end user.

Steps to Reproduce
  1. Set up OBS to capture a specific window
  2. Choose an Amiga Forever/ C64 Forever window
  3. you'll see a grey screen rather than the game you're playing.
    ...
Anything else we should know?

Reported here back in 2019:

https://obsproject.com/forum/threads/amiga-forever-and-c64-forever-playback-windows.105871/

With example CPP code to allow recognition of the windows for capture.

The code is well commented and looks to be everything someone would need to fix, but c++ isn't one of the languages I'm massively familiar with and I wouldn't know where to start but hopefully there is someone out there who can adapt and add this code to fix the problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked OBS forum thread and its example C++ code, then inspect OBS Studio's Windows game or window capture implementation to determine where child windows are recognized. Done means Amiga Forever and C64 Forever gameplay is captured instead of producing a grey screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.