Bug Report Audio Desync with ElGato

I was instructed to make a new thread in a previous Audio desync thread because of issues I was having with ElGato. I am aware that you have to enable buffering on ElGato but keep it set to 0. I didn't seem to be having issues with this before v0.613b.

Here is the log file from the YouTube video I made. You can see evidence of some kind of audio desync in there.

https://gist.github.com/624b875527609171420b

Here is the video example. The video starts about 8 minutes into the raw recording, where some desync has already begun.

 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Open a command prompt as administrator, then type/paste this:

bcdedit /set useplatformclock true

Then restart your computer. I want to see if this afffects it at all. This only seems to happen with certain computers.
 
We're still getting desyncs with v0.612 and v0.611. I installed a SSD in early March. Could the SSD be causing this? I moved my OBS installation to my old mechanical hard drive and we're still getting desyncs. I have no idea what the heck is going on to cause this. I didn't have this problem at all until two or three weeks ago.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
You do appear to have it set up right with that particular log file. I actually don't know what's going on here at this point - could I see a vod of this as well? You didn't set the sync anywhere else did you? You didn't modify "global audio offset" in advanced, or modify the 'audio offset' value in the device itself, did you? they both need to be at 0. I'm going to make it log this in future versions
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yea, I'm definitely totoally confused at what's going on here.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It really shouldn't have anything to do with it. OBS doesn't even use the hard drive while running. Could I see a log from the test build?
 
Also, just for experimentation sake, I downloaded the latest version of XSplit and tried that. There's no desync on XSplit, so it's definitely something in OBS causing this.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Okay, I see the log, and I watched the video once again (I need to look at things more thoroughly next time) -- the mic is out of sync with the webcam. You added mic sync here:

18:55:39: Mic time offset: 1400

However, the problem is that the webcam is not synced up with the mic. You must go in to your webcam source properties, and set "use buffering" to 1400 to match the mic and sync up the webcam video with the mic. Ideally, instead of using the mic in audio settings, you should in this particular case disable the mic in audio settings, and then add the mic as the audio device in the webcam's source properties instead to ensure the best syncing with the webcam video. Then just set "use buffering" of the webcam to approximately 1500, and it should sync up with the elgato, while keeping both the webcam video and mic in sync with each other.

That's definitely the issue at this point I think. I'm going to have to make this more automated or easier to deal with in the future versions of OBS because this whole situation is too confusing for people, and I made it a bit convoluted to set up. This is definitely a configuration issue at this point, but the fact that you didn't realize that is more my fault than anything. It's just annoying to set up, and it's not really 'apparent' to most users at first glance what the right thing to do is, and ultimately that's definitely my own fault.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Okay. Feel free to come by chat as well if you wish if you want to go over it. That's definitely the issues at this point (and I'm so glad I added those log entries to the new version, very helpful)
 
Alright, it seems I misunderstood your most recent suggestion. I was setting a buffering to the audio as well. I went back and changed the audio buffering to 0 and it seems the desync has disappeared.
 
Top