Question / Help Replay Buffer, lots of CPU usage. Not dual output?

orddie

New Member
Hey everyone!

I have a dedicated streaming box that has an AMD R7 with 32GB of memory running windows 10.

I'm able to stream to Twitch.tv at the following settings
  1. 1080p, 60 FPS
  2. 6 mBPS
  3. Medium Encode

Doing so shows the CPU usage peaking at 40%.

I wanted to try and add a replay buffer. So i set my buffer to be 30 seconds, and ensured the buffer starts when I go live.

Doing so shows CPU usage at 100% and i start to drop frames.

Is this expected? I was thinking it would not be since ram is to be the only change but its as if the system is doing two encodes now.
 

orddie

New Member
has anyone run into this before?
does anyone else use the replay feature? If so, what is your experience?
 

koala

Active Member
The replay buffer uses the "recording" encoder settings. So if you stream and at the same time start the replay buffer, you're streaming and recording at the same time. If you set "use stream encoder" as encoder in the recording settings, you will be using one encoding session - the encoding session from streaming. If you don't set "use stream encoder", OBS will start a second encoder with its own (recording) settings.

So your CPU usage fix would be probably to set the encoder in the recording section of the output settings to "(use stream encoder)".
 
Top