Question / Help Cam/Audio Losing Sync A Few Minutes Into Recording

RPGMack

New Member
Hello,

I apologize if this was already answered, but I couldn't find a solution in any of the other posts that I've read. I'm having an issue where the audio for my webcam loses sync with my webcam video, and I'm not talking about a gradual loss. It starts out perfectly synced and then there's a visible 'hiccup' a few minutes in. From then on the audio is very noticeably lagging from the webcam. The audio in the game itself is always perfectly synced with the action, so this is only the webcam audio/video that is losing sync.

I monitored my CPU usage during my most recent recording, and it stayed around the 35-40% range. There was only one brief spike that went to around 60%, but it happened long before the 'hiccup', so I don't think my CPU has anything to do with the problem. I'm not using an Elgato, and I am not streaming. Any suggestions you could give me would be greatly appreciated.

I've attached my log below (I was getting an error when trying to 'upload' directly from OBS). Thanks in advance!
 

Attachments

  • 2015-12-17-1425-01.log
    7.8 KB · Views: 17

dping

Active Member
Hello,

I apologize if this was already answered, but I couldn't find a solution in any of the other posts that I've read. I'm having an issue where the audio for my webcam loses sync with my webcam video, and I'm not talking about a gradual loss. It starts out perfectly synced and then there's a visible 'hiccup' a few minutes in. From then on the audio is very noticeably lagging from the webcam. The audio in the game itself is always perfectly synced with the action, so this is only the webcam audio/video that is losing sync.

I monitored my CPU usage during my most recent recording, and it stayed around the 35-40% range. There was only one brief spike that went to around 60%, but it happened long before the 'hiccup', so I don't think my CPU has anything to do with the problem. I'm not using an Elgato, and I am not streaming. Any suggestions you could give me would be greatly appreciated.

I've attached my log below (I was getting an error when trying to 'upload' directly from OBS). Thanks in advance!
change x264 preset to superfast, change custom buffer to 0 (not scene buffering)

now in windows, check the playback and recording devices by double clicking on each and going to the advanced tab. check the audio format. are they 44100Hz or 48000Hz? whatever they are set to, set OBS to that format. all of these need to be the same.

you have a webcam but its not in the scene in the log you posted. what is the resolution. recommended to reduce resolution to 1280x720
 

RPGMack

New Member
change x264 preset to superfast, change custom buffer to 0 (not scene buffering)

now in windows, check the playback and recording devices by double clicking on each and going to the advanced tab. check the audio format. are they 44100Hz or 48000Hz? whatever they are set to, set OBS to that format. all of these need to be the same.

you have a webcam but its not in the scene in the log you posted. what is the resolution. recommended to reduce resolution to 1280x720

Thank you for your suggestion. I'll go ahead and change my preset to superfast and custom buffer to 0. Regarding the audio format, it's 48kHz, which I had already set OBS to. I also had already reduced my webcam to 1024x576, because it was too much for my computer to handle at its default resolution. I'll let you know if I'm still experiencing the issue once I do a test.
 

RPGMack

New Member
Alright, so I tested it again, and it happened again - even with the recommended changes. This time it happened very early, about 95 seconds into the recording. I'm not sure what is causing this abrupt change in delay. I've posted the most recent attempt below.
 

Attachments

  • 2016-02-25-1629-26.log
    14.9 KB · Views: 10

dping

Active Member
Alright, so I tested it again, and it happened again - even with the recommended changes. This time it happened very early, about 95 seconds into the recording. I'm not sure what is causing this abrupt change in delay. I've posted the most recent attempt below.
rebuild webcam as a global source.

check your audio format of mic and headset, make sure OBS is set to the correct format 48000Hz or 44100Hz.
 

RPGMack

New Member
rebuild webcam as a global source.

check your audio format of mic and headset, make sure OBS is set to the correct format 48000Hz or 44100Hz.

Thank you again for your recommendation. I'm a bit confused now, as I just went into my webcam's microphone in audio devices and it says it's only 32000Hz, 2 channel, 16 bit... I don't see a 44100Hz or 48000Hz setting. I'm using a Logitech HD Pro C920 webcam for my mic. Does this mean that my mic is not compatible with OBS?

Maybe I'm looking in the wrong place. I'm using Windows 10 and I went to Control Panel > Hardware and Sound > Manage Audio Devices, double clicked on my microphone under the Recording tab, and then went to the advanced tab. Under the Playback tab my speakers are at 48000Hz, but I think that's different. Sorry about any confusion here.
 

dping

Active Member
Thank you again for your recommendation. I'm a bit confused now, as I just went into my webcam's microphone in audio devices and it says it's only 32000Hz, 2 channel, 16 bit... I don't see a 44100Hz or 48000Hz setting. I'm using a Logitech HD Pro C920 webcam for my mic. Does this mean that my mic is not compatible with OBS?

Maybe I'm looking in the wrong place. I'm using Windows 10 and I went to Control Panel > Hardware and Sound > Manage Audio Devices, double clicked on my microphone under the Recording tab, and then went to the advanced tab. Under the Playback tab my speakers are at 48000Hz, but I think that's different. Sorry about any confusion here.
if you go into recording devices you should see your webcams mic in the list there. double click it and go to advanced. use the drop-down to change it to 48000Hz. Either way it is best of all audio devices match or expect issues like this.
 

RPGMack

New Member
I did attempt to do this, but as I mentioned, I don't have a 48kHz or even a 44.1kHz option. I guess I'll have to find a different microphone or something. I'm still confused as to why this happens though, especially when it works just fine at the beginning of each recording... and it doesn't do this when I'm only using the webcam audio and not the camera itself. If I spend money on a mic with 48kHz audio format, how will I know that this won't keep happening?
 

dping

Active Member
I did attempt to do this, but as I mentioned, I don't have a 48kHz or even a 44.1kHz option. I guess I'll have to find a different microphone or something. I'm still confused as to why this happens though, especially when it works just fine at the beginning of each recording... and it doesn't do this when I'm only using the webcam audio and not the camera itself. If I spend money on a mic with 48kHz audio format, how will I know that this won't keep happening?
you could try and update the driver for the webcam. not sure though.
 

RPGMack

New Member
So, I purchased a mic that allows me to record at 48kHz and made sure that all of my drivers are up to sync, including the one for the webcam. I adjusted my webcam source (which is now a global source) to use my new microphone as the audio input device, and I tried to do another recording. Like before, it was perfectly in sync at the beginning and then a few minutes into the recording the audio suddenly starts to lag. Again, it's not a gradual desync, it is a very sudden one. I made sure that the microphone was set to 48kHz prior to recording, and OBS is still set to encode using a 48kHz audio format. Any other ideas as to how to solve this?
 

dping

Active Member
Just in case it will help, here's the new log.
set your old mic on your webcam to disabled. double click on the video capture device for the c920 then for the mic disable it. it was still active. dont set it to the yeti, just outright disable that input.
 

RPGMack

New Member
set your old mic on your webcam to disabled. double click on the video capture device for the c920 then for the mic disable it. it was still active. dont set it to the yeti, just outright disable that input.

Thank you for the suggestion. I just went into my recording devices - similar to where I can alter the microphone's audio format - right clicked on the C920 mic and selected disable. Is this the same thing as what you recommended?
 

RPGMack

New Member
Just an update: my problem has been solved!! I did exactly as you said, and did two separate recordings, and it remained synced throughout both. There were a couple of times where there was a brief hiccup, but it fixed itself after a couple of seconds, which is a great improvement from where it was before. Thanks again!
 

dping

Active Member
Thank you for the suggestion. I just went into my recording devices - similar to where I can alter the microphone's audio format - right clicked on the C920 mic and selected disable. Is this the same thing as what you recommended?
That wasn't the instructions that I wrote but apparently it worked. read what I wrote again just as an extra layer of protection.
 

RPGMack

New Member
That wasn't the instructions that I wrote but apparently it worked. read what I wrote again just as an extra layer of protection.

I had read your note multiple times before I made any changes, but I found them a bit incomplete. That is why I asked my clarification question in the comment you quoted. Reading over it again I am still unclear as to where I should 'double click on the video capture device'. Just in case someone else finds this post and has the same issue, could you provide this clarification? Also, if someone asks a question to try and understand what you wrote, it would be more helpful to explain further instead of suggesting they read the comment again. Assuming that they didn't read your initial comment well enough may result in providing poor customer service.
 

dping

Active Member
I had read your note multiple times before I made any changes, but I found them a bit incomplete. That is why I asked my clarification question in the comment you quoted. Reading over it again I am still unclear as to where I should 'double click on the video capture device'. Just in case someone else finds this post and has the same issue, could you provide this clarification? Also, if someone asks a question to try and understand what you wrote, it would be more helpful to explain further instead of suggesting they read the comment again. Assuming that they didn't read your initial comment well enough may result in providing poor customer service.
The input from the video capture device that you made for your webcam. this is under "source" on the main window of OBS. double click it and under there you'll see place for mic input. disable the mic there since the yeti is already selected in the audio section of settings in OBS.
 
Top