Question / Help OBS stutter issues

bdk98

New Member
Hey there,
For the past few days I've been toying with the idea of a dedicated streaming PC. Since I don't have a capture card that can capture 60fps, I figured I would test my hand at local streaming to a media server, with very high bit-rates and minimal compression on the gaming computer, and then capturing the RTMP stream on the stream PC via OBS and the Video Source Plugin. The media server that I found works best, is the Wowza Media Server. Very straightforward and easy to set up.

That was my first failed attempt. For whatever reason, after about 7-10 minutes of playing the 60fps local stream flawlessly, it would start lagging as if the local stream itself was dropping frames. It wasn't, to prove that I had run VLC with the RTMP stream for a few hours and it had no frame dropping issue, the sound eventually desynced itself. Another test of OBS and the VSP confirmed that the issue was still there in specifically OBS. I had tried XSplit and their RTMP plugin, except it could never play the local stream at 60fps. However, it would continuously play the somewhat laggy stream without issue.

So, switching back to OBS, I remembered the OBS Multiplatform builds. I downloaded the most recent OBS Multiplatform build and I discovered that natively, you could indeed include an RTMP stream. OBS Multiplatform on the stream PC is about the closest I have gotten to a perfect stream. The issue I currently have is some weird glitching every couple minutes. The stream will freeze for a second and occasionally the audio will sound robotic for about 10 seconds or so then come back. An example of this can be found at a recent broadcast I had attempted with this setup:

(I apologize in advance for the language, and quite frankly, the lack of skill)
http://www.twitch.tv/bendk313/v/9809326

That clip will basically summarize the audio issue. The robot stuff only happens occasionally after the glitching, where the glitching for a second is common.

Both OBS instances stream at 1280x720 so the stream PC has no down-scaling to do (Helps keep a rock-solid fps). Both PCs use the High encoding profile.

The differences: (GPC = Gaming PC, SPC = Stream PC)
The GPC does NOT have CBR enabled while the SPC does.
The GPC streams at 20,000kbps while the SPC streams at 3500kbps.
The GPC uses Nvidia NVENC as the encoder while the SPC uses the standard x264 encoder.
(Apparently I hadn't changed this, maybe this is the issue?)The GPC's audio settings are 192kbps @ 48khz while the SPC is 160kbps at 44.1khz.
(Maybe also the issue?)The GPC has a keyframe interval of 0 while the SPC has a keyframe interval of 2

I included the error log from the League of Legends stream example where I show the weird audio artifacts.

EDIT: Just for reference, the log is from the OBS Multiplatform instance on the stream PC. I can include a log from the gaming PC's OBS, however it never seemed to be the issue. Never dropped a frame or showed any issues.
 

Attachments

Back
Top