Please reference this thread on how to generate the hexadecimal for the affinity command: https://www.eightforums.com/threads/cpu-affinity-shortcut-for-a-program-create-in-windows.40339/
I have a 16 core (i9 9900k), my hexadecimal is f (CPU0, CPU1, CPU2, CPU3)
The standard recommendation is to create a desktop shortcut… but there is an issue with this I mention below.
C:\Windows\System32\cmd.exe /c start “OBS Studio (64bit)” /affinity F “C:\Program Files\obs-studio\bin\64bit\obs64.exe”
When I open the shortcut, I get OBS gives me two error prompts
“Failed to find locale/en-US.ini”
“Failed to load locale”
I’ve noticed other forum discussions where people suggesting to cd to the OBS Studio directory. They were using a batch file. I opened up notepad and saved a file to my desktop called “obs.bat” and inserted the 2 lines below:
cd “C:\Program Files\obs-studio\bin\64bit\”
C:\Windows\System32\cmd.exe /c start “OBS Studio” /affinity F “C:\Program Files\obs-studio\bin\64bit\obs64.exe”
Now, I’m not sure how well optimize this will run… I’m streaming single PC, 720p at 60fps. I’d like to bump it to 1080p 60fps, however I don’t want to impact my game FPS or have OBS take a performance hit either.
Give this a try and let me know in the comments below how well it performs!