 Hi guys, welcome back to my YouTube channel. This is Daniel Rosal here. So, I wanted to make a video demonstrating the process of trying to fix up a audio video latency in two different ways. One is in OBS Studio and the second one is going to be using Pulse Audio. This is really just applicable for a bunch of users. I'm using OBS here on Ubuntu Linux and I say that because Pulse Audio is a mixer GUI for Ubuntu so you'd want to be using Ubuntu for this to be useful to you, this info. So first things first, how would you apply a latency on OBS? Now, I have shown this before but I do think it's really important and I make these videos as much for myself as for other people so I'm going to show it again. But before that, I'm going to say a bit of theory. It's way too fancy. What is latency? What are we doing? So, positive, negative latency or sync offset as it's labeled here. We're doing a clap, let's say, and we want roughly the audio and video to be in sync. Now what would happen if we were to clap, let's say, and we firstly saw the clap then we heard the clap. So the audio is a bit offset but we can apply an offset in order to fix that. So in that case, we would need to be bringing the audio back a bit, right? So again, we heard, we saw a clap then we heard a clap. So that would actually be a negative sync offset. So if you're in this advanced audio properties menu, you get here by the way by going into your audio mixer, right click and then you will want to, then you will want to click on advanced audio properties and you'll get this dialogue open. And you can go negative. So don't think it's only positive just because there's zero. Now we're looking here at milliseconds. So these are actually very small units, 1000 milliseconds in a second. And so when even if we're applying like a minus 300 millisecond latency, we're actually only the offsets just like three tenth of a second, right? If we're playing a 1000 positive offset, then that is a full second positive offset. So I'm trying to look around for props here to not prepare this properly. They just use my hands. Nothing else will work. Audio and video, let's say this guy's video, this guy's audio. So 1000 positive, we'd be moving the audio track up forward by 1000 milliseconds or one second. Negative latency, we'd be pulling the audio just a little bit back. And the case for negative would be if we needed to pull the sound back so we, you know, saw the clap or we saw the clapper board. And then we heard so we need to pull the sound back to get that good alignment going on. So that's one way. So this is doing it in the I'm going to go back to 70. This is doing it in OBS studio, which is good. So just make sure you have your microphones labeled intelligently in some way because, you know, if you are working with multiple mics, you do not want to apply latency to the wrong microphone. So live is not particularly good. So I'm going to call this podcasting one. And it looks like you're going to have to exit out and bring it back up for that to take effect. But now it has taken effect. So if you're recording with a bunch of microphones in your studio, podcasting mic, live mic podcasting for Daniel podcasting for, you know, someone else. So all these just be descriptive so that you can be sure that you are applying a offset to the correct microphone and not to someone else's microphone. Okay, so that's number one doing it in OBS methodology to is using post audio. So let me just bring over the post audio control panel here. And post audio is a GUI for for Linux Ubuntu, I'm not sure other Dabian distributions, but in any event, you can click into input devices and you can see your microphones. So you're seeing now the Maono microphone I'm using it's a podcasting condenser mic. And the firmware often gives it kind of weird names Maono fairy. I don't think this is called a fairy, but you know, you'll get to know which is your microphone just by looking at the levels. And just another thing I do is I if I'm not using a microphone so this webcam you're watching me speak into also has a built-in microphone. And because I don't want to record into it now if it's not in my sources in OBS, it's not going to be as far as I know the audio is no way to seep in to the track. But nevertheless, I just if I'm doing recording in the tool like this I just mute it so that there's no chance of that even happening. So I'm just going to mute the source there. Now, you may notice that to the just beneath the level mixer, the level bar here, we have a we have a latency offset. So this is another place you can apply an offset. And again, you can see here milliseconds. And what you can do is just going to turn on my cursor movement so you can see where I'm trying to point to. And here you are able to apply a latency positive or negative. So you can go for 2000, which is two seconds positive latency or you can go for minus 2000, which is minus two seconds or two seconds negative latency. And why might you want to do us here and not there here being pulse there being OBS. So if you were recording your mic into a bunch of different sources, you know, such as a audacity or OBS or zoom meetings across the board, then it would make more sense to apply that latency at the mixer for the operating system than at the mixer for the each individual application. Or that would be my thinking about it anyway. So what I'm going to do now is go ahead and just show you guys a couple of clips I recorded of me practicing the gear. And I did a 60 second 60 millisecond latency for this microphone. Firstly, did it in OBS. Secondly, did it in in post audio. So just going to put myself on mute for this microphone and you can watch these. Okay, now this is 60 milliseconds of positive latency offset the same offset. But this time this was configured in pulse audio advanced audio properties. Okay, this is 60 milliseconds of positive latency configured in OBS studio. Just unmuting my mic now so you saw those two clips first one was same same latency applied and hopefully they look pretty similar. Quite interesting. You can see how quickly the light changes in this room. That was I took those clips like one hour ago and just because the sun is setting it's already like totally different lighting conditions. In any event, I hope that was useful at two places. You can change latency in your computer for recording these videos. And if you'd like to get more videos about OBS video audio Lennox Jerusalem. As you can see, I have not segmented this YouTube video by topic very well. Thank you guys watching feel free to subscribe and look forward to more videos coming out soon.