 Hey guys, welcome back to my YouTube channel. This is Daniel Roto here in Jerusalem So I want to show you guys today and attempt to fix for one of the most annoying issues in OBS studio I'm using OBS here on Ubuntu Linux and that is the audio video sync issue Now there might be an audio video sync issue in this clip because I'm actually recording in simple screen recorder But if you want to get your audio and video in sync in OBS, then this might help now There is a few different ways to do this and I watched a few YouTube videos some guys come out with an OBS sync tool that has the Falling meter and a clicking sound and that's one way to do it But this is just kind of a quick and dirty method that I'm trying to use using just OBS and Cade in life. So the first thing that I did was I started a recording and I just did now some people use a Clapboard I'm just using my hands. So I'm gonna start the recording now So we're recording the webcam and we're recording the audio from the Let's just check. Yeah from the lab mic. Okay. So here we go. And this is the lab mic someone. What's the problem? So I'm just gonna do it three times so that I can take an average I'm gonna go ahead and stop that recording and what I'm gonna do now is open up this Clip that I just took into Caden live so this was a previous test I did so let me just go ahead and drag this guy in Okay, so now drag this into Caden live and I'm gonna switch over to the 30 frames per second profile just so that the frame rate here corresponds Now I have my waveform at the bottom I can just see quickly. This is what my claps are gonna be They're kind of distinctive on the waveform. What I'm gonna do here is I'm gonna cut out where the sound occurred This is where on the audio waveform you can see the clap is registering and then I'm gonna look at where exactly what frame Gonna go frame by frame here one two so we have audio and Then we have Videos this is this is a frame where my hands connect I'm just gonna give that this is a common recommendation because we usually hear sound travels faster than light Just gonna give one or two more frames onto that Now I'm gonna very simply just measure the distance between These two points. So this is where we were hearing the clap sound This is where the clap sounds on the on the video plus a couple of frames And then all I need to do is go and edit duration and you can see it's zero point zero six So just use a quick converter and just go seconds Seconds to milliseconds. Well, that's gonna be 60, but you know just to demonstrate anyway So zero point zero six of a second equals 60 milliseconds So that means that we're gonna need to apply a positive 60 millisecond Latency I got 70 on the last step so you can play around with these tiny increments What I'm gonna do now is go ahead and go into my Audio here advanced audio properties, and I'm going to add the sink delay at 60 seconds So just think about that we heard the sound then There was where the sound should be and Another video that I find helpful to explain this is that the sound feed is lighter for OBS So it reads that first then it reads the heavier video feed And what we do what we want to do therefore is just push back the sound feed that tiny bit So that's that's what we're doing here. So it's gonna go ahead again and try with the 60 millisecond delay one two three Stop that recording and let me just clean up here Delete this guy and let's just grab this guy And now let's just see how we're doing You can see where my clapping is One two three, so we're getting now we've got it down to this You can see the frame where the sound so we're actually lagging a tiny bit now So we're actually having the video is coming before the same so we've just so you know You can just take a couple of times And just gonna get the center of this waveform here And this would actually be applying this so we'd be Subtracting the delay here. This is zero point zero three. So if we do the math here 30 to 60 We'd be subtracting that but it's getting pretty close So that's basically roughly and it's kind of obviously as I said a rough method You can do this as many times as you want to try to find the exact delay But that should at least get you I know that I'm somewhere between 60 and 70 milliseconds delay And that's accurate enough for me that the lag issue is not going to be like hardly noticeable Thanks for watching guys if you'd like to see more tutorials for me Then please feel free to subscribe to this YouTube channel