Question / Help Cannot stream and record at same time due to error...

Whenever I'm streaming and try to record, I get this error:

"Starting the output failed. Please check log for details.
Note: If you are using the NVENC or AMD encoders make sure your drivers are up to date"

Funny thing is, I can't use the NVENC or AMD encoders, so what gives? I was able to stream and record perfectly fine less than a month ago and I haven't changed any settings!

LOG IS ATTACHED

NOTE: I'm also getting really choppy streams. Could these be related?
 

Attachments

  • 2018-09-18 21-35-36.txt
    41.2 KB · Views: 91

koala

Active Member
If you want to both stream and record, you can...
  • either encode one single stream that you stream and also save to disk. Both are exactly the same quality and resolution. You choose this mode by setting "use stream encoder" as encoder in the recording settings. This is the least resource intensive variant.
  • or encode one video stream for streaming and encode another video stream for recording. You use this mode by setting an actual encoder in the recording settings and NOT "use stream encoder". This requires much more resources, especially if you use different resolutions for streaming and for recording.
In your case, you tried to use the second mode and chose Quicksync as encoder for both. Unfortunately, according to your log your hardware supports only one Quicksync encoding session running.

You either have to choose different encoders for streaming and recording, or you have to "use stream encoder" for recording. Using Quicksync and x264 in parallel is much cpu load. Probably too much for your system.

It can be seen that you are already overloading your GPU, because you have rendering lag. Limit the fps of the game you're recording to avoid this by activating vsync or a frame limiter.

tl;dr:
  1. don't choose Quicksync for both encoding and streaming at the same time
  2. limit the fps of the game you play
 
OK, so that's really helpful, but what happens if my recording settings are better than my streaming? I was hoping to record my stream and upload the better quality version after it ends.
 

koala

Active Member
I would say if you want to have your recording settings better than your streaming settings, and this isn't achievable with your current PC, you have to obtain a more powerful PC.
 
I've limited my fps but the stream is still choppy. My new log is attached.

Is my GPU still being overloaded, and if so, how can I fix this?
 

Attachments

  • 2018-09-19 20-14-04.txt
    9.6 KB · Views: 37

Harold

Active Member
The streamlabs version of OBS actually takes more cpu mostly due to how their user interface is written.
 

koala

Active Member
Triple buffering increases the game fps if vsync is enabled. It brings back the fps you lose if you enable vsync. The benefit of triple buffering+vsync is no screen tearing at no fps impact. The cost of triple buffering is a slight increase in latency (half a frame, which is about 8ms at 60fps).
Activating triple buffering while disabling vsync brings no benefit.

But be cautious: this is only true for the game. It puts a even higher load on the GPU, because it enables the game to make better use of the GPU. OBS will starve even more from GPU resources, thus you will probably get more lags and choppy stream/recording from OBS.
 
Top