Question / Help Webcam / Audio Out of Sync!

MetroStratics

New Member
Hey guys, I just want to say I love OBS and all the effort put into it. I use it for recording and streaming in almost every single situation anymore and am really satisfied.

The one massive issue I have with it recently is my webcam getting out of sync with the audio.
This may actually happen all the time, but its hard to tell since it only becomes obvious when I see myself speaking and its .5 second off what I'm actually saying.

It seems to be related to a small snag in the audio where I seem to "drop frames" on just the Audio. For example, I would try to say

"Hey guys welcome to another episode of some random blah blah"
and what actually comes out is
"Hey guys wel to another episode etc"
I miss like one syllable of a word towards the first minute of a recording and it causes everything to go arry.
Maybe this happens all the time and isn't related to the cam?

Either way its causing some less than favorable situations.
Here is an example:

https://www.youtube.com/watch?v=Vk3HIlgyXCs
You see this happen at around 0:27. I basically skip a very short part of the word "review" resulting in "rew" and causing the audio to go out of sync from then on.

Also have an example from a livestream:
https://www.youtube.com/watch?v=j3LquhhoM6Q
Not really sure when it happened there, but you can see by the end its happened. Peculiar that its still only that same part out of sync though, not like exponentially getting worse.

I have some logs from around that date, but can't really figure out which one it is. Either of these seem to be the ones.
http://pastebin.com/13DJBhNB
http://pastebin.com/Pr5PjRm0

I've googled this issue and see threads from 2013 etc saying to link the mic to the webcam, but that doesn't really effect this situation, as the audio actually skips a bit and its not simply that they aren't synced from the start.
Anyway, hopefully you guys can help me fix this! If I can't I may be decommissioning the webcam for now!
 
I had this problem not long ago. It had something to do with my microphone sample rate in Windows. Make sure its the same as your settings in OBS. If not then you'll get an audio desync problem. Another thing you could do if you didn't do it is go in your properties in your webcam source and from there select your microphone and in your setting / audio, disable that microphone. That way you'll know your mic will be synced correctly with your webcam
 
Good tip on the sample rate.
My default format in windows was 44k, now I maxed it at 48k.
Where do I see the Sample rate in OBS though? Is the part in Encoding > Audio Encoding > Format?
If so, it was 48k default, so they weren't aligned. I'll try that this week and see if it fixes, but your issue was the same right?
That is started out perfect and then some weird audio lag occurred and caused it to desync and never change again from there?
 
Good tip on the sample rate.
My default format in windows was 44k, now I maxed it at 48k.
Where do I see the Sample rate in OBS though? Is the part in Encoding > Audio Encoding > Format?
If so, it was 48k default, so they weren't aligned. I'll try that this week and see if it fixes, but your issue was the same right?
That is started out perfect and then some weird audio lag occurred and caused it to desync and never change again from there?


That should be in Settings\Encoding and you'll see format in the audio section. set it to 48Khz and test away. Hope that helps

my issue was't the same exactly but almost. I start to talk in my webcam but .5 seconds later I heard myself talk. So it was a desync issue. The problem seemed to be the sample rate not being the same for some odd reason. my mic in my windows was set (reset perhaps ?!?) to 44Khz and my OBS settings was set to 48Khz. so different sample rate will create a desync.

From the log you posted, your OBS is already set to 48Khz sample rate so if your windows microphone setting was set to 44khz its possible that was the problem.

Furthermore, like I said before you could disable your microphone in your settings, then go in your webcam source and in there set your microphone in Audio Input Device. That way you'll be sure 100% that your audio mic is synced to your webcam video
 
The 44.1/48 thing shouldn't cause an issue that severe (or at all, really; 48KHz recording was added for some finicky hardware that refused to put out 44.1).
I was having a similar microstuttering problem myself, and it turned out to be a system clock desync between the PC and device. Go here: http://forum.exkode.com/index.php?topic=324.0
Grab AudioTimerMonitor, unzip, run, and hit the play button. Wait for five minutes. Your offset/difference (at the far right) should stay at or near zero; at the most, in the very low double digits.

Normally it's caused by a bad overclock apparently, though I was using an 'eco mode' program (ASUS EPU-6) to dial back my machine while I wasn't really using it. The program dinked things up on the timings side apparently, just loading it. My fix was to stop using it entirely, problem solved.

Fluffy's issue sounds... well, more like it was just standard capture delay. It can take half a second if you're using 'listen to this device' for some reason, to loop the audio back out through the speakers.
 
The 44.1/48 thing shouldn't cause an issue that severe (or at all, really; 48KHz recording was added for some finicky hardware that refused to put out 44.1).
I was having a similar microstuttering problem myself, and it turned out to be a system clock desync between the PC and device. Go here: http://forum.exkode.com/index.php?topic=324.0
Grab AudioTimerMonitor, unzip, run, and hit the play button. Wait for five minutes. Your offset/difference (at the far right) should stay at or near zero; at the most, in the very low double digits.

Alright, cool checked that out and ran it for exactly 5 minutes.
It ended as follows:
http://imgur.com/mIi29iA

Is that a bit peculiar?
The Logitech USB is what I use for my daily recording and audio.
I never use the actual webcam built in mic, in fact I thought it was disabled but it was picking up sound, and didn't seem to have the offset the others did.
Is that a concern at all or not really?

Either way, it being only 4ms... is that significant?

Past that, I don't have anything not default done on my computer like overclocking etc so can't imagine how that's in play.
Thanks for your help though man!
 
Nope, that isn't the problem. In my case I was at 2500+ offset.
On the off chance, are you recording to MP4? Don't do that if so; it has a lot of problems. Record to FLV and fast-remux from there if you need a different format.
 
Back
Top