Question / Help My OBS is scared of gunshots?

tracer34

New Member
Just to preface this, I'm very new to OBS studio and streaming in general, and I'm running a bit of an unconventional setup from what I can tell. Here goes -

I have my main rig running OBS with NDI enabled. NDI feeds to a Centos 7 box in turn running OBS to do the actual streaming to Twitch. My stream runs fine for a minute, but then the upload drops down to 0kbps, stream stops on Twitch, etc. The preview window is still fine, but I can't restart the stream without restarting OBS. After a couple hours of messing around with it, I noticed that everything was fine until there was gunfire (testing with Black Ops 4). I muted the NDI audio on my streaming box, and everything ran fine. I unmuted in a quiet spot, everything was still fine. As soon as I fired my gun, the stream dropped. I tested a couple other games with no gunfire, and it was also fine. My guess is some sort of audio codec issue, but I don't see anything obvious in the logs (see attached) and I'm pretty baffled. Any suggestions are appreciated.
 

Attachments

  • 2018-11-01 21-38-39.txt
    16.7 KB · Views: 22

c3r1c3

Member
Hmm...the only thing I see in your log is that your system can't process 62.7% of the frames it's handed, and that your GPU and CPU can't keep up. It might be what you suppose (that a loud /sudden sound causes the encoder to trip/delay just long enough for everything to go to hell), but I would start with getting your system load down to something reasonable.

Maybe try dropping your fps to 30 and your output resolution to 1280x720 and see if that causes the issue to go away. Also double check that your GPU is in a proper 8x (or higher) PCIe 2.0 (or higher) slot.

As to the loud sound+NDI part, can you lower the volume of the unit that's sending the game/NDI/audio? If you make it inaudible (i.e. mute it) and the issue still happens...that would be an interesting issue.
 
Top