My PC Audio Lags/Drift behind, however Mic is Perfect. What should I do?

zarafan

New Member
Hi Guys, I been more active recently and this issue appeared from my previous last 4 Streams. The Streams begin fine, but sometimes My PC audio stops for a few second and resume, but the audio resumes at the point where it was before, while the Video continues, resulting in a horrible DeSync as the streams goes on.

I know/understand nothing as technical as this to find a solution, I guess and hope there is something im doing wrong and can Fix in the Settings. My bad if this is a stupid mistake.

 

qhobbes

Active Member
1. You are running an old version of OBS Studio (32.0.1). Please update to version 32.0.2 or newer by going to Help -> Check for updates in OBS or by downloading the latest installer from the downloads page and running it.
2. Browser hardware acceleration is currently disabled. Enabling acceleration is highly recommended due to the improvements to performance and significantly lower CPU usage for browser sources and docks. This can be enabled in Settings -> Advanced.
3. Contact SteamElements and Blerp to resolve all of their errors in your log.
4. Your log contains no streaming session. Results of this log analysis are limited. Please post a link to a clean log file.
To make a clean log file, please follow these steps:

1) Restart OBS.
2) Start your stream for at least 30 seconds. Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream.
4) Select Help > Log Files > Upload Current Log File. Send that link here.
 

zarafan

New Member
1. You are running an old version of OBS Studio (32.0.1). Please update to version 32.0.2 or newer by going to Help -> Check for updates in OBS or by downloading the latest installer from the downloads page and running it.
2. Browser hardware acceleration is currently disabled. Enabling acceleration is highly recommended due to the improvements to performance and significantly lower CPU usage for browser sources and docks. This can be enabled in Settings -> Advanced.
3. Contact SteamElements and Blerp to resolve all of their errors in your log.
4. Your log contains no streaming session. Results of this log analysis are limited. Please post a link to a clean log file.
To make a clean log file, please follow these steps:

1) Restart OBS.
2) Start your stream for at least 30 seconds. Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream.
4) Select Help > Log Files > Upload Current Log File. Send that link here.
This is my current Stream Test Session's Log:
https://obsproject.com/logs/zBDtCSd9ovT0iOsB
 

qhobbes

Active Member
1, 2 & 3
4. The encoder is skipping frames because of CPU overload. Read about General Performance and Encoding Issues. I'm pretty sure CPU overload can cause audio issues. Use the AMD Hardware H264 AVC codec instead of x264. If you insist on using x264, be aware that a slower x264 preset than 'veryfast' is in use. It is recommended to leave this value on veryfast, as there are significant diminishing returns to setting it lower. It can also result in very poor gaming performance on the system if you're not using a 2 PC setup.

Also be aware that your gigabit-capable network card is only connecting at 100mbps. This may indicate a bad network cable or outdated router / switch which could be impacting network performance.

If still having issues, post a new log.
 

zarafan

New Member
1, 2 & 3
4. The encoder is skipping frames because of CPU overload. Read about General Performance and Encoding Issues. I'm pretty sure CPU overload can cause audio issues. Use the AMD Hardware H264 AVC codec instead of x264. If you insist on using x264, be aware that a slower x264 preset than 'veryfast' is in use. It is recommended to leave this value on veryfast, as there are significant diminishing returns to setting it lower. It can also result in very poor gaming performance on the system if you're not using a 2 PC setup.

Also be aware that your gigabit-capable network card is only connecting at 100mbps. This may indicate a bad network cable or outdated router / switch which could be impacting network performance.

If still having issues, post a new log.

Thanks for taking your time with this, I appreciate it!

My Charts of the Task Manager during the recordings shows that all resources are quite Good. Can I have an Encoder Overload while the CPU is not at 100% Usage?

The reason Im using X264 over H264, its because my StreamPC has a APU only (Ryzen 7 5700G). The CPU has plenty Room to handle things, while the iGPU is quite weak (same reason Im not using hardware acceleration).

My current Gigabit connection is actually capped due to Cables (and me being unable to buy cat6 cables). I cant see this taking an impact in this issue, due to it happening only at the PC Sounds and not the Mic, during the same Mic (I have a Clip of 30 sec, showcasing my issue, where Camera and Mic are sync, but Background Video and Background Audio are not: https://www.twitch.tv/zarafantv/clip/AthleticKnottyHabaneroStoneLightning-uX3mH2TNdh3m6Xr6)

So far, Blerp and SE issues are not as important to me right now.

Log after updating. https://obsproject.com/logs/ctOIsQvqCkpOpL0e
 

Lawrence_SoCal

Active Member
So far, Blerp and SE issues are not as important to me right now.
You have a a PC struggling based on load/settings. Those 'issues' should be important to you as they are creating more work for your system to handle.
You need to 'optimize' your system, with no magic bullets, as most suggestions will be of the 'it depends' based on your specific level of expertise, system usage (entirely), etc. So, when a VERY knowledgeable person gives you some very specific advice/direction, recognize it is for good reason, and ignoring it is at your risk.
Either that, or go get a more powerful system?
 
Top