Question / Help Audio delay in recording when streaming at the same time

Plak

New Member
I am streaming and recording with multitrack audio at the same time and am getting audio sync issues on a single track in the recording only when streaming.

Setup is as follows:
3 Audio Sources: Game, Microphone, Voip
Track 1: Game + Microphone + Voip
Track 2: Game
Track 3: Microphone
Track 4: Voip

Track 1 is streamed along with the Video.
All 4 Tracks are being recorded.

Track 1 is early by around 500ms on the recording but is fine on the Stream.
Track 2 - 4 are fine on the recording.

This only happens when I stream and record at the same time.
When I only record and do not stream all 4 audio tracks are in sync.

Stream goes out with 3.5Mbit/s.
Recording is done with 20MBit/s
Intel Quick Sync is used on stream and on recording.

OBS Studio 0.13.4 64bit, windows

Did anyone encounter this problem or can possibly reproduce it.

Log File:
https://gist.github.com/a1b3a5a29f50ed8c8946ab54ffbfaf87

Short video examples:
Recording only: https://youtu.be/m5W9N3TGmrc
Stream and recording: https://youtu.be/cDYeuPPVrNY
 

Plak

New Member
The problem is still there when using x264 on stream and Intel Quick Sync on recording.
x264 on both does not solve it either.
I have seen lag up to almost 12 seconds on track 1 with some recordings.
 
Last edited:

Plak

New Member
I did find a quite simple way to get rid of this specific lag.
I have switched on buffered streaming. Even with a buffer as low as 3 seconds no lag appears on the recorded audio tracks.
 
Top