Bug Report Audio Off-sync

qualm

New Member
I have used OBS for a little over a month now. Playing around with different settings, I finally found something that I liked for local recording that wasn't lossless. It worked perfectly for weeks. Since two days ago, without changing any settings, the audio has been noticeably off-sync (0.1-0.2 seconds) from the start of the recording (not a gradual desync). I tried playing around with audio settings, bitrate settings, etc, but nothing seems to help. My microphone is recorded in sync (with visuals) though, it is just the recorded audio (game sounds, etc) that are delayed very slightly.

Log below.

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Speed: 3503MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 660 Ti
  Video Adapter Dedicated Video Memory: 2091319296
  Video Adapter Shared System Memory: 2147479552
------------------------------------------
Adapter 2
  Video Adapter: Microsoft Basic Render Driver
  Video Adapter Dedicated Video Memory: 0
  Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: AVerMedia HD Capture C985 Bus 6,
    device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&299066b9&0&00e6#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
    chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 8000
    buffer size: 2000
    quality: 10
------------------------------------------
Total frames rendered: 530, number of frames that lagged: 3 (0.57%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: AVerMedia HD Capture C985 Bus 6,
    device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&299066b9&0&00e6#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
    chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 8000
    buffer size: 2000
    quality: 10
------------------------------------------
Total frames rendered: 19159, number of frames that lagged: 71 (0.37%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: AVerMedia HD Capture C985 Bus 6,
    device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&299066b9&0&00e6#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
    chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 8000
    buffer size: 2000
    quality: 10
------------------------------------------
Total frames rendered: 30238, number of frames that lagged: 273 (0.90%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.373 ms] [avg calls per frame: 1] [children: 79%] [unaccounted: 21%]
| scene->Preprocess - [16.3%] [avg time: 0.711 ms] [avg calls per frame: 1]
| video encoding and uploading - [62.7%] [avg time: 2.744 ms] [avg calls per frame: 1] [children: 36.2%] [unaccounted: 26.5%]
| | CopyResource - [3.22%] [avg time: 0.141 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0915%] [avg time: 0.004 ms] [avg calls per frame: 0]
| | call to encoder - [32.6%] [avg time: 1.427 ms] [avg calls per frame: 0]
| | sending stuff out - [0.252%] [avg time: 0.011 ms] [avg calls per frame: 0]
==============================================================
 

dodgepong

Administrator
Community Helper
oh hai qualm

It's a known issue that's being worked on. Have you played at all with the 467 test build?
 

qualm

New Member
Hello.

Yeah I switched versions. No fix. I find it strange that it worked fine for weeks and just randomly stopped working as intended without any changes :s. I read in stickies and other threads that it was a normal issue but since I hadn't had it before I figured maybe it was something in settings.
 

Zephiris

Member
If you are now using the 0.467 test2 build then there are additional details in the log file that might be useful for troubleshooting, so it would be helpful if you could post your log file too.
 

qualm

New Member
After a reboot everything seems in order. Funny how some peculiar problems have simple solutions.

Thanks for your help, guys!
 
Top