obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
60.26k stars 7.98k forks source link

Audio drop-outs/stutters using audio-interface, happens with OBS Studio only #5106

Closed drake5000 closed 3 years ago

drake5000 commented 3 years ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/lM41QUmjbXR5bb-n

OBS Studio Crash Log URL

No response

Expected Behavior

Audio flow should be without any stutters

Current Behavior

Audio drop-outs/stutters using audio-interface, happens with OBS Studio only

Steps to Reproduce

Every time I record/stream with audio-interface, both "desktop" audio and input (mic) audio track constantly and randomly (every 3-5 minutes) drops out for a short period of time, which sounds like stutter or click.

Anything else we should know?

While using audio-interface Behringer UMC204HD with OBS Studio, audio (both microphone and windows audio tracks) constantly and randomly (every 3-5 minutes) drops out for a short period of time, which sounds like stutter or click. On the spectrogram it looks like this:

https://i.imgur.com/oLhlLQd.png

Most of the time the length of these drop-outs is 20 ms.

These steps were taken in order to localize the issue:

In OBS:

...and many many other things that I already forgot. But I promise, I tried A LOT.

Now let's look at situations when this DOESN'T happen:

After all these tests I plugged in my Blue Yeti USB microphone - same issue. Audio drop-outs while using OBS Studio. Then I managed to find another interface (borrowed an ancient M-Audio Fast Track from a friend). Same again. Another thing. One time I was able to reproduce and intensify these particular 20ms drop-outs by messing up sample rates (48000 in one setting and 44100 in another). Maybe this suggests something in OBS recording/encoding/syncing algorithms makes audio-device to re-switch its sample rate?

What's going on here?

I was on the brink of buying another interface, but now I understand there's zero point doing that.

There were quite a few topics about same issue, with this one most similar to mine: https://obsproject.com/forum/threads/audio-dropouts-when-recording.123058/

My system is Windows 10 21H1 and CPU - i7 7700K.

Thank you

Fenrirthviti commented 3 years ago

Please use the Discord or Forums for support, thanks!