obsproject / obsproject/obs-studio
Game Capture unable to capture child windows
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
- Set up OBS to capture a specific window
- Choose an Amiga Forever/ C64 Forever window
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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