Bug Report Audio out of sync INTERMITTENT

jhebbel

New Member
Cant stress this enough, this issue is INTERMITTENT, I am trying to make this super clear because last time I asked for help on this everyone just told me to adjust offset. Adjusting offset is fine if the delay is consistent but not when it comes and goes.

And it's not the playback software either... If the audio can only be in sync in VLC but not DaVinci Resolve, Adobe Premiere, or Sony Vegas, then the issue is with the encoding, not my choice of playback software... (but also out of sync in VLC anyway)

I just recorded a video where the audio was out of sync by a second give or take, didn't notice it until I played it back because the live monitoring and the levels were all perfect, so the issue is isolated to the encoding. When I noticed the issue I immediately started OBS again and made a 2nd recording, this time it was perfect. No settings were changed, no other apps on the PC were opened or closed, the only thing that took place between the 2 recordings was OBS was closed then re-opened.

My PC is fairly high spec'd so I doubt anybody could cast the blame on that but for the sake of completeness here are the specs:
i7-9700k
32GB ram
1080 Ti
ADATA PCIE 3.2 NVME SSD (This is my recording drive)

I have been having this issue for a couple years, as have a lot of other people from what my Google search has revealed, but it seems to keep getting shoved under the carpet since not 100% of people have the issue...

Log 2019-03-15 10-08-54.txt (this is the recording that was out of sync
Log 2019-03-15 10-30-48.txt (This is the one that was just fine a few minutes after the other one finished)
 

Attachments

  • 2019-03-15 10-08-54.txt
    10.7 KB · Views: 26
  • 2019-03-15 10-30-48.txt
    9.3 KB · Views: 17

Fenrir

Forum Admin
I see that you're using a capture card. What audio specifically is out of sync? Your desktop audio on your PC? Your mic? The game audio from the capture card?
 

jhebbel

New Member
I just did another video and the audio was a whole 5 minutes off.... I just cant do this anymore with OBS, you guys have better features and are free, but if it doesnt work then it doesnt work for me. I hope you guys fix this because every other thread I have found on google with identical issues has been brushed aside.
 

Fenrir

Forum Admin
We do not brush these issues aside, but you need to understand that OBS captures external devices for audio. We use the APIs provided by the operating system (in your case, Windows) to say "give me this devices audio" and it is sent over. Our internal audio sync is accurate down to the nanosecond. However, if the external device is having issues, such as USB overload or not sending proper timestamps due to either as performance issue or some other kind of driver bug, there is not a whole lot we can do on our side.

If your audio is desynced that much, you are probably overloading your USB ports. I see pretty much every audio device you're trying to use is USB. It is a common misunderstanding that USB bandwidth is infinite and that you can plug as many devices as you want in to a PC and they will all work properly. Also, from your log:

video device: Game Capture HD60 S (Video) (#01)

You have a capture card that is being loaded, in full 1080p, as well as a webcam being loaded in full 1080p. You also seem to have two audio devices that are also USB. I would recommend that you either disconnect the capture card when it is not in use, or turn the resolution down on the webcam (if you're not using it fullscreen, it will actually look better running in a lower resolution than scaled down 1080p).

tl;dr you're overloading your USB ports, and that is what is likely causing the problem.
 

jhebbel

New Member
I only plug one device into each port because the cam does use a lot of bandwidth, and I also use xsplit and vmix and never have issues with those. I also said that I don't use the capture card. The only devices in use when I have issues are a webcam and us mic.
 

Fenrir

Forum Admin
You're misunderstanding here. Your motherboard will only have one root hub on it, maybe 2 if it is very high end, which shares all bandwidth between all devices. Please test by disconnecting the capture card if you are not using it, and see if that improves things.

We don't do anything drastically different than xsplit or vmix when it comes to access audio/video devices as far as I know, but their code is not open source so it is impossible to verify if they are doing anything differently. There's not really many options for this type of capture, though. I am willing to bet the settings are not quite the same between the programs.
 

jhebbel

New Member
No, your misunderstanding me, I am fully aware of how USB hubs and ports work, and I am NOT overloading anything. With all other devices removed and only my camera and mic I have these issues, whereas I have no issues in xsplit or vmix.

If you are going to make me keep repeating myself then I might as well give up and buy the full vmix license
 

Fenrir

Forum Admin
Also, the capture card is still connected to your PC, added as a source in OBS, and is being loaded in the log files. Just because it's not active in the current scene does not mean it's not loaded, that can explain the difference between xsplit/vmix and OBS. All sources in OBS are global, and will be loaded regardless if you're using it or not. This is why I'm asking you to please test by either removing the source from OBS, or disconnecting the capture card.
 

jhebbel

New Member
3rd time now.... I have tried with no other devices. And just so YOU know, elgato devices don't use any USB bandwidth when no source is plugged in and it's not active.
 

Fenrir

Forum Admin
Can you provide the log file from that test please? Both provided log files have the Elgato capture card loaded, and that is the only information I have to go off. If you have done additional testing, please provide those logs as well.
 
I have the same problem , my Blue Yeti audio is Real Time , but my camera has some delay ( Logitech C920 ) so i have to offset delay my mic audio to 250 or 300 ms sometimes but the thing is that as @jhebbel says, its not always the same delay, sometimes its 100 or 0 or 250ms so thats the thing , i will try disconnecting all my USB couse i have full all, try disconnecting my PCI elgato HD 60 Pro and removing the elgato Source and will tell U if there is delay again once thanks wanna solve this tricky problem!!
 

jhebbel

New Member
I just switched to vmix, never had these issues with them and their developers are a lot more active and knowledgeable.
 

jhebbel

New Member
Yeah nothing at all changed hardware wise, still have my elgato and even now cam link captures all plugged in, mimiced the settings as best as possible and use it for both streaming and local recording. There is a bit more learning curve as it is more "pro-sumer" grade software, but it's worth it.
 

jhebbel

New Member
Yea, sorry, sounds like you found the same bug as me. Same logitech camera and and similiar blue mic.

unfortunately no one who actually handles support on the forums seems to have any actual development experience, they make you jump through hoops, ignore things you say, tell you to do things that make no sense, and ultimately they throw their hands up in the air and walk away. Like I said, I've tried a few times over the years to get this bug corrected.
 
Top