First off, I know that there's plenty of posts about this in the forums, but I think my case is somewhat different.
Here is why:
I've used OBS since 0.411a, I never had a problem with audio delay until 0.466a came out. So this might be a solution for all of the people out there that can't for the love of god, get the audio delay fixed. Try using version 465a or something prior to that.
Every time there's a new OBS version coming out, I hope that the problem has been solved for me, but that's not the case thus far. Every single version after 465a gives me an mic input audio delay. The game, game audio and webcam is synced just fine. It's just the mic audio that gets a delay.
I'm still using 465a, and it's working just fine. But I'm missing out on many new features that I would love to part take in.
Please, help.
Here is the log from 465a - Working perfectly.
Here is a short test stream I did with "0.56.03 MADNESS" (I tried copy/pasting a 2hours held log, but the forum keeps crashing on me when I submit this post)
Here is why:
I've used OBS since 0.411a, I never had a problem with audio delay until 0.466a came out. So this might be a solution for all of the people out there that can't for the love of god, get the audio delay fixed. Try using version 465a or something prior to that.
Every time there's a new OBS version coming out, I hope that the problem has been solved for me, but that's not the case thus far. Every single version after 465a gives me an mic input audio delay. The game, game audio and webcam is synced just fine. It's just the mic audio that gets a delay.
I'm still using 465a, and it's working just fine. But I'm missing out on many new features that I would love to part take in.
Please, help.
Here is the log from 465a - Working perfectly.
Code:
Open Broadcaster Software v0.465a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) 9850 Quad-Core Processor
CPU Speed: 2499MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 3, model 2, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce 9600 GSO
Video Adapter Dedicated Video Memory: 1581842432
Video Adapter Shared System Memory: 2683908096
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 852x480
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Warning -- DShowPlugin: Invalid device: name 'Live! Cam Video IM #2', path '\\?\usb#vid_041e&pid_4053#5&2730ab6&0&1#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{15d4a66e-1bd0-40f9-bb23-99519f478dce}'
Warning -- D3D10Texture::CreateTexture: CreateTexture2D failed, result = 0x80070057
Using directshow input
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 25
width: 852, height: 480
preset: veryfast
CBR: no
max bitrate: 950
buffer size: 950
quality: 7
------------------------------------------
SharedTexCapture hooked
------------------------------------------
device: Live! Cam Video IM,
device id \\?\usb#vid_041e&pid_4053#5&2730ab6&0&2#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{15d4a66e-1bd0-40f9-bb23-99519f478dce},
chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 10-30, fourCC: 00000000
Using directshow input
Total frames rendered: 2279, number of frames that lagged: 209 (9.17%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 852x480
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
------------------------------------------
device: Live! Cam Video IM,
device id \\?\usb#vid_041e&pid_4053#5&2730ab6&0&2#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{15d4a66e-1bd0-40f9-bb23-99519f478dce},
chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 10-30, fourCC: 00000000
Using directshow input
------------------------------------------
Video Encoding: x264
fps: 25
width: 852, height: 480
preset: veryfast
CBR: no
max bitrate: 950
buffer size: 950
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 2340, outputRateWindowTime: 1000, dropThreshold: 2840
Total frames rendered: 5703, number of frames that lagged: 53 (0.93%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
Profiler results:
==============================================================
frame - [100%] [avg time: 15.618 ms] [avg calls per frame: 1] [children: 95.3%] [unaccounted: 4.69%]
| scene->Preprocess - [0.442%] [avg time: 0.069 ms] [avg calls per frame: 1]
| video encoding and uploading - [94.9%] [avg time: 14.817 ms] [avg calls per frame: 1] [children: 94.7%] [unaccounted: 0.186%]
| | CopyResource - [84.6%] [avg time: 13.216 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.275%] [avg time: 0.043 ms] [avg calls per frame: 0]
| | call to encoder - [9.61%] [avg time: 1.501 ms] [avg calls per frame: 0]
| | sending stuff out - [0.179%] [avg time: 0.028 ms] [avg calls per frame: 0]
==============================================================
Here is a short test stream I did with "0.56.03 MADNESS" (I tried copy/pasting a 2hours held log, but the forum keeps crashing on me when I submit this post)
Code:
18:45:49: Open Broadcaster Software v0.56.03 MADNESS - 32bit (´・ω・`)
18:45:49: -------------------------------
18:45:49: CPU Name: AMD Phenom(tm) 9850 Quad-Core Processor
18:45:49: CPU Speed: 2499MHz
18:45:49: Physical Memory: 4095MB Total, 4095MB Free
18:45:49: stepping id: 3, model 2, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
18:45:49: monitor 1: pos={0, 0}, size={1280, 720}
18:45:49: Windows Version: 6.1 Build 7601 S
18:45:49: Aero is Disabled
18:45:49: -------------------------------
18:45:49: OBS Modules:
18:45:49: Base Address Module
18:45:49: 00350000 OBS.exe
18:45:49: 657B0000 OBSApi.dll
18:45:49: 6D630000 DShowPlugin.dll
18:45:49: 70670000 GraphicsCapture.dll
18:45:49: 6F8B0000 NoiseGate.dll
18:45:49: 6D610000 PSVPlugin.dll
18:45:49: ------------------------------------------
18:45:49: Adapter 1
18:45:49: Video Adapter: NVIDIA GeForce 9600 GSO
18:45:49: Video Adapter Dedicated Video Memory: 1581842432
18:45:49: Video Adapter Shared System Memory: 2683908096
18:45:49: Incompatible modules (pre-D3D) detected.
18:46:09: Incompatible modules (pre-D3D) detected.
18:46:48: Incompatible modules (pre-D3D) detected.
18:46:48: =====Stream Start: 2013-09-10, 18:46:48===============================================
18:46:48: Multithreaded optimizations: On
18:46:48: Base resolution: 1920x1080
18:46:48: Output resolution: 1280x720
18:46:48: ------------------------------------------
18:46:48: Loading up D3D10 on NVIDIA GeForce 9600 GSO...
18:46:48: ------------------------------------------
18:46:48: Audio Format: 48000hz
18:46:48: Playback device Default
18:46:48: ------------------------------------------
18:46:48: Using desktop audio input: Högtalare (Realtek High Definition Audio)
18:46:49: ------------------------------------------
18:46:49: Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
18:46:49: ------------------------------------------
18:46:49: Audio Encoding: AAC
18:46:49: bitrate: 128
18:46:49: Using graphics capture
18:46:49: ------------------------------------------
18:46:49: Video Encoding: x264
18:46:49: fps: 30
18:46:49: width: 1280, height: 720
18:46:49: preset: veryfast
18:46:49: CBR: yes
18:46:49: CFR: yes
18:46:49: max bitrate: 950
18:46:49: buffer size: 950
18:46:49: ------------------------------------------
18:46:49: MMDeviceAudioSource: Frequency for device 'Högtalare (Realtek High Definition Audio)' is 384000, samples per sec is 48000
18:46:49: MMDeviceAudioSource: Frequency for device 'Mikrofon (Realtek High Definition Audio)' is 352800, samples per sec is 44100
18:46:49: Bad timestamp detected, syncing audio to video time
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
18:46:49: Capture window 0x00000000 invalid or changing, terminating capture
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
18:46:59:
18:46:59: Profiler result for the last frame:
18:46:59: ==============================================================
18:46:59: video thread frame - [time: 125.378 ms (cpu time: 15.6 ms)]
18:46:59: | frame preprocessing and rendering - [time: 0.913 ms (cpu time: 0 ms)]
18:46:59: | | scene->Preprocess - [time: 0.003 ms (cpu time: 0 ms)]
18:46:59: | GPU download and color conversion - [time: 124.46 ms (cpu time: 15.6 ms)]
18:46:59: | | flush - [time: 0.042 ms (cpu time: 0 ms)]
18:46:59: | | CopyResource - [time: 124.394 ms (cpu time: 15.6 ms)]
18:46:59: | | conversion to 4:2:0 - [time: 0.009 ms (cpu time: 0 ms)]
18:46:59: | Convert444Threads - [time: 125.464 ms (cpu time: 0 ms)]
18:46:59: encoder thread frame - [time: 2.121 ms (cpu time: 0 ms)]
18:46:59: ==============================================================
18:46:59:
18:46:59:
18:46:59: Profiler result for the last frame:
18:46:59: ==============================================================
18:46:59: video thread frame - [time: 111.25 ms (cpu time: 0 ms)]
18:46:59: | frame preprocessing and rendering - [time: 0.587 ms (cpu time: 0 ms)]
18:46:59: | | scene->Preprocess - [time: 0.003 ms (cpu time: 0 ms)]
18:46:59: | GPU download and color conversion - [time: 110.66 ms (cpu time: 0 ms)]
18:46:59: | | flush - [time: 0.224 ms (cpu time: 0 ms)]
18:46:59: | | CopyResource - [time: 110.39 ms (cpu time: 0 ms)]
18:46:59: | | conversion to 4:2:0 - [time: 0.015 ms (cpu time: 0 ms)]
18:46:59: | Convert444Threads - [time: 111.433 ms (cpu time: 0 ms)]
18:46:59: encoder thread frame - [time: 2.377 ms (cpu time: 0 ms)]
18:46:59: ==============================================================
18:46:59:
18:47:00:
18:47:00: Profiler result for the last frame:
18:47:00: ==============================================================
18:47:00: video thread frame - [time: 130.361 ms (cpu time: 0 ms)]
18:47:00: | frame preprocessing and rendering - [time: 0.393 ms (cpu time: 0 ms)]
18:47:00: | | scene->Preprocess - [time: 0.002 ms (cpu time: 0 ms)]
18:47:00: | GPU download and color conversion - [time: 129.962 ms (cpu time: 0 ms)]
18:47:00: | | flush - [time: 0.218 ms (cpu time: 0 ms)]
18:47:00: | | CopyResource - [time: 129.715 ms (cpu time: 0 ms)]
18:47:00: | | conversion to 4:2:0 - [time: 0.01 ms (cpu time: 0 ms)]
18:47:00: | Convert444Threads - [time: 131.649 ms (cpu time: 0 ms)]
18:47:00: encoder thread frame - [time: 2.038 ms (cpu time: 0 ms)]
18:47:00: ==============================================================
18:47:00:
18:47:00:
18:47:00: Profiler result for the last frame:
18:47:00: ==============================================================
18:47:00: video thread frame - [time: 113.713 ms (cpu time: 0 ms)]
18:47:00: | frame preprocessing and rendering - [time: 0.568 ms (cpu time: 0 ms)]
18:47:00: | | scene->Preprocess - [time: 0.004 ms (cpu time: 0 ms)]
18:47:00: | GPU download and color conversion - [time: 113.141 ms (cpu time: 0 ms)]
18:47:00: | | flush - [time: 0.156 ms (cpu time: 0 ms)]
18:47:00: | | CopyResource - [time: 112.524 ms (cpu time: 0 ms)]
18:47:00: | | conversion to 4:2:0 - [time: 0.009 ms (cpu time: 0 ms)]
18:47:00: | Convert444Threads - [time: 113.716 ms (cpu time: 0 ms)]
18:47:00: encoder thread frame - [time: 1.999 ms (cpu time: 0 ms)]
18:47:00: ==============================================================
18:47:00:
18:47:00:
18:47:00: Profiler result for the last frame:
18:47:00: ==============================================================
18:47:00: video thread frame - [time: 126.609 ms (cpu time: 15.601 ms)]
18:47:00: | frame preprocessing and rendering - [time: 0.443 ms (cpu time: 0 ms)]
18:47:00: | | scene->Preprocess - [time: 0.003 ms (cpu time: 0 ms)]
18:47:00: | GPU download and color conversion - [time: 126.161 ms (cpu time: 15.601 ms)]
18:47:00: | | flush - [time: 0.039 ms (cpu time: 0 ms)]
18:47:00: | | CopyResource - [time: 126.097 ms (cpu time: 15.601 ms)]
18:47:00: | | conversion to 4:2:0 - [time: 0.008 ms (cpu time: 0 ms)]
18:47:00: | Convert444Threads - [time: 127.485 ms (cpu time: 0 ms)]
18:47:00: encoder thread frame - [time: 2.023 ms (cpu time: 0 ms)]
18:47:00: ==============================================================
18:47:00:
18:47:00:
18:47:00: Profiler result for the last frame:
18:47:00: ==============================================================
18:47:00: video thread frame - [time: 114.751 ms (cpu time: 15.6 ms)]
18:47:00: | frame preprocessing and rendering - [time: 0.423 ms (cpu time: 0 ms)]
18:47:00: | | scene->Preprocess - [time: 0.002 ms (cpu time: 0 ms)]
18:47:00: | GPU download and color conversion - [time: 114.324 ms (cpu time: 15.6 ms)]
18:47:00: | | flush - [time: 0.114 ms (cpu time: 0 ms)]
18:47:00: | | CopyResource - [time: 114.181 ms (cpu time: 15.6 ms)]
18:47:00: | | conversion to 4:2:0 - [time: 0.01 ms (cpu time: 0 ms)]
18:47:00: | Convert444Threads - [time: 114.979 ms (cpu time: 0 ms)]
18:47:00: encoder thread frame - [time: 2.172 ms (cpu time: 0 ms)]
18:47:00: ==============================================================
18:47:00:
18:47:00:
18:47:00: Profiler result for the last frame:
18:47:00: ==============================================================
18:47:00: video thread frame - [time: 30.232 ms (cpu time: 0 ms)]
18:47:00: | frame preprocessing and rendering - [time: 0.972 ms (cpu time: 0 ms)]
18:47:00: | | scene->Preprocess - [time: 0.004 ms (cpu time: 0 ms)]
18:47:00: | GPU download and color conversion - [time: 29.25 ms (cpu time: 0 ms)]
18:47:00: | | flush - [time: 0.041 ms (cpu time: 0 ms)]
18:47:00: | | CopyResource - [time: 29.183 ms (cpu time: 0 ms)]
18:47:00: | | conversion to 4:2:0 - [time: 0.009 ms (cpu time: 0 ms)]
18:47:00: | Convert444Threads - [time: 30.721 ms (cpu time: 0 ms)]
18:47:00: encoder thread frame - [time: 2.811 ms (cpu time: 0 ms)]
18:47:00: ==============================================================
18:47:00:
18:47:02: Exit signal received, terminating capture
18:47:07: Total frames encoded: 543, total frames duplicated 81 (14.92%)
18:47:07: Total frames rendered: 487, number of late frames: 34 (6.98%) (it's okay for some frames to be late)
18:47:07:
18:47:07: Profiler results:
18:47:07:
18:47:07: ==============================================================
18:47:07: video thread frame - [100%] [avg time: 18.015 ms (cpu time: avg 4.804 ms, total 2340.02 ms)] [avg calls per frame: 1] [children: 99.7%] [unaccounted: 0.322%]
18:47:07: | frame preprocessing and rendering - [14.5%] [avg time: 2.614 ms (cpu time: avg 1.761 ms, total 858.003 ms)] [avg calls per frame: 1] [children: 0.0111%] [unaccounted: 14.5%]
18:47:07: | | scene->Preprocess - [0.0111%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
18:47:07: | GPU download and color conversion - [85.2%] [avg time: 15.343 ms (cpu time: avg 3.011 ms, total 1466.41 ms)] [avg calls per frame: 1] [children: 85%] [unaccounted: 0.205%]
18:47:07: | | flush - [0.422%] [avg time: 0.076 ms (cpu time: avg 0.064 ms, total 31.2 ms)] [avg calls per frame: 1]
18:47:07: | | CopyResource - [84%] [avg time: 15.136 ms (cpu time: avg 2.882 ms, total 1404.01 ms)] [avg calls per frame: 1]
18:47:07: | | conversion to 4:2:0 - [0.522%] [avg time: 0.094 ms (cpu time: avg 0.032 ms, total 15.6 ms)] [avg calls per frame: 1]
18:47:07: | Convert444Threads - [412%] [avg time: 74.272 ms (cpu time: avg 2.979 ms, total 1450.81 ms)] [avg calls per frame: 2]
18:47:07: encoder thread frame - [100%] [avg time: 2.449 ms (cpu time: avg 1.703 ms, total 904.805 ms)] [avg calls per frame: 1]
18:47:07: ==============================================================
18:47:07:
18:47:07: =====Stream End: 2013-09-10, 18:47:07=================================================
18:47:09: Incompatible modules (pre-D3D) detected.
Last game capture log:
D3D11 Present
D3D9 Present
DoD3D9GPUHook: success
DoD3D9GPUHook: success
DoD3D9GPUHook: success