Audio is out of sync

detroit1

New Member
I have noticed the audio and video are not in sync when trying OBS. The video is good quality but the question is how to get the audio in sync
 

Suslik V

Active Member
Without the obs log-file and detail description of the issue (step-by-step how to reproduce, sound ahead picture, sound behind picture, etc.) nobody will be able to help you.
 

PaiSand

Active Member
Please restart OBS and perform a test stream/recording for more than 30 seconds doing as you normally do, including playing games, full camera or whatever you normally do.
Now look inside Help menu. Upload the current log file and paste the url to the log in here. Click on the Analize button to start troubleshooting common issues.
 

detroit1

New Member
Hi. I know where the log files are but where is the analyze button ? I posted a log file earlier. Were you able to see it ?
also, both potplayer and VLC can open the same input and no issue with audio; only the OBS has the issue
 

detroit1

New Member
I just used a log file and clicked analyze and all it said was I had Wrong YUV Color Range, saying to put it in full. full vs partial makes no difference in the audio sync
 

Lawrence_SoCal

Active Member
Actually, FULL YUV color range could easily drive a HUGE CPU load, which would then potentially result in Audio sync issues
What are you doing for overall system real-time hardware resource monitoring?
 

detroit1

New Member
Hi. I changed it from full to partial but you can tell the audio it is still out of sync I just put the new log file into the analyzer and it says no issues but it is obvious that the audio is not in sync
I hope I can get this fixed asap
 

Lawrence_SoCal

Active Member
First, audio is much smaller/easier/faster to process than video, so it is not uncommon if audio and video feed on separate paths, to require delaying audio a bit (manually) to sync.
Is your sync mismatch consistent (usually easily fixed with Adv Audio Properties audio delay)? or does the sync mismatch vary during a recording?
 

detroit1

New Member
I think it is similar on most the playback and I have tried the audio advanced properties to try to get it closer. This is an hdmi capture device. It is still not in sync and if I open the same video in VLC or Potplayer it is perfect; no audio issues but I don't think players can livestream to youtube
 

Lawrence_SoCal

Active Member
I'm sorry, I don't follow you
If you are getting an audio and video feed via a HDMI capture card, OBS should not have an issue, if PC isn't overloaded, keeping those same source signals in sync.
But then, that isn't a video you'd play in another s/w player, but something you are capturing ... so I'm confused / missing something

Now, if you are talking about getting a HDMI feed from say a gaming console, then adding a separately routed audio signal ex. a microphone on the OBS PC... whole separate issue/discussion. And there are cheap HDMI capture devices that could cause their own havoc
this is a case of where the technical details matter.

Also, depending on OBS Audio filters/effects and their settings, etc, you could be causing an issue. For example, others have reported the RTX Noise reduction can have a significant CPU impact. There are plenty of Filters that could be applied (none by default) that could cause a problem. Or you could be doing something with audio at the OS level that OBS doesn't expect?

As for audio/video sync via the capture card:
- I ALWAYS recommend testing/troubleshooting audio and video signal inputs to OBS PC outside of OBS (OBS not even started).
- in your case, use Windows Recorder to record HDMI capture. Is that audio in sync. If not, OBS may be able to overcome the issue, but shouldn't have to, and I'd advise fixing the source/capture first, before moving onto configuring in OBS

the above are random thoughts due to not having enough info to go on
- PaiSand mentiond needing a recording/streaming session long enough to capture performance metrics, but you never posted an updated log
- and I'm confused by your posts, so a detailed description of the audio and video paths, and any outside OBS processing on those signals (as not captured in OBS log) would be needed to assist further
 

detroit1

New Member
to be clear, I have a TV Channel Box that I can connect thru the hdmi capture device on laptop and I can see the video and hear audio perfectly when I open VLC or Potplayer and watch someone talking like on a news channel but on OBS, I open that same channel the video quality is fine but the audio is not in sync. It has to be the fault of the OBS because vlc and potplayer have not issues ; the video looks great and the audio is in sync. It is OBS that has the problem
 

PaiSand

Active Member
OBS have a VLC source. Try that one.
If it does not work, then the issue may be on the carrier signal which sends the sync code but OBS isn't recognizing as it's kind of out of the scope of itself. You know, copyright issues no one wants in here.
 

detroit1

New Member
I will look for that but that means I will have to start playing the video in VLC, then open OBS and try to choose VLC then I will have 2 videos with sound playing at the same time
 

detroit1

New Member
the VLC option does not work because that is for playing a video file in VLC and then streaming it out which you can do directly from VLC. If have the HDMI capture video playing in VLC, OBS will show nothing when I open it; just black screen until I close VLC
 

Tomasz Góral

Active Member
the VLC option does not work because that is for playing a video file in VLC and then streaming it out which you can do directly from VLC. If have the HDMI capture video playing in VLC, OBS will show nothing when I open it; just black screen until I close VLC
Bad settings.
Check this:
VLC - Tools / Preferences / Video tab
Position: Output, select OpenGL video output

Now you can capture video in OBS via Game Capture.
Or use NDI install in VLC NDI output and receive signal from NDI in OBS.
 

detroit1

New Member
Can you please give me more info on the VLC setting ? I changed to opengl video output
If I play the video from my hdmi capture device, it opengs in VLC and in sync but if I then open OBS, I will see nothing since you can't open the same video from capture device on more than software at a time. If I close VLC, then open OBS, I can get the video from capture with out of sync audio. If I close OBS and open VLC, I get the video with perfect audio but how do I then get the OBS to see the VLC video ?
 

detroit1

New Member
I installed the NDI and I got the VLC video to show up on the NDI software with audio in sync. Now how to stream that to youtube or facebook, etc ??
 

Suslik V

Active Member
Look for tutorials online, finally.

Why you are using the mic for the "Video Capture Device" as source of the audio (input capture)??? You do not need the audio from the device?
info from the log:
Code:
19:10:52.989:     using video device audio: no
19:10:52.989:     audio device: Microphone (USB Audio Device)
It is not default settings in OBS.

After the monitoring of OBS audio sources was implemented (many moons ago) the Audio Output Mode of the "Video Capture Device" source should be kept at the "Capture audio only" - this is default setting in OBS.
Code:
19:10:52.989:     audio type: DirectSound
It is not default settings in OBS.

The monitoring itself (if needed) is configured at Settings>Audio>Monitoring Device and main menu Edit>Advanced Audio Properties>Audio Monitoring

Again, search the forum, look for the tutorials online, start from the scratch, and try again. When you will be ready to ask the right questions comeback and ask again.

If nothing helps - ask manufacturer of the device for the technical support.
 
Last edited:
Top