Big lag in video over audio

FALLENDOVE

New Member
I have 31.1.2 version of OBS Studio. I am using a usb hmdi 3x ptz camera connected via usb 3.0 connection. I have wireless microphones that are controlled by an audio mixer connected to the mic input on the rear of a windows 10 computer, 16gb ddr4 ram I5 intel cpu. latest updates installed. My network is made up of a hardwired fiber optics connection yielding 90 mbps upload speed (using their speed test online)

I have about a 2 second delay in the video being out of sync with the audio supplied. What is the best way to delay the video to bring the live stream into sync?
 

PaiSand

Active Member
Please do not ignore the pinned post on this forum.
 

bcoyle

Member
I have 31.1.2 version of OBS Studio. I am using a usb hmdi 3x ptz camera connected via usb 3.0 connection. I have wireless microphones that are controlled by an audio mixer connected to the mic input on the rear of a windows 10 computer, 16gb ddr4 ram I5 intel cpu. latest updates installed. My network is made up of a hardwired fiber optics connection yielding 90 mbps upload speed (using their speed test online)

I have about a 2 second delay in the video being out of sync with the audio supplied. What is the best way to delay the video to bring the live stream into sync?
I am going thru a somewhat similar situation , i.e lip sync. But not internet stuff , but obs handling of video and audio. You need to be a bit clearer about your problem. We have stage mics going thru a mixer. We consider this real time. We have 4 cameras with different delay properties. Because a camera takes time to capture a frame, process it,send it out, there are always video delays, not audio delays, audio comes first, then a lagging video frame. if you have a video switcher, then you have lags in that. We have 4 cameras , 3 wired and 1 wireless. The lags are 5, 7 and 10 frames(wireless) The average delay is 7 frames or 231 ms (30fps). We set the delay in our audio board to 230 ms . Some camera videos start early, some late.

What you didn't say, was audio early or late. In our situation, the video was always late. Having the audio mixer add 231ms audio delay fixed the problem. Another question, is did you actually measure the delay. 2 seconds is way wrong for simple camera lag. To test record someone talking real fast and then use a video editor to see what the delay is. If you really have 2 second difference, it's probable some added audio delay in your mixer or maybe obs.

You said: What is the best way to delay the video to bring the live stream into sync?

This implies that the video comes first and the audio is delayed. Sometimes audio mixers have optional delay settings, you might check.
 

FALLENDOVE

New Member
I am going thru a somewhat similar situation , i.e lip sync. But not internet stuff , but obs handling of video and audio. You need to be a bit clearer about your problem. We have stage mics going thru a mixer. We consider this real time. We have 4 cameras with different delay properties. Because a camera takes time to capture a frame, process it,send it out, there are always video delays, not audio delays, audio comes first, then a lagging video frame. if you have a video switcher, then you have lags in that. We have 4 cameras , 3 wired and 1 wireless. The lags are 5, 7 and 10 frames(wireless) The average delay is 7 frames or 231 ms (30fps). We set the delay in our audio board to 230 ms . Some camera videos start early, some late.

What you didn't say, was audio early or late. In our situation, the video was always late. Having the audio mixer add 231ms audio delay fixed the problem. Another question, is did you actually measure the delay. 2 seconds is way wrong for simple camera lag. To test record someone talking real fast and then use a video editor to see what the delay is. If you really have 2 second difference, it's probable some added audio delay in your mixer or maybe obs.

You said: What is the best way to delay the video to bring the live stream into sync?

This implies that the video comes first and the audio is delayed. Sometimes audio mixers have optional delay settings, you might check.
I currently am using wireless lapel microphones ran through a receiver and connected to an 8 channel analog mixer for individual control. I then feed the output of the mixer to the mic input on the computer running Windows 10 Pro using the most recent version of OBS. I have 16gb ram to support streaming. Our internet is fiber optics and I run speed test time to time and running just under 100 mbps upload. I used my phone stopwatch function and watch the video and listen to the audio with a device that monitors the live stream to make sure those watching are seeing a successful outcome and this is where I timed the lag.
 

FALLENDOVE

New Member
I currently am using wireless lapel microphones ran through a receiver and connected to an 8 channel analog mixer for individual control. I then feed the output of the mixer to the mic input on the computer running Windows 10 Pro using the most recent version of OBS. I have 16gb ram to support streaming. Our internet is fiber optics and I run speed test time to time and running just under 100 mbps upload. I used my phone stopwatch function and watch the video and listen to the audio with a device that monitors the live stream to make sure those watching are seeing a successful outcome and this is where I timed the lag.
I tried the delay in the Advance Audio section but it only allows for about 1400 delay max.
 

bcoyle

Member
I tried the delay in the Advance Audio section but it only allows for about 1400 delay max.
It's still hard for me to understand how you would get a 2 second video delay, That means that somewhere you are storing 2 seconds worth of video, that is a lot of storage. There is expensive hardware that you can insert "in-line" but you didn't mention that. My head hurts. LOL.
 
Top