Audio/video desync after a scene change

Angevil

New Member
Hi, I'm here on behalf of a friend, I'm not the streamer (on Twitch).
Well, I've been trying to help her find a solution, but for all the searches I've done and word combinations to find a possibly similar problem, I've never succeeded.

The problem has been present for some time, and this also limits his possible willingness to do new things.
In short, the problem is that when she changes the scene, putting a BRB transition (we tried both with the stinger one and the standard one), most of the time it happens that the audio goes into desync (only of the streamed game, not of the cam).
Basically from the audio you hear the shot, and about 200 or 250ms later there's the animation (I don't know if it's the audio that has gone into desync or the video).
PS. her pc is high-end, so she shouldn't have any problems.

The solution obviously was to restart the live, but the last time, she tried deleting the audio track and redoing it and the audio came back in sync.
Now this doesn't have to be a solution for this problem, and what I wanted to know is if anyone had the same problem or know where to go and look to fix this problem (I tried everything but I couldn't find a solution to report to her).

If you need various or other data to find out, I will act as an intermediary and ask her for the things you need.
 

AaronD

Active Member
It doesn't sound like you're using the Monitor, but for some background:

It's been well-known for several years (at least) that the Monitor slowly desyncs over time. That's because it's locked to the selected hardware (or virtual) device and therefore has a different clock from the rest of OBS. Instead of resampling, it just grows the buffer to the point of being uselessly out of sync.

The solution is to "blink" (mute/unmute) or otherwise disrupt the audio going to the Monitor, which resets the buffer and thus the sync. You can do that by clicking the mute buttons, assigning a hotkey to them, or with a script that just does that periodically. You can even do that without disrupting the stream, by having a separate copy of everything: one copy goes to the stream, and the other goes to the Monitor, and you only blink the Monitor copy.

Again, it doesn't sound like you're using the Monitor, so that may not be your problem, but I wonder if it could be a workaround anyway. No need to delete and re-add; just blink the mute button? You might even get away with doing that live, and a lot of people will just chalk it up to a random glitch and not notice.

That's not a real solution of course, but I'm afraid I don't have one.
 

Edwo

New Member
this is the real solution :)

very simple plugin, just copy paste it into the obs folder and then you have the new source option to capture audio.
there you have more features like capturing different audio seperatly
but you can also just put everything into 1 source
 
Top