Question / Help Audio gets out of sync

Hansaplast26

New Member
Hi there. I am using OBS since a couple of weeks now. Recently upgraded to v25, and today got the v25.0.8 version. The following issue I see on two macbooks and obs v24 and v25.

I started of with just a USB webcam but quite quickly upgraded my setup and added an IP camera. Pretty obvious that the IP camera involved a delay, so I do a clap test and adjust the audio sync offset accordingly + add a filter delay for the 'faster' USB webcam.

All great, but I keep on noticing that my audio sync offset is drifting, after roughly 40 minutes i see a delay of 1060 ms.
I don't think I am doing anything stupid with regards to frame rate, all 25fps, using the x264 encoder.

attached is the log. i started fiddling at 10:16 am, started streaming 10:21, but the event started at 10:58 (when i actually went live).
 

Attachments

  • 2020-04-28 10-16-27.txt
    22 KB · Views: 24

Hansaplast26

New Member
I found a solution: instead of using media source for my IP camera (over RTSP), I started to use VLC capture. This was the solution, exact same behavior I've seen with OBS on Windows.
 

nadasizoltan

New Member
Hello,

I think we have the same problem like you.
We want to build a sreaming system in our church with 3 cameras. We have ptz ip cameras with rtsp stream, an analog audio mixer and we wanted to use the OBS program for streaming, but we noticed that the videos from the cameras are in delay, compared to each other, and also compared to the audio from the analog audio mixer.
In the OBS we can adjust the audio and also the video delay parameters, but we noticed that each time we restart the OBS, the 3 video feeds and the audio feed are delayed in a random way, so the previously adjusted delay compensation parameters are not covering the actual delay situation.
The builders of the system said that maybe using vMix instead of OBS will solve the problem.
How did you setup the VLC capture? How does it work?

Thank you in advance!
Zoltán
 

nsbyrer

New Member
I am using two Amcrest IP2M-853EW cameras to livestream sporting events for a high school. Like you, we have a audio mixer setup for the announcers, crowd noise, etc. We have had to set an audio delay for the audio coming into the computer from the mixer to try and get the audio and video in sync. It seems that the delay is always a bit different from game to game. I'm going to try VLC Capture as @Hansaplast26 suggested.

@Hansaplast26 ,when using VLC Capture, are you still using the RTSP stream from the camera?
 
Top