Bug Report Audio breaks / interruptions / popping - Overclocked system [Resolved]

ToFran

New Member
I recently installed OBS, I'm still testing and configuring it, today I noticed that the audio is not clear.

What happens:
When i'm streaming/recording the audio is completely fine (for me), but the audio is outputted both for stream and recording with breaks, interruptions and popping.

The best way to explain this is with an example:
I played an audio sample and recorded, this is the original audio:
http://vocaroo.com/i/s1svwH04X86f
This is the audio of the outputted video recording:
http://vocaroo.com/i/s02cGNyefQAf


I tried to troubleshoot this by:
  • Changing the encoding settings (bitrate, codec and format);
  • Disabling the microphone and camera;
  • Creating a blank scene;
  • Changing windows audio setting (I even tried with the audio source form an Virtual cable);
  • I played with other non audio settings to see if that made any difference;
  • Then I moved to disabling any program that may be using/outputting audio;
But nothing worked :(
Thats why I think this is an BUG....

Here is the LOG:
Code:
16:49:45: Open Broadcaster Software v0.624b - 64bit ( ^ω^)
16:49:45: -------------------------------
16:49:45: CPU Name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
16:49:45: CPU Speed: 3611MHz
16:49:45: Physical Memory:  8190MB Total, 4962MB Free
16:49:45: stepping id: 5, model 30, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
16:49:45: monitor 1: pos={0, 0}, size={1920, 1080}
16:49:45: Windows Version: 6.1 Build 7601 S
16:49:45: Aero is Enabled
16:49:45: -------------------------------
16:49:45: OBS Modules:
16:49:45: Base Address     Module
16:49:45: 000000003F210000 OBS.exe
16:49:45: 00000000F4420000 OBSApi.dll
16:49:45: 00000000F5070000 DShowPlugin.dll
16:49:45: 00000000F4DA0000 GraphicsCapture.dll
16:49:45: 00000000F4D70000 NoiseGate.dll
16:49:45: 00000000F4D40000 PSVPlugin.dll
16:49:45: ------------------------------------------
16:49:45: Adapter 1
16:49:45:   Video Adapter: NVIDIA GeForce GTS 450  
16:49:45:   Video Adapter Dedicated Video Memory: 1024917504
16:49:45:   Video Adapter Shared System Memory: 3221106688
16:49:45:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
16:49:45: =====Stream Start: 2014-06-14, 16:49:45===============================================
16:49:45:   Multithreaded optimizations: On
16:49:45:   Base resolution: 1920x1080
16:49:45:   Output resolution: 1920x1080
16:49:45: ------------------------------------------
16:49:45: Loading up D3D10 on NVIDIA GeForce GTS 450 (Adapter 1)...
16:49:45: ------------------------------------------
16:49:45: Audio Format: 48000 Hz
16:49:45: ------------------------------------------
16:49:45: Audio Channels: 2 Ch
16:49:45: Playback device {0.0.0.00000000}.{5d2e1eb6-2365-4506-be54-704cf56320c3}
16:49:45: ------------------------------------------
16:49:45: Using desktop audio input: Headset (VIA High Definition Audio)
16:49:45: Global Audio time adjust: 0
16:49:45: ------------------------------------------
16:49:45: Audio Encoding: AAC
16:49:45:     bitrate: 128
16:49:45: Scene buffering time set to 500
16:49:45: ------------------------------------------
16:49:45: Video Encoding: x264
16:49:45:     fps: 30
16:49:45:     width: 1920, height: 1080
16:49:45:     preset: veryfast
16:49:45:     profile: main
16:49:45:     keyint: 60
16:49:45:     CBR: yes
16:49:45:     CFR: yes
16:49:45:     max bitrate: 1000
16:49:45:     buffer size: 1000
16:49:45: ------------------------------------------
16:49:51: Total frames encoded: 169, total frames duplicated: 0 (0.00%)
16:49:51: Total frames rendered: 174, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
16:49:51:
16:49:51: Profiler time results:
16:49:51:
16:49:51: ==============================================================
16:49:51: video thread frame - [100%] [avg time: 0.551 ms] [children: 12%] [unaccounted: 88%]
16:49:51: | scene->Preprocess - [0%] [avg time: 0 ms]
16:49:51: | GPU download and conversion - [12%] [avg time: 0.066 ms] [children: 8.89%] [unaccounted: 3.09%]
16:49:51: | | flush - [7.44%] [avg time: 0.041 ms]
16:49:51: | | CopyResource - [1.27%] [avg time: 0.007 ms]
16:49:51: | | conversion to 4:2:0 - [0.181%] [avg time: 0.001 ms]
16:49:51: Convert444Threads - [100%] [avg time: 1.382 ms] [children: 99.7%] [unaccounted: 0.289%]
16:49:51: | Convert444toNV12 - [99.7%] [avg time: 1.378 ms]
16:49:51: encoder thread frame - [100%] [avg time: 1.387 ms] [children: 0.433%] [unaccounted: 99.6%]
16:49:51: | sending stuff out - [0.433%] [avg time: 0.006 ms]
16:49:51: ==============================================================
16:49:51:
16:49:51:
16:49:51: Profiler CPU results:
16:49:51:
16:49:51: ==============================================================
16:49:51: video thread frame - [cpu time: avg 0.358 ms, total 62.4 ms] [avg calls per frame: 1]
16:49:51: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:49:51: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:49:51: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:49:51: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:49:51: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:49:51: Convert444Threads - [cpu time: avg 2.012 ms, total 624.004 ms] [avg calls per frame: 2]
16:49:51: | Convert444toNV12 - [cpu time: avg 2.012 ms, total 624.004 ms] [avg calls per frame: 2]
16:49:51: encoder thread frame - [cpu time: avg 0.81 ms, total 124.8 ms] [avg calls per frame: 1]
16:49:51: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
16:49:51: ==============================================================
16:49:51:
16:49:51: =====Stream End: 2014-06-14, 16:49:51=================================================

I hope someone can help me.... or at least I can help the development.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Are you overclocking? Currently the way we calculate time doesn't always work if your system is overclocked improperly and will result in this sort of stuff. Reason why I mention overclocking is because it says that your CPU speed is at 3.6GHz but that the processor is normally 2.8GHz.
 

ToFran

New Member
Are you overclocking? Currently the way we calculate time doesn't always work if your system is overclocked improperly and will result in this sort of stuff. Reason why I mention overclocking is because it says that your CPU speed is at 3.6GHz but that the processor is normally 2.8GHz.
Yes I'm overclocking, but not improperly (...as i know).
My system is completely stable, but I will give it a try with the default CPU and RAM clocks.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
The only reason I say it is because I've seen it before, it's where the system processes time improperly. Optionally, you could try the bcdedit trick to change the way windows handles your timing (though not guaranteed to always work):

1.) In your bios, see if there's an option for "High Precision Event Timer" or "HPET", and enable it if possible (it's fine if you can't find it, you can just skip this step if so)
2.) Open a windows command prompt as administrator, and type: bcdedit /set useplatformclock true
3.) Reboot, and try it out again.
 

ToFran

New Member
Thanks it worked!
You guys are awesome (OBS team).

I know OBS still in beta, but is this a problem with OBS right? I'm asking this because I use other video and audio editing/rendering software and I never had problems....
Now its working and my system is stable, thats what matters.

BTW,
I changed the title because this can be useful for further reference.

(And sorry for my English, its not my main language)
 
Last edited:
Top