#Capturing just works sporadically

40 messages · Page 1 of 1 (latest)

feral hull
#

Some games don’t allow application capture. The developers built in anti-capture.

short harbor
faint helm
#

!blackscreen

spring pollenBOT
#

My capture is showing as black

  • Make sure your OS is up to date.
  • Black only on viewer side. Change your encoder. Intel QuickSync may not work with your setup.
  • If you have HDR turned on, please turn it off.
  • If you have a GPU, make sure all monitors are connected to the GPU.
  • If you're trying to capture a fullscreen game, the game needs to enter focus / be foregrounded at least once.
  • Try opening the game first and then Twitch Studio, or vice versa.
  • After Twitch Studio updates, a system restart might be required for Twitch Studio to capture correctly.
  • Some weird setups will require Twitch Studio and the game to be on the same monitor.
  • Restart your computer.
  • Some video cards have an issue where the game won't show up in the preview, but will show up in the stream or recording.
  • If the above doesn't work, submit a bug. Entire monitor capture may be a viable workaround.
short harbor
#

Tried that already it seems just coincidence when its able to capture the game.
Obs logs already checked everything is okay regarding a website which checks log files.
But can't find log files for twitch studio to take a deeper look.

faint helm
#

obs has a discord

#

it's probably similar to the solution above

#

if you have multiple monitors, multiple gpus, you gotta make sure they are using the same gpu

#

and if games have anti capture/cheat, just use display/entire monitor capture

short harbor
#

Thanks a lot i have one single gpu, igpu is disabled through bios, one single monitor. Entire monitor capture works for sure but its laggy and choppy.
I pref Twitch studio above obs thats why i tried here first but as twitch using similar software i can ask in obs discord as well.
Just wanted to see why it sometimes works and why not.
Before i stream i start twitch studio 30 times the games 10-30 times till it works then it works fine for hours.
Thats a bit odd.

faint helm
#

what did you do 10-30 times? entire monitor? or game window capture? I can't comment on fullscreen capture as I rarely use that.

short harbor
#

I tried every possible squence to get it working for example: starting twitch studio with admin rights, then start the game, or start the game with admin rights, then start twitch studio with admin rights.
I do these mentioned sequences 10-30 times then suddenly twitch studio is able to capture the game over "window game capture" and also over "full screen application".
I just want to know why it sometimes work and sometimes not.

faint helm
#

what game is this? have you search the game in this discord to see what others say

short harbor
faint helm
#

for those games, did you flip between windowed mode vs fullscreen mode.

short harbor
faint helm
#

what gpu do you have?

short harbor
#

RTX4090

haughty elk
#

CS2 is definitely one that requires you to capture entire screen. The issue is with the capture injection. Some developers have blocked injections into their applications to prevent cheating. The workaround that works the best seems to be to capture the entire monitor, or use a capture card with a second device to capture the video output.

faint helm
#

capture card on the same device should also work. you have a beefy system anyway...

haughty elk
#

ohhh, i didn't think that was a thing

short harbor
#

Thanks a lot guys for your contribution dont get me wrong workarounds are needed if something does not work as expected.
But there is just 0 and 1 on and off something works or it doesnt work at all.
If it works in 10-30 tries there must be a reason but i am not a programer so i have no chance to check the logs if there are any.

faint helm
#

did you say obs has the same problem?

short harbor
#

Exactly yes

faint helm
#

I wonder if your gpu driver has anything to do with it. did you set any special settings in your gpu? dlss ray tracing, prioritize certain things etc

#

if obs can figure out why, it should also apply to other capturing software. but obs is updated more often and they may have access to latest api.

#

btw you are the probably the first one having this kind of issue. for most others, it's either always not working or always working

short harbor
#

Have some nvidia driver settings yes but nothing special. It looks like like in many other forums mentioned some games don't allow capturing, but sorry if i repeat myself why sometimes it works and sometimes not. Have uploaded obs log to an obs website checked everything and no errors or critical warnings but in the logs there must be a message why it can't access the game.

faint helm
#

yeah the "sometimes" part is an odd one.

faint helm
#

twitch studio logs are in %APPDATA%\Twitch Studio\Logs\TwitchStudioAgent...

short harbor
#

Thanks! I'll check that

faint helm
#

hope you can find a solution.

#

the devs here are not that active lately (probably due to the layoffs/staff changes etc)

short harbor
#

Uff as i am not a programer i don't know where to look at 🙂
The thing is it also doesnt creat a log file each start but i will try to find something, thank you very much!

faint helm
#

./Logs/TwitchStudioAgent/20240117191305-44969.json
./Logs/TwitchStudioAgent/20240117221925-60289.json
./Logs/TwitchStudioAgent/20240129022528-3357.json
./Logs/TwitchStudioAgent/20240116140032-10847.json
./Logs/TwitchStudioAgent/20240129190125-71750.json
./Logs/TwitchStudioAgent/20240127040235-85066.json
./Logs/TwitchStudioAgent/20240129130519-42445.json
./Logs/TwitchStudioAgent/20240130232913-95244.json
./Logs/TwitchStudioAgent/20240124002103-49068.json

#

it should generate some json files like these

#

even when you just open the app

short harbor
#

Yes i found them and i am already looking into one

#

"data": {
"admin": false,
"adminService": true,
"eac": true,
"exitCode": 259,
"exited": false,
"fileVersion": "2021.3.24.4316",
"graphicsApi": 0,
"processName": "RustClient.exe",
"productVersion": "2021.3.24.4316",
"success": false,
"windowName": "Rust"