Question / Help Stream audio in sync, local recording is not

Andyb0y

New Member
I am at my wits end here. I cannot seem to get the "adding audio buffering X milliseconds" to stop when recording or streaming in OBS Studio 17.0. Over time, 21 milliseconds keep getting added until the game, my webcam and my mic are out of sync. Any help please?
 

Attachments

  • 2017-01-16 00-56-33.txt
    15 KB · Views: 12

c3r1c3

Member
obs_hotkey_thread(25 ms): min=24.545 ms, median=25.043 ms, max=31.682 ms, 78.1962% within ±2% of 25 ms (0% lower, 21.8038% higher)

Something in your system is having some trouble keeping up.

Having 2 bandwidth (and interrupt) hungry USB2 devices isn't the best of ideas. Try using MJPEG for your webcam, and if you need more, try lowering the Elgato's resolution (by lowering the resolution of what ever is hooked up to it) to 1280x720.

Guide for getting the most out of your webcam - http://obsproject.com/forum/threads/getting-the-most-out-of-your-webcam.1036/
 

Andyb0y

New Member
obs_hotkey_thread(25 ms): min=24.545 ms, median=25.043 ms, max=31.682 ms, 78.1962% within ±2% of 25 ms (0% lower, 21.8038% higher)

Something in your system is having some trouble keeping up.

Having 2 bandwidth (and interrupt) hungry USB2 devices isn't the best of ideas. Try using MJPEG for your webcam, and if you need more, try lowering the Elgato's resolution (by lowering the resolution of what ever is hooked up to it) to 1280x720.

Guide for getting the most out of your webcam - http://obsproject.com/forum/threads/getting-the-most-out-of-your-webcam.1036/

Even after changing the webcam to MJPEG, it's still adding audio buffer over time and I'm not doing anything. I just have OBS Studio open. I need to sleep but can't until I can figure out what the problem is.
 

Andyb0y

New Member
Tried a reinstall yet again, wiped all settings and traces of OBS Studio from my system and it still adds audio buffer even when the program is just sitting there open not doing anything. Any solutions besides a complete OS reinstall to possibly fix this?
 

Andyb0y

New Member
Ok, it seems I've narrowed down the issue. When I just record, the audio and video are in sync. When I try to record and stream at the same time, the recording is out of sync but the stream is in sync. Even changing the encoder from x264 to Nvidia doesn't change the out of sync recording. It's out of sync from the very start of the recording when I stream at the same time.

Any ideas on what the cause is?
 

c3r1c3

Member
Sounds like a case of USB interrupt overload.

That said there is a audio buffering update for some devices/sources coming in 18.0.0, so keep an eye out for that, and hopefully it'll help... but keep in mind that if you're suffering from USB interrupt overload (or bandwidth overuse) you'll still have some issues.

One last thing comes to mind. Try reducing the load on your CPU by lowering your record/streaming resolution (settings->Video->Output (scaled) resolution) and see if that helps.
 

Andyb0y

New Member
Sounds like a case of USB interrupt overload.

That said there is a audio buffering update for some devices/sources coming in 18.0.0, so keep an eye out for that, and hopefully it'll help... but keep in mind that if you're suffering from USB interrupt overload (or bandwidth overuse) you'll still have some issues.

One last thing comes to mind. Try reducing the load on your CPU by lowering your record/streaming resolution (settings->Video->Output (scaled) resolution) and see if that helps.


Thank you for the help. I am going to just line up the audio in the recording in post. It's not that big of a pain but just an extra step. I hope an update fixes my issues.
 
Top