Bug Report recording lag and audio crashes.

patbateman187

New Member
I've just started experiencing serious lag while recording/streaming, and the audio has been crackling. The stream will also sometimes crash on startup because of some audio warning, I haven't been able to recreate the crash yet but when I do I'll update my post with the info. OS windows 7 64. These problems just started after I've used the software for a while without incident, I haven't changed any of my settings.
 

patbateman187

New Member
While checking my code I think I found the error for audio: Error: Cannot initialize desktop audio sound/Error: Could not initialize audio client, more info in the log file. 08:09:13:/08:09:50:
also the number of frames lagged goes up with each stream.
I also disabled aero, and yet I'm still experiencing major lag.

Code:
06:16:29: Open Broadcaster Software v0.542b - 32bit (´・ω・`)
06:16:29: -------------------------------
06:16:29: CPU Name: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
06:16:29: CPU Speed: 2494MHz
06:16:29: Physical Memory:  4095MB Total, 3904MB Free
06:16:29: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
06:16:29: monitor 1: pos={0, 0}, size={1366, 768}
06:16:29: Windows Version: 6.1 Build 7601 S
06:16:29: Aero is Enabled
06:16:29: -------------------------------
06:16:29: OBS Modules:
06:16:29: Base Address     Module
06:16:29: 003D0000         OBS.exe
06:16:29: 6E070000         OBSApi.dll
06:16:29: 6E390000         DShowPlugin.dll
06:16:29: 6E370000         GraphicsCapture.dll
06:16:29: 6E350000         NoiseGate.dll
06:16:29: 6E330000         PSVPlugin.dll
06:16:29: ------------------------------------------
06:16:29: Adapter 1
06:16:29:   Video Adapter: Intel(R) HD Graphics Family
06:16:29:   Video Adapter Dedicated Video Memory: 67108864
06:16:29:   Video Adapter Shared System Memory: 1711276032
06:16:29: =====Stream Start: 2013-07-21, 06:16:29===============================================
06:16:29:   Multithreaded optimizations: On
06:16:29:   Base resolution: 1366x768
06:16:29:   Output resolution: 1364x768
06:16:29: ------------------------------------------
06:16:29: Loading up D3D10...
06:16:29: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:16:29: ------------------------------------------
06:16:29: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:16:29: ------------------------------------------
06:16:29: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:16:30: ------------------------------------------
06:16:30: Audio Encoding: AAC
06:16:30:     bitrate: 128
06:16:30: ------------------------------------------
06:16:30: Video Encoding: x264
06:16:30:     fps: 30
06:16:30:     width: 1364, height: 768
06:16:30:     preset: veryfast
06:16:30:     CBR: yes
06:16:30:     CFR: no
06:16:30:     max bitrate: 1000
06:16:30: ------------------------------------------
06:17:07: Total frames rendered: 1111, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
06:17:07: =====Stream End: 2013-07-21, 06:17:07=================================================
06:18:49: =====Stream Start: 2013-07-21, 06:18:49===============================================
06:18:49:   Multithreaded optimizations: On
06:18:49:   Base resolution: 1366x768
06:18:49:   Output resolution: 1364x768
06:18:49: ------------------------------------------
06:18:49: Loading up D3D10...
06:18:49: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:18:49: ------------------------------------------
06:18:49: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:18:49: ------------------------------------------
06:18:49: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:18:49: ------------------------------------------
06:18:49: Audio Encoding: AAC
06:18:49:     bitrate: 128
06:18:50: ------------------------------------------
06:18:50: Video Encoding: x264
06:18:50:     fps: 30
06:18:50:     width: 1364, height: 768
06:18:50:     preset: veryfast
06:18:50:     CBR: yes
06:18:50:     CFR: no
06:18:50:     max bitrate: 1000
06:18:50: ------------------------------------------
06:18:56: Total frames rendered: 192, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
06:18:56: =====Stream End: 2013-07-21, 06:18:56=================================================
06:22:08: =====Stream Start: 2013-07-21, 06:22:08===============================================
06:22:08:   Multithreaded optimizations: On
06:22:08:   Base resolution: 1366x768
06:22:08:   Output resolution: 1364x768
06:22:08: ------------------------------------------
06:22:08: Loading up D3D10...
06:22:08: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:22:08: ------------------------------------------
06:22:08: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:22:08: ------------------------------------------
06:22:08: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:22:08: ------------------------------------------
06:22:08: Audio Encoding: AAC
06:22:08:     bitrate: 128
06:22:08: Using Monitor Capture
06:22:08: ------------------------------------------
06:22:08: Video Encoding: x264
06:22:08:     fps: 30
06:22:08:     width: 1364, height: 768
06:22:08:     preset: veryfast
06:22:08:     CBR: yes
06:22:08:     CFR: no
06:22:08:     max bitrate: 1000
06:22:08: ------------------------------------------
06:22:24: Total frames rendered: 320, number of frames that lagged: 318 (99.38%) (it's okay for some frames to lag)
06:22:24: =====Stream End: 2013-07-21, 06:22:24=================================================
06:22:37: =====Stream Start: 2013-07-21, 06:22:37===============================================
06:22:37:   Multithreaded optimizations: On
06:22:37:   Base resolution: 1366x768
06:22:37:   Output resolution: 1364x768
06:22:37: ------------------------------------------
06:22:37: Loading up D3D10...
06:22:37: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:22:37: ------------------------------------------
06:22:37: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:22:37: ------------------------------------------
06:22:37: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:22:37: ------------------------------------------
06:22:37: Audio Encoding: AAC
06:22:37:     bitrate: 128
06:22:37: Using Monitor Capture
06:22:37: ------------------------------------------
06:22:37: Video Encoding: x264
06:22:37:     fps: 30
06:22:37:     width: 1364, height: 768
06:22:37:     preset: veryfast
06:22:37:     CBR: yes
06:22:37:     CFR: no
06:22:37:     max bitrate: 1000
06:22:37: ------------------------------------------
06:23:28: Total frames rendered: 1291, number of frames that lagged: 748 (57.94%) (it's okay for some frames to lag)
06:23:28: =====Stream End: 2013-07-21, 06:23:28=================================================
06:30:45: =====Stream Start: 2013-07-21, 06:30:45===============================================
06:30:45:   Multithreaded optimizations: On
06:30:45:   Base resolution: 1366x768
06:30:45:   Output resolution: 1364x768
06:30:45: ------------------------------------------
06:30:45: Loading up D3D10...
06:30:45: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:30:45: ------------------------------------------
06:30:45: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:30:45: ------------------------------------------
06:30:45: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:30:45: ------------------------------------------
06:30:45: Audio Encoding: AAC
06:30:45:     bitrate: 128
06:30:45: Using Monitor Capture
06:30:45: ------------------------------------------
06:30:45: Video Encoding: x264
06:30:45:     fps: 30
06:30:45:     width: 1364, height: 768
06:30:45:     preset: veryfast
06:30:45:     CBR: yes
06:30:45:     CFR: no
06:30:45:     max bitrate: 1000
06:30:45: ------------------------------------------
06:31:03: Total frames rendered: 496, number of frames that lagged: 198 (39.92%) (it's okay for some frames to lag)
06:31:04: =====Stream End: 2013-07-21, 06:31:04=================================================
06:31:42: =====Stream Start: 2013-07-21, 06:31:42===============================================
06:31:42:   Multithreaded optimizations: On
06:31:42:   Base resolution: 1366x768
06:31:42:   Output resolution: 1364x768
06:31:42: ------------------------------------------
06:31:42: Loading up D3D10...
06:31:42: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:31:42: ------------------------------------------
06:31:42: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:31:42: ------------------------------------------
06:31:42: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:31:43: ------------------------------------------
06:31:43: Audio Encoding: AAC
06:31:43:     bitrate: 128
06:31:43: Using Monitor Capture
06:31:43: ------------------------------------------
06:31:43: Video Encoding: x264
06:31:43:     fps: 30
06:31:43:     width: 1364, height: 768
06:31:43:     preset: veryfast
06:31:43:     CBR: yes
06:31:43:     CFR: no
06:31:43:     max bitrate: 1000
06:31:43: ------------------------------------------
06:32:09: Total frames rendered: 727, number of frames that lagged: 271 (37.28%) (it's okay for some frames to lag)
06:32:09: =====Stream End: 2013-07-21, 06:32:09=================================================
06:40:32: =====Stream Start: 2013-07-21, 06:40:32===============================================
06:40:32:   Multithreaded optimizations: On
06:40:32:   Base resolution: 1366x768
06:40:32:   Output resolution: 1364x768
06:40:32: ------------------------------------------
06:40:32: Loading up D3D10...
06:40:32: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:40:32: ------------------------------------------
06:40:32: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:40:32: ------------------------------------------
06:40:32: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:40:32: ------------------------------------------
06:40:32: Audio Encoding: AAC
06:40:32:     bitrate: 128
06:40:32: Using Monitor Capture
06:40:33: ------------------------------------------
06:40:33: Video Encoding: x264
06:40:33:     fps: 30
06:40:33:     width: 1364, height: 768
06:40:33:     preset: veryfast
06:40:33:     CBR: yes
06:40:33:     CFR: no
06:40:33:     max bitrate: 1000
06:40:33: ------------------------------------------
06:44:31: Total frames rendered: 6115, number of frames that lagged: 3898 (63.74%) (it's okay for some frames to lag)
06:44:31: =====Stream End: 2013-07-21, 06:44:31=================================================
06:46:56: =====Stream Start: 2013-07-21, 06:46:56===============================================
06:46:56:   Multithreaded optimizations: On
06:46:56:   Base resolution: 1366x768
06:46:56:   Output resolution: 1364x768
06:46:56: ------------------------------------------
06:46:56: Loading up D3D10...
06:46:56: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
06:46:56: ------------------------------------------
06:46:56: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
06:46:56: ------------------------------------------
06:46:56: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
06:46:56: ------------------------------------------
06:46:56: Audio Encoding: AAC
06:46:56:     bitrate: 128
06:46:56: Using Monitor Capture
06:46:56: ------------------------------------------
06:46:56: Video Encoding: x264
06:46:56:     fps: 30
06:46:56:     width: 1364, height: 768
06:46:56:     preset: veryfast
06:46:56:     CBR: yes
06:46:56:     CFR: no
06:46:56:     max bitrate: 1000
06:46:56: ------------------------------------------
06:51:52: Total frames rendered: 8364, number of frames that lagged: 2337 (27.94%) (it's okay for some frames to lag)
06:51:52: =====Stream End: 2013-07-21, 06:51:52=================================================
07:22:52: =====Stream Start: 2013-07-21, 07:22:52===============================================
07:22:52:   Multithreaded optimizations: On
07:22:52:   Base resolution: 1366x768
07:22:52:   Output resolution: 1364x768
07:22:52: ------------------------------------------
07:22:52: Loading up D3D10...
07:22:52: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
07:22:52: ------------------------------------------
07:22:52: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
07:22:52: ------------------------------------------
07:22:52: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
07:22:52: ------------------------------------------
07:22:52: Audio Encoding: AAC
07:22:52:     bitrate: 128
07:22:52: Using Monitor Capture
07:22:52: ------------------------------------------
07:22:52: Video Encoding: x264
07:22:52:     fps: 30
07:22:52:     width: 1364, height: 768
07:22:52:     preset: veryfast
07:22:52:     CBR: yes
07:22:52:     CFR: no
07:22:52:     max bitrate: 1000
07:22:52: ------------------------------------------
07:26:52: Total frames rendered: 6661, number of frames that lagged: 2840 (42.64%) (it's okay for some frames to lag)
07:26:53: =====Stream End: 2013-07-21, 07:26:53=================================================
07:30:56: =====Stream Start: 2013-07-21, 07:30:56===============================================
07:30:56:   Multithreaded optimizations: On
07:30:56:   Base resolution: 1366x768
07:30:56:   Output resolution: 1364x768
07:30:56: ------------------------------------------
07:30:56: Loading up D3D10...
07:30:56: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
07:30:56: ------------------------------------------
07:30:56: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
07:30:56: ------------------------------------------
07:30:56: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
07:30:56: ------------------------------------------
07:30:56: Audio Encoding: AAC
07:30:56:     bitrate: 128
07:30:56: Using Monitor Capture
07:30:56: ------------------------------------------
07:30:56: Video Encoding: x264
07:30:56:     fps: 30
07:30:56:     width: 1364, height: 768
07:30:56:     preset: veryfast
07:30:56:     CBR: yes
07:30:56:     CFR: no
07:30:56:     max bitrate: 1000
07:30:56: ------------------------------------------
07:31:15: Total frames rendered: 508, number of frames that lagged: 270 (53.15%) (it's okay for some frames to lag)
07:31:15: =====Stream End: 2013-07-21, 07:31:15=================================================
07:31:39: =====Stream Start: 2013-07-21, 07:31:39===============================================
07:31:39:   Multithreaded optimizations: On
07:31:39:   Base resolution: 1366x768
07:31:39:   Output resolution: 1364x768
07:31:39: ------------------------------------------
07:31:39: Loading up D3D10...
07:31:39: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
07:31:39: ------------------------------------------
07:31:39: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
07:31:39: ------------------------------------------
07:31:39: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
07:31:39: ------------------------------------------
07:31:39: Audio Encoding: AAC
07:31:39:     bitrate: 128
07:31:39: Using Monitor Capture
07:31:39: ------------------------------------------
07:31:39: Video Encoding: x264
07:31:39:     fps: 30
07:31:39:     width: 1364, height: 768
07:31:39:     preset: veryfast
07:31:39:     CBR: yes
07:31:39:     CFR: no
07:31:39:     max bitrate: 1000
07:31:39: ------------------------------------------
07:35:09: Total frames rendered: 5884, number of frames that lagged: 2282 (38.78%) (it's okay for some frames to lag)
07:35:09: =====Stream End: 2013-07-21, 07:35:09=================================================
07:40:07: =====Stream Start: 2013-07-21, 07:40:07===============================================
07:40:07:   Multithreaded optimizations: On
07:40:07:   Base resolution: 1366x768
07:40:07:   Output resolution: 1364x768
07:40:07: ------------------------------------------
07:40:07: Loading up D3D10...
07:40:07: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
07:40:07: ------------------------------------------
07:40:07: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
07:40:07: ------------------------------------------
07:40:07: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
07:40:07: ------------------------------------------
07:40:07: Audio Encoding: AAC
07:40:07:     bitrate: 128
07:40:07: Using Monitor Capture
07:40:07: ------------------------------------------
07:40:07: Video Encoding: x264
07:40:07:     fps: 30
07:40:07:     width: 1364, height: 768
07:40:07:     preset: veryfast
07:40:07:     CBR: yes
07:40:07:     CFR: no
07:40:07:     max bitrate: 1000
07:40:07: ------------------------------------------
08:02:48: Total frames rendered: 32327, number of frames that lagged: 16625 (51.43%) (it's okay for some frames to lag)
08:02:49: =====Stream End: 2013-07-21, 08:02:49=================================================
08:09:00: =====Stream Start: 2013-07-21, 08:09:00===============================================
08:09:00:   Multithreaded optimizations: On
08:09:00:   Base resolution: 1366x768
08:09:00:   Output resolution: 1364x768
08:09:00: ------------------------------------------
08:09:01: Loading up D3D10...
08:09:01: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
08:09:01: ------------------------------------------
08:09:01: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
Warning -- MMDeviceAudioSource::Initialize(0): Could not initialize audio client, result = 88890017

Error: Cannot initialize desktop audio sound, more info in the log file.
08:09:13: =====Stream Start: 2013-07-21, 08:09:13===============================================
08:09:13:   Multithreaded optimizations: On
08:09:13:   Base resolution: 1366x768
08:09:13:   Output resolution: 1364x768
08:09:13: ------------------------------------------
08:09:13: Loading up D3D10...
08:09:13: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
08:09:13: ------------------------------------------
08:09:13: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
08:09:13: ------------------------------------------
08:09:13: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
08:09:13: ------------------------------------------
08:09:13: Audio Encoding: AAC
08:09:13:     bitrate: 128
08:09:13: Using Monitor Capture
08:09:13: ------------------------------------------
08:09:13: Video Encoding: x264
08:09:13:     fps: 30
08:09:13:     width: 1364, height: 768
08:09:13:     preset: veryfast
08:09:13:     CBR: yes
08:09:13:     CFR: no
08:09:13:     max bitrate: 1000
08:09:13: ------------------------------------------
08:09:14: Total frames rendered: 19, number of frames that lagged: 12 (63.16%) (it's okay for some frames to lag)
08:09:14: =====Stream End: 2013-07-21, 08:09:14=================================================
08:09:40: =====Stream Start: 2013-07-21, 08:09:40===============================================
08:09:40:   Multithreaded optimizations: On
08:09:40:   Base resolution: 1366x768
08:09:40:   Output resolution: 1364x768
08:09:40: ------------------------------------------
08:09:40: Loading up D3D10...
08:09:40: Playback device {0.0.0.00000000}.{ae5b559a-5ff6-4b81-b6f9-02e6ef9ac775}
08:09:40: ------------------------------------------
08:09:40: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
08:09:40: ------------------------------------------
08:09:40: Using auxilary audio input: Microphone / Line In (IDT High Definition Audio CODEC)
08:09:41: ------------------------------------------
08:09:41: Audio Encoding: AAC
08:09:41:     bitrate: 128
08:09:41: Using Monitor Capture

Error: Could not initialize audio client
08:09:50: =====Stream End: 2013-07-21, 08:09:50=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I've heard of rare occasions where some devices crackle. You are not the only one to have had this happen. The error that you got probably has something to do with the system more than with OBS itself, some sort of instability or issue on the system somewhere.
 

patbateman187

New Member
Kharay said:
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/626343f2-57e3-4357-815f-fd75af219970/iaudioclientinitialize-returns-0x88890017-why

In other words, Jim is right on the money -- something is up with that installation of yours.

the forum that you have in your reply seems to suggest that the audio crashes when the cpu reaches a certain percentage use, and I have noticed audio problems when not using obs. The sound will sometimes come out of the laptop speakers, so I guess I hate dell....
 
Top