Question / Help game sound is delayed when streaming with obs studio

megadarkkebab

New Member
Hi,

Yesterday I wanted to try using OBS Studio to stream uncharted 4 using an Elgato HD.
The problem is though on-stream the game audio is about 7 to 10 seconds delayed compared to the video.
When I turn on the monitoring setting in OBS and listen to the game directly through my speakers its fine, but on stream its not. In the end I had to switch to another program because I couldn't figure out what the problem was.
I have tried googling this but all I could find was people talking about multiple audio sources in use, for example a microphone which I wasn't using my self.
You can listen to an example here: https://www.youtube.com/watch?v=1SnkGgyoBfc
Its about 30 seconds in, you see the subs come up but you won't actually hear Nate until about 10 seconds later.
Does anyone know what is causing this and how I can fix this?

Regards,

MDK
 

megadarkkebab

New Member
The problem only exists in OBS Studio, I switched to Xsplit broadcaster after I couldn't figure it out.
The delays were all set to 0 ms and I had tried changing that but, obviously, that only made it worse.
According to the Elgato program, it is up-to-date.
I have just seen that the video output is set to 2500 bitrate and the audio output is set to 160 but I doubt that would be cause.
 

megadarkkebab

New Member
I've never done an actual recording, I only really stream. I can give it a shot though.

Edit; Nope, on recording its fine, just tried.
 
Last edited:

SumDim

Member
Ok, so its stream related. It could be OBS Studio client side problem or YouTube server side.

Post your log (Help | Log Files | View Current Log)

I want you to try streaming again to determine if this was a one off problem with YouTube or not. Create a PRIVATE stream and review it from your Video Manager after it finishes processing. Do you still get the same problem?
 
Last edited:

megadarkkebab

New Member
I stream to twitch though haha but alright, stream was last night and there are a few new logs by now, can I use obs to upload just about any or do I need to use another way to upload that one?


Edit; just noticed your edit, I had restarted the stream several times since I wasn't sure if new settings would be active without restarting or not. So by that, I'm pretty sure its a constant problem, not a one off.
 
Last edited:

SumDim

Member
The log files are stored in /Users/(Username)/AppData/Roaming/obs-studio/logs folder.

Stream some demos to YouTube live and post the links.
Now we have to rule out if its a YouTube, Twitch, or OBS problem.
 

megadarkkebab

New Member
Well, here is the log, sorry for the wait.
I've never streamed to YouTube before so I'll see about that.

Edit; Well, I just did a test on YouTube and that went all fine so I decided to try it again on twitch and for some reason, that's all fine now too so I don't know what's going on here. Thanks for the help though and maybe the log still has some sort of clue for you.
 

Attachments

  • 2017-07-11 17-48-09.txt
    68.2 KB · Views: 33
Last edited:

megadarkkebab

New Member
Sounds fair enough I suppose, now that this is solved though another old friend.. has shown up again, the reason I had stopped using OBS about half a year ago. It is an OBS exclusive problem, but while I was in stream for about half an hour (it seems to be random, one time its half an hour, another time its 2 hours) my pc crashed forcing me to force-shutdown my pc. File included is a photo of my screen after it happened, no error message, just straight to that. I don't know if you'd want me to make a new threat about this though.
 

Attachments

  • IMG_1165.JPG
    IMG_1165.JPG
    346.7 KB · Views: 67

SumDim

Member
Yeah, that is not good. The interesting thing is the blue pattern with vertical columns.

Flakey GPU card? Monitor going out? I would lean more towards equipment failure.
Go attach another monitor you have lying around to the same computer and play around for a week. If it comes up again, replace the GPU card.
Don't rule out the cables either.
 

megadarkkebab

New Member
I had already changed my monitor before (literally bought a new one), my GPU has been sent back for warranty claim (nothing came up so they just sent it back) and it never ever happens when I don't use OBS. Gaming on high settings is fine, any other streaming software is fine, it just happens with OBS, both classic (first couple of times) and Studio, today. Log file of session that crashed.

Edit; new monitor also uses different connection, HDMI vs DVI.
 

Attachments

  • 2017-07-13 22-39-40.txt
    6.4 KB · Views: 8

SumDim

Member
I'm assuming you are doing YouTube streams and recordings. Here's my thoughts.

First, change Audio to 48khz. YouTube uses that and to avoid resampling and making the CPU work harder, set it to that. You'll also need to set all audio devices to 48khz in your Windows playback and recording tabs to correlate. Tweak it in the Advanced tab. Make sure also that you are using the current motherboard drivers (especially audio).

Your AMD FX 8350 is a decent CPU. On one of my older systems I have lying around, that CPU is good to do 720@60fps. I never really liked the 1080@60fps quality I was getting with it so upgraded to Ryzen. 16GB is good enough.

Windows, I would upgrade to version 10. No use using Windows 7 anymore. Its lifecycle is over two years ago. Go get Windows 10 64-bit dude..$99.

R9 280 isn't that fast of a GPU. If you later want to play medium level games on the box, you really need to upgrade that to a GTX 1050 or better. You also may be able to take advantage of NVENC encoding to offload the CPU. In comparison, its almost 50% weaker in performance over a $100 GTX 1050 card.

What is your upload speed? For 720@60, you need at least 2500-3500Kbps. More is better.
 

megadarkkebab

New Member
Like I have said a few times already, I stream to Twitch, not YouTube.
I can upgrade to 10 when ever I like, have already taken on the 'free upgrade' but went back since OBS started crashing, hoping it was a win10 issue. I'm not considering upgrading my hardware as of yet, it still works fine using other software and most games. On speedtest I get about 15MB upload, I've set it to 2500 on OBS so I don't hog it all. As for the sound issue's, you mention that is YouTube's style of doing and since I use Twitch I don't know if that will help. Should I see about 720@30?
 

Yunasgrace

New Member
Hello Mega,
It seems you aren't alone with this problem. OBS seems to crash on a lot of peoples systems and people are still trying to work out what the problem is and they have upgraded their GPU (though why you would do that to use a free program is beyond me -_- )

I have a hell of a lot weaker GPU than you and OBS runs fine. I am also running windows 7 so I wouldn't bother upgrading (Windows is notorious for shipping out OS's with lots of bugs anyway so stick to what you are comfortable with!)

People have been having this problem since 2015. I can only assume there is a driver on your PC that OBS has taken offence to...

SumDim suggested it could be your GPU breaking down but if you are playing games at high settings then IMO that rules that theory out. Unless OBS is more demanding than the newest PC games? (and if that is the case then I would be having problems with OBS)
 
Top