Bug Report Popping sound in audio when previewing/streaming [resolved]

badbadrobot

Member
So I've just seen this recently and I have zero clue what is causing it. Every time I start streaming or previewing my stream I hear it. It starts popping and happens in all audio sources, the game, my music etc. However no one in the stream can hear it, it only comes thru my headset. It drives me nuts! Here is my log!

Code:
20:59:57: Open Broadcaster Software v0.571b - 64bit ( ^ω^)
20:59:57: -------------------------------
20:59:57: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
20:59:57: CPU Speed: 3531MHz
20:59:57: Physical Memory:  8079MB Total, 4179MB Free
20:59:57: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
20:59:57: monitor 1: pos={0, 0}, size={1920, 1080}
20:59:57: monitor 2: pos={1920, 0}, size={1920, 1080}
20:59:57: monitor 3: pos={3840, 0}, size={1280, 720}
20:59:57: Windows Version: 6.1 Build 7601 S
20:59:57: Aero is Disabled
20:59:57: -------------------------------
20:59:57: OBS Modules:
20:59:57: Base Address     Module
20:59:57: 000000003F270000 OBS.exe
20:59:57: 00000000FA660000 OBSApi.dll
20:59:57: 00000000FACB0000 DShowPlugin.dll
20:59:57: 00000000FAFA0000 GraphicsCapture.dll
20:59:57: 00000000FAC90000 NoiseGate.dll
20:59:57: 00000000FAC70000 PSVPlugin.dll
20:59:57: ------------------------------------------
20:59:57: Adapter 1
20:59:57:   Video Adapter: NVIDIA GeForce GTX 680
20:59:57:   Video Adapter Dedicated Video Memory: 2087387136
20:59:57:   Video Adapter Shared System Memory: 2147807232
20:59:57: ------------------------------------------
20:59:57: Adapter 2
20:59:57:   Video Adapter: Intel(R) HD Graphics 4000
20:59:57:   Video Adapter Dedicated Video Memory: 67108864
20:59:57:   Video Adapter Shared System Memory: 1711276032
20:59:57: =====Stream Start: 2013-10-02, 20:59:57===============================================
20:59:57:   Multithreaded optimizations: On
20:59:57:   Base resolution: 1920x1080
20:59:57:   Output resolution: 1280x720
20:59:57: ------------------------------------------
20:59:57: Loading up D3D10 on NVIDIA GeForce GTX 680...
20:59:57: ------------------------------------------
20:59:57: Audio Format: 44100hz
20:59:57: Playback device {0.0.0.00000000}.{8d0305bc-ce5b-43a2-9a69-6a9bcd961e43}
20:59:57: ------------------------------------------
20:59:57: Using desktop audio input: Speakers (7- Logitech G930 Headset)
20:59:57: Using 7.1 surround speaker setup
20:59:57: ------------------------------------------
20:59:57: Using auxilary audio input: Microphone (7- Logitech G930 Headset)
20:59:57: ------------------------------------------
20:59:57: Audio Encoding: AAC
20:59:57:     bitrate: 160
20:59:57: ------------------------------------------
20:59:57:     device: Logitech HD Pro Webcam C920,
20:59:57:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&3611481c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:59:57:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
20:59:57:     audio device: Disable,
20:59:57:     audio device id Disabled,
20:59:57: 
20:59:58: Using directshow input
20:59:58: Using graphics capture
20:59:58: Using bitmap image
20:59:58: Found QSV hardware support
20:59:58: ------------------------------------------
20:59:58: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE3 | MFX_IMPL_VIA_D3D9)
20:59:58: Using 13 encode tasks
20:59:58: ------------------------------------------
20:59:58: Video Encoding: QSV
20:59:58:     fps: 60
20:59:58:     width: 1280, height: 720
20:59:58:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
20:59:58:     CBR: yes
20:59:58:     CFR: no
20:59:58:     max bitrate: 3500
20:59:58: ------------------------------------------
20:59:58: MMDeviceAudioSource: Frequency for device 'Speakers (7- Logitech G930 Headset)' is 1536000, samples per sec is 48000
20:59:58: MMDeviceAudioSource: Frequency for device 'Microphone (7- Logitech G930 Headset)' is 64000, samples per sec is 16000
21:01:09: Total frames encoded: 4225, total frames duplicated: 52 (1.23%)
21:01:09: Total frames rendered: 4233, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
21:01:09: 
21:01:09: Profiler time results:
21:01:09: 
21:01:09: ==============================================================
21:01:09: video thread frame - [100%] [avg time: 1.365 ms] [children: 39.6%] [unaccounted: 60.4%]
21:01:09: | scene->Preprocess - [39.6%] [avg time: 0.54 ms]
21:01:09: GPU download and conversion - [100%] [avg time: 0.354 ms] [children: 87.6%] [unaccounted: 12.4%]
21:01:09: | flush - [66.1%] [avg time: 0.234 ms]
21:01:09: | CopyResource - [19.5%] [avg time: 0.069 ms]
21:01:09: | conversion to 4:2:0 - [1.98%] [avg time: 0.007 ms]
21:01:09: Convert444Threads - [100%] [avg time: 0.532 ms] [children: 99.6%] [unaccounted: 0.376%]
21:01:09: | Convert444toNV12 - [99.6%] [avg time: 0.53 ms]
21:01:09: encoder thread frame - [100%] [avg time: 0.057 ms] [children: 84.2%] [unaccounted: 15.8%]
21:01:09: | ProcessEncodedFrame - [38.6%] [avg time: 0.022 ms]
21:01:09: | EncodeFrameAsync - [45.6%] [avg time: 0.026 ms]
21:01:09: ==============================================================
21:01:09: 
21:01:09: 
21:01:09: Profiler CPU results:
21:01:09: 
21:01:09: ==============================================================
21:01:09: video thread frame - [cpu time: avg 0.6 ms, total 2542.82 ms] [avg calls per frame: 1]
21:01:09: | scene->Preprocess - [cpu time: avg 0.486 ms, total 2059.21 ms] [avg calls per frame: 1]
21:01:09: GPU download and conversion - [cpu time: avg 0.018 ms, total 78 ms] [avg calls per frame: 1]
21:01:09: | flush - [cpu time: avg 0.007 ms, total 31.2 ms] [avg calls per frame: 1]
21:01:09: | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:09: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:09: Convert444Threads - [cpu time: avg 0.408 ms, total 3416.42 ms] [avg calls per frame: 2]
21:01:09: | Convert444toNV12 - [cpu time: avg 0.408 ms, total 3416.42 ms] [avg calls per frame: 2]
21:01:09: encoder thread frame - [cpu time: avg 0.003 ms, total 15.6 ms] [avg calls per frame: 1]
21:01:09: | ProcessEncodedFrame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:09: | EncodeFrameAsync - [cpu time: avg 0.003 ms, total 15.6 ms] [avg calls per frame: 1]
21:01:09: ==============================================================
21:01:09: 
21:01:09: =====Stream End: 2013-10-02, 21:01:09=================================================
21:07:38: =====Stream Start: 2013-10-02, 21:07:38===============================================
21:07:38:   Multithreaded optimizations: On
21:07:38:   Base resolution: 1920x1080
21:07:38:   Output resolution: 1280x720
21:07:38: ------------------------------------------
21:07:38: Loading up D3D10 on NVIDIA GeForce GTX 680...
21:07:38: ------------------------------------------
21:07:38: Audio Format: 44100hz
21:07:38: Playback device {0.0.0.00000000}.{8d0305bc-ce5b-43a2-9a69-6a9bcd961e43}
21:07:38: ------------------------------------------
21:07:38: Using desktop audio input: Speakers (7- Logitech G930 Headset)
21:07:38: Using 7.1 surround speaker setup
21:07:38: ------------------------------------------
21:07:38: Using auxilary audio input: Microphone (7- Logitech G930 Headset)
21:07:38: ------------------------------------------
21:07:38: Audio Encoding: AAC
21:07:38:     bitrate: 160
21:07:38: ------------------------------------------
21:07:38:     device: Logitech HD Pro Webcam C920,
21:07:38:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&3611481c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
21:07:38:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
21:07:38:     audio device: Disable,
21:07:38:     audio device id Disabled,
21:07:38: 
21:07:39: Using directshow input
21:07:39: Using graphics capture
21:07:39: Using bitmap image
21:07:39: Found QSV hardware support
21:07:39: ------------------------------------------
21:07:39: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE3 | MFX_IMPL_VIA_D3D9)
21:07:39: Using 13 encode tasks
21:07:39: ------------------------------------------
21:07:39: Video Encoding: QSV
21:07:39:     fps: 60
21:07:39:     width: 1280, height: 720
21:07:39:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
21:07:39:     CBR: yes
21:07:39:     CFR: no
21:07:39:     max bitrate: 3500
21:07:39: ------------------------------------------
21:07:39: MMDeviceAudioSource: Frequency for device 'Speakers (7- Logitech G930 Headset)' is 1536000, samples per sec is 48000
21:07:39: MMDeviceAudioSource: Frequency for device 'Microphone (7- Logitech G930 Headset)' is 64000, samples per sec is 16000
21:07:49: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:07:49:   New Scene
21:07:49: Using bitmap image
21:07:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:07:52:   New Scene
21:07:52: Using Slide Show
21:07:53: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:07:53:   New Scene
21:07:54: Using Monitor Capture
21:07:55: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:07:55:   New Scene
21:07:55: Using Slide Show
21:07:55: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:07:55:   New Scene
21:07:55: Using Window Capture
21:07:55: Using bitmap image
21:07:56: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:07:56:   New Scene
21:07:56: Using text output
21:07:56: Using bitmap image
21:07:56: Using bitmap image
21:07:56: Using bitmap image
21:08:02: Using bitmap image
21:10:47: Total frames encoded: 11230, total frames duplicated: 98 (0.87%)
21:10:47: Total frames rendered: 11239, number of late frames: 1 (0.01%) (it's okay for some frames to be late)
21:10:47: 
21:10:47: Profiler time results:
21:10:47: 
21:10:47: ==============================================================
21:10:47: video thread frame - [100%] [avg time: 1.575 ms] [children: 36.8%] [unaccounted: 63.2%]
21:10:47: | scene->Preprocess - [36.8%] [avg time: 0.58 ms]
21:10:47: GPU download and conversion - [100%] [avg time: 0.266 ms] [children: 85%] [unaccounted: 15%]
21:10:47: | flush - [64.3%] [avg time: 0.171 ms]
21:10:47: | CopyResource - [19.2%] [avg time: 0.051 ms]
21:10:47: | conversion to 4:2:0 - [1.5%] [avg time: 0.004 ms]
21:10:47: Convert444Threads - [100%] [avg time: 0.513 ms] [children: 99.6%] [unaccounted: 0.39%]
21:10:47: | Convert444toNV12 - [99.6%] [avg time: 0.511 ms]
21:10:47: encoder thread frame - [100%] [avg time: 0.056 ms] [children: 82.1%] [unaccounted: 17.9%]
21:10:47: | ProcessEncodedFrame - [39.3%] [avg time: 0.022 ms]
21:10:47: | EncodeFrameAsync - [42.9%] [avg time: 0.024 ms]
21:10:47: ==============================================================
21:10:47: 
21:10:47: 
21:10:47: Profiler CPU results:
21:10:47: 
21:10:47: ==============================================================
21:10:47: video thread frame - [cpu time: avg 0.728 ms, total 8190.06 ms] [avg calls per frame: 1]
21:10:47: | scene->Preprocess - [cpu time: avg 0.503 ms, total 5662.84 ms] [avg calls per frame: 1]
21:10:47: GPU download and conversion - [cpu time: avg 0.041 ms, total 468 ms] [avg calls per frame: 1]
21:10:47: | flush - [cpu time: avg 0.016 ms, total 187.2 ms] [avg calls per frame: 1]
21:10:47: | CopyResource - [cpu time: avg 0.013 ms, total 156 ms] [avg calls per frame: 1]
21:10:47: | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 15.6 ms] [avg calls per frame: 1]
21:10:47: Convert444Threads - [cpu time: avg 0.409 ms, total 9157.26 ms] [avg calls per frame: 2]
21:10:47: | Convert444toNV12 - [cpu time: avg 0.409 ms, total 9157.26 ms] [avg calls per frame: 2]
21:10:47: encoder thread frame - [cpu time: avg 0.002 ms, total 31.2 ms] [avg calls per frame: 1]
21:10:47: | ProcessEncodedFrame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:10:47: | EncodeFrameAsync - [cpu time: avg 0.002 ms, total 31.2 ms] [avg calls per frame: 1]
21:10:47: ==============================================================
21:10:47: 
21:10:47: =====Stream End: 2013-10-02, 21:10:47=================================================
21:20:05: =====Stream Start: 2013-10-02, 21:20:05===============================================
21:20:05:   Multithreaded optimizations: On
21:20:05:   Base resolution: 1920x1080
21:20:05:   Output resolution: 1280x720
21:20:05: ------------------------------------------
21:20:05: Loading up D3D10 on NVIDIA GeForce GTX 680...
21:20:05: ------------------------------------------
21:20:05: Audio Format: 44100hz
21:20:05: Playback device {0.0.0.00000000}.{8d0305bc-ce5b-43a2-9a69-6a9bcd961e43}
21:20:05: ------------------------------------------
21:20:05: Using desktop audio input: Speakers (7- Logitech G930 Headset)
21:20:05: Using 7.1 surround speaker setup
21:20:05: ------------------------------------------
21:20:05: Using auxilary audio input: Microphone (7- Logitech G930 Headset)
21:20:05: ------------------------------------------
21:20:05: Audio Encoding: AAC
21:20:05:     bitrate: 160
21:20:05: ------------------------------------------
21:20:05:     device: Logitech HD Pro Webcam C920,
21:20:05:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&3611481c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
21:20:05:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
21:20:05:     audio device: Disable,
21:20:05:     audio device id Disabled,
21:20:05: 
21:20:05: Using directshow input
21:20:05: Using text output
21:20:05: Using bitmap image
21:20:05: Using bitmap image
21:20:05: Using bitmap image
21:20:05: ------------------------------------------
21:20:05: Video Encoding: x264
21:20:05:     fps: 60
21:20:05:     width: 1280, height: 720
21:20:05:     preset: veryfast
21:20:05:     profile: high
21:20:05:     keyint: 120
21:20:05:     CBR: yes
21:20:05:     CFR: no
21:20:05:     max bitrate: 3500
21:20:05:     buffer size: 3500
21:20:05: ------------------------------------------
21:20:05: MMDeviceAudioSource: Frequency for device 'Speakers (7- Logitech G930 Headset)' is 1536000, samples per sec is 48000
21:20:05: MMDeviceAudioSource: Frequency for device 'Microphone (7- Logitech G930 Headset)' is 64000, samples per sec is 16000
21:20:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:20:46:   New Scene
21:20:46: Using Window Capture
21:20:46: Using bitmap image
21:20:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:20:47:   New Scene
21:20:47: Using Slide Show
21:20:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:20:47:   New Scene
21:20:47: Using bitmap image
21:20:47: Using Monitor Capture
21:20:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:20:48:   New Scene
21:20:48: Using graphics capture
21:20:48: Using bitmap image
21:25:16: Total frames encoded: 18607, total frames duplicated: 200 (1.07%)
21:25:16: Total frames rendered: 18610, number of late frames: 3 (0.02%) (it's okay for some frames to be late)
21:25:16: 
21:25:16: Profiler time results:
21:25:16: 
21:25:16: ==============================================================
21:25:16: video thread frame - [100%] [avg time: 1.271 ms] [children: 55.3%] [unaccounted: 44.7%]
21:25:16: | scene->Preprocess - [55.3%] [avg time: 0.703 ms]
21:25:16: GPU download and conversion - [100%] [avg time: 0.288 ms] [children: 83.7%] [unaccounted: 16.3%]
21:25:16: | flush - [68.4%] [avg time: 0.197 ms]
21:25:16: | CopyResource - [13.9%] [avg time: 0.04 ms]
21:25:16: | conversion to 4:2:0 - [1.39%] [avg time: 0.004 ms]
21:25:16: Convert444Threads - [100%] [avg time: 0.668 ms] [children: 99.6%] [unaccounted: 0.449%]
21:25:16: | Convert444toNV12 - [99.6%] [avg time: 0.665 ms]
21:25:16: encoder thread frame - [100%] [avg time: 0.765 ms]
21:25:16: ==============================================================
21:25:16: 
21:25:16: 
21:25:16: Profiler CPU results:
21:25:16: 
21:25:16: ==============================================================
21:25:16: video thread frame - [cpu time: avg 0.697 ms, total 12979.3 ms] [avg calls per frame: 1]
21:25:16: | scene->Preprocess - [cpu time: avg 0.554 ms, total 10327.3 ms] [avg calls per frame: 1]
21:25:16: GPU download and conversion - [cpu time: avg 0.035 ms, total 655.204 ms] [avg calls per frame: 1]
21:25:16: | flush - [cpu time: avg 0.014 ms, total 265.201 ms] [avg calls per frame: 1]
21:25:16: | CopyResource - [cpu time: avg 0.005 ms, total 109.201 ms] [avg calls per frame: 1]
21:25:16: | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 62.4 ms] [avg calls per frame: 1]
21:25:16: Convert444Threads - [cpu time: avg 0.54 ms, total 20077.3 ms] [avg calls per frame: 2]
21:25:16: | Convert444toNV12 - [cpu time: avg 0.539 ms, total 20030.5 ms] [avg calls per frame: 2]
21:25:16: encoder thread frame - [cpu time: avg 0.141 ms, total 2620.82 ms] [avg calls per frame: 1]
21:25:16: ==============================================================
21:25:16: 
21:25:16: =====Stream End: 2013-10-02, 21:25:16=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: Popping sound in audio when previewing or streaming....

Could you see if this happens with the webcam off? This isn't actually a bug with OBS, but appears to be a bug with certain motherboards when certain devices are active together at the same time -- for example, I've had people tell me that this problem stops if they deactivate the webcam (though not always). It could be a problem with the windows API as well, but I'm not entirely sure -- regardless all OBS does is read from the devices, so it can't really intentionally cause a problem like this.
 

badbadrobot

Member
Re: Popping sound in audio when previewing or streaming....

Jim said:
Could you see if this happens with the webcam off? This isn't actually a bug with OBS, but appears to be a bug with certain motherboards when certain devices are active together at the same time -- for example, I've had people tell me that this problem stops if they deactivate the webcam (though not always). It could be a problem with the windows API as well, but I'm not entirely sure -- regardless all OBS does is read from the devices, so it can't really intentionally cause a problem like this.

Hmmmm. Let me check this. I did recently get a Logitech c920.
 

badbadrobot

Member
Re: Popping sound in audio when previewing or streaming....

Jim said:
Could you see if this happens with the webcam off? This isn't actually a bug with OBS, but appears to be a bug with certain motherboards when certain devices are active together at the same time -- for example, I've had people tell me that this problem stops if they deactivate the webcam (though not always). It could be a problem with the windows API as well, but I'm not entirely sure -- regardless all OBS does is read from the devices, so it can't really intentionally cause a problem like this.

Ok, after some testing it seems to be the c920 webcam when I have it on in the stream. I had the res of the camera at 1920x1080. Put it down to 1280x720 and that seemed to fix it for now. Very odd.

Thank you for your help jim. You're a stand up guy.
 
Top