Question: What could help me - more threds or faster CPU

roulendz

New Member
Hello, awesome OBS community,
I have a really special OBS setup, but recently my PC is giving up on my needs and CPU usage is 90-99% when OBS is opened not even clicking start streaming and using NVENC for encoding video.

I have DeckLink Quad HDMI Recorder where are connected three 4K cameras.
I have 3 instances of OBS opened. I'll explain what they each do.

So in 1st OBS instance are coming 3 4K cameras for each camera to separate screen. - Just passing the video to the 2nd and 3rd OBS (because one camera can only be active only in one OBS instance at the same time, so NDI fixes this for me)
Video:
Base (Canvas) Resolution:3840x2160,
Output (Scaled) Resolution:3840x2160
Output FPS:30

Output: -
1st OBS

I use Touch Portal to switch between camera scenes and control all three OBS instances.
I turn on obs-ndi - NewTek NDI™ integration into OBS Studio, (it allows me to have one camera in multiple OBS instances the same camera for FB and IG)

So in 2nd OBS - Streaming to Facebook
Video:

Base (Canvas) Resolution:3840x2160,
Output (Scaled) Resolution:3840x2160 (so NDI would output 4K signal to another local computer, what streams to YouTube)
Output FPS:25

Output:
Encoder: NVENC H.265(new)
Rescale Output: 1270x720
Rate Control: CBR
Bitrate: 5000 Kbs
Keyframe Interval: 2
Preset: Quality
Profile: High


In 2nd OBS I have 1st NDI source as camera input and following scenes
2nd OBS

Also in 2nd OBS, I have turned on obs-ndi - NewTek NDI™ integration into OBS Studio, because it sends 4K (Main Output) to my other computer on the network, which then encodes and streams 4K to YouTube. (This is why in Output (Scaled) Resolution:3840x2160 is set to this value, here I had an issue with this value )

So last is 3rd OBS - Streaming to Instagram
Video:

Base (Canvas) Resolution:1080x1920,
Output (Scaled) Resolution:1080x1920
Output FPS:30

Output:
Encoder: NVENC H.265(new)
Rescale Output: -
Rate Control: CBR
Bitrate: 3500 Kbs
Keyframe Interval: 0
Preset: Quality
Profile: High


In 3rd OBS I have 1st NDI source as camera input and the following scenes +/- are matching 2nd OBS
1615329265786.png

For this OBS instance, all transitions and graphics are made in 1080x1920 resolution, to match the aspect ratio. All graphics/transitions are WEBM format.
1615329428791.png
1615329558351.png


So following with my question.

Here is my CPU usage when OBS only is opened CPU 90-95%:
Sory file too large to upload

Here is my CPU usage when OBS also streaming it works, but could be better using (NVENC) CPU 95-100 and could drop frames due to rendering lag you can see in stats, it was after streaming session 2h:
Sory file too large to upload

The biggest hit on CPU usage is when I enable in 1st and 2nd OBS NDI Output.

So my question at the end is
What CPU I should upgrade in the future with more CORES or HIGHER speed, or both


Thank you all in advance. If any questions let me know.
 

Lawrence_SoCal

Active Member
I get what you are doing, but not why, nor do I suspect what you are asking is really the right approach, regardless
I'm impressed you got all that working, BUT... I suspect dismantling it is the right thing to do

Running 3 separate OBS instances plus NDI on a single PC .. uh oh ... maybe with an upper end AMD CPU, maybe Threadripper? and a couple of GPUs? I have no idea, but you are doing a LOT of real-time video rendering and I doubt a consumer GPU (if any) can do all of that at 4K
- I'm thinking upper-end professional workstation, maybe

Personally, I'd look to an alternate set up with a single OBS instance.. if you need to multi-stream (Facebook and Instagram at same time, and also YouTube on another PC !?!?!), I'd look at a service (restream.io or similar.. I've never used any of these, so don't take my mention as a recommendation... just pointing you in a direction)
- a service which re-encodes and re-streams to the various platforms will be WAY cheaper than the PC to run this
 
Top