Hi
I've been looking into this issue I've been having with OBS studio for quite some time, and now I feel quite confident that is kind of a bug.
The problem:
The capture device goes randomly out of sync whenever there is a resolution switch on the source video. Watch this example video on youtube (Jump to 22:30 to see the issue): https://youtu.be/AbubCUVP4Nk
Notice how the audio goes out of sync after the resolution switching that happens a little after 22:30 but this resolution switching happened multiple times before without any issues. I've been trying to reproduce this systematically, but I've been unable to. The issue happens randomly, but it only happens on resolution switching.
The best clue I have is something I saw in the log file (attached), where at some point, the log says:
21:43:41.532: Max audio buffering reached!
21:43:41.532: adding 426 milliseconds of audio buffering, total audio buffering is now 960 milliseconds
I tried looking around to see if I can increase the max audio buffer, but didn't find anything. Please point me out to the right place if such setting exists :)
A few things to point out:
* This issue does NOT occur on OBS classic (example: https://www.youtube.com/watch?v=EmMB1pwZ_BY )
* When the issue happens, only the capture device's audio goes out of sync, microphone is in perfect sync
* Once the issue happens, the audio of the capture device remains out of sync until I restart OBS Studio
* I have recorded for longer periods of time without any issues on sources that do not do resolution switching (1080p 60 FPS)
* I was monitoring the capture device's audio ALL the time and never noticed any sync issue. The out-of-sync problem only happens to the output
* This happens to both stream output as well as disk output (or both at the same time)
I've been looking into this issue I've been having with OBS studio for quite some time, and now I feel quite confident that is kind of a bug.
The problem:
The capture device goes randomly out of sync whenever there is a resolution switch on the source video. Watch this example video on youtube (Jump to 22:30 to see the issue): https://youtu.be/AbubCUVP4Nk
Notice how the audio goes out of sync after the resolution switching that happens a little after 22:30 but this resolution switching happened multiple times before without any issues. I've been trying to reproduce this systematically, but I've been unable to. The issue happens randomly, but it only happens on resolution switching.
The best clue I have is something I saw in the log file (attached), where at some point, the log says:
21:43:41.532: Max audio buffering reached!
21:43:41.532: adding 426 milliseconds of audio buffering, total audio buffering is now 960 milliseconds
I tried looking around to see if I can increase the max audio buffer, but didn't find anything. Please point me out to the right place if such setting exists :)
A few things to point out:
* This issue does NOT occur on OBS classic (example: https://www.youtube.com/watch?v=EmMB1pwZ_BY )
* When the issue happens, only the capture device's audio goes out of sync, microphone is in perfect sync
* Once the issue happens, the audio of the capture device remains out of sync until I restart OBS Studio
* I have recorded for longer periods of time without any issues on sources that do not do resolution switching (1080p 60 FPS)
* I was monitoring the capture device's audio ALL the time and never noticed any sync issue. The out-of-sync problem only happens to the output
* This happens to both stream output as well as disk output (or both at the same time)
Attachments
Last edited: