Question / Help Audio problem, fine video

Glow

New Member
Hey,

I'm trying to get my stream going. The video works fine but the audio however has some problem. Every three seconds or so there's a mini lag, a small stutter in the audio. This is only for a few fractions of a second but large enough to disturb any music playing. Hopefully someone here can help me out. Note that this problem isn't there if I stream using xsplit so I guess it has to do with something in OBS. During my tests I've had my microphone muted.

My specs are:
50 Mbit/10Mbit internet
Windows 7 x64
i5 2.9 ghz
R9 x280 gfx
4 gb ddr3 ram

I tried to attach the log using the bracket code option but it said my post contained more characters than allowed so I attached the log file instead.

Thanks in advance!
 

Attachments

Code:
18:58:41: Open Broadcaster Software v0.625b - 64bit ( ^ω^)
18:58:41: -------------------------------
18:58:41: CPU Name: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
18:58:41: CPU Speed: 2674MHz
18:58:41: Physical Memory:  4087MB Total, 2269MB Free
18:58:41: stepping id: 5, model 30, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
18:58:41: monitor 1: pos={-1920, 0}, size={1920, 1080}
18:58:41: monitor 2: pos={0, 0}, size={1920, 1080}
18:58:41: Windows Version: 6.1 Build 7601 S
18:58:41: Aero is Disabled
18:58:41: -------------------------------
18:58:41: OBS Modules:
18:58:41: Base Address     Module
18:58:41: 000000003F470000 OBS.exe
18:58:41: 00000000DF5F0000 OBSApi.dll
18:58:41: 00000000E7160000 DShowPlugin.dll
18:58:41: 00000000ED870000 GraphicsCapture.dll
18:58:41: 00000000ED840000 NoiseGate.dll
18:58:41: 00000000E6BF0000 PSVPlugin.dll
18:58:41: ------------------------------------------
18:58:41: Adapter 1
18:58:41:   Video Adapter: ASUS R9 280X Series
18:58:41:   Video Adapter Dedicated Video Memory: 3206725632
18:58:41:   Video Adapter Shared System Memory: 1874358272
18:58:41:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:58:41:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
18:58:41: =====Stream Start: 2014-09-05, 18:58:41===============================================
18:58:41:   Multithreaded optimizations: On
18:58:41:   Base resolution: 1920x1080
18:58:41:   Output resolution: 1280x720
18:58:41: ------------------------------------------
18:58:41: Loading up D3D10 on ASUS R9 280X Series (Adapter 1)...
18:58:41: ------------------------------------------
18:58:41: Audio Format: 44100 Hz
18:58:41: ------------------------------------------
18:58:41: Audio Channels: 2 Ch
18:58:41: Playback device {0.0.0.00000000}.{2c4cfe10-a167-4361-b25d-d7d48592d658}
18:58:41: ------------------------------------------
18:58:41: Using desktop audio input: Högtalare (VIA High Definition Audio)
18:58:41: Global Audio time adjust: 0
18:58:41: ------------------------------------------
18:58:41: Using auxilary audio input: Mikrofon (VIA High Definition Audio)
18:58:41: Mic time offset: 0
18:58:41: ------------------------------------------
18:58:41: Audio Encoding: AAC
18:58:41:     bitrate: 128
18:58:41: Using graphics capture
18:58:41: Scene buffering time set to 700
18:58:41: ------------------------------------------
18:58:41: Video Encoding: x264
18:58:41:     fps: 30
18:58:41:     width: 1280, height: 720
18:58:41:     preset: veryfast
18:58:41:     profile: high
18:58:41:     keyint: 60
18:58:41:     CBR: yes
18:58:41:     CFR: yes
18:58:41:     max bitrate: 2500
18:58:41:     buffer size: 2500
18:58:41: ------------------------------------------
18:58:41: Bad timestamp detected, syncing audio to video time
18:58:43: Using RTMP service: Twitch / Justin.tv
18:58:43:   Server selection: rtmp://live-fra.justin.tv/app
18:58:43:   Interface: Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet NIC (NDIS 6.20) (ethernet, 1000 mbps)
18:58:43: Audio timestamp for device 'Mikrofon (VIA High Definition Audio)' was behind target timestamp by 80
18:58:43: Completed handshake with rtmp://live-fra.justin.tv/app in 575 ms.
18:58:44: SO_SNDBUF was at 8192
18:58:44: SO_SNDBUF is now 65536
18:58:44: Trying to hook process: Hearthstone.exe
18:58:45: SharedTexCapture hooked
18:58:46: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:58:46: SharedTexCapture hooked
18:58:47: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 656 / 335872)
18:58:49: Audio timestamp for device 'Mikrofon (VIA High Definition Audio)' was behind target timestamp by 90
18:58:51: Audio timestamp for device 'Mikrofon (VIA High Definition Audio)' was behind target timestamp by 100
18:58:53: Audio timestamp for device 'Mikrofon (VIA High Definition Audio)' was behind target timestamp by 110
18:58:57: Audio timestamp for device 'Mikrofon (VIA High Definition Audio)' was behind target timestamp by 120
18:59:03: Audio timestamp for device 'Mikrofon (VIA High Definition Audio)' was behind target timestamp by 130
19:01:17: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
19:01:17: Failed loading CUDA dll
19:04:29: Total frames encoded: 10742, total frames duplicated: 13 (0.12%)
19:04:29: Total frames rendered: 10761, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
19:04:29: RTMPPublisher::SocketLoop: Graceful loop exit
19:04:40: Average send payload: 7556 bytes, average send interval: 22 ms
19:04:40: Number of times waited to send: 0, Waited for a total of 0 bytes
19:04:40: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:04:40: Number of bytes sent: 117142737
19:04:40: 
19:04:40: Profiler time results:
19:04:40: 
19:04:40: ==============================================================
19:04:40: video thread frame - [100%] [avg time: 0.923 ms] [children: 4.33e+004%] [unaccounted: -4.32e+004%]
19:04:40: | scene->Preprocess - [0.108%] [avg time: 0.001 ms]
19:04:40: | GPU download and conversion - [4.33e+004%] [avg time: 399.305 ms] [children: 4.33e+004%] [unaccounted: 1.84%]
19:04:40: | | flush - [4.33e+004%] [avg time: 399.262 ms]
19:04:40: | | CopyResource - [0.975%] [avg time: 0.009 ms]
19:04:40: | | conversion to 4:2:0 - [1.84%] [avg time: 0.017 ms]
19:04:40: Convert444Threads - [100%] [avg time: 600.572 ms] [children: 0.0909%] [unaccounted: 99.9%]
19:04:40: | Convert444toNV12 - [0.0909%] [avg time: 0.546 ms]
19:04:40: encoder thread frame - [100%] [avg time: 1.011 ms] [children: 2.57%] [unaccounted: 97.4%]
19:04:40: | sending stuff out - [2.57%] [avg time: 0.026 ms]
19:04:40: ==============================================================
19:04:40: 
19:04:40: 
19:04:40: Profiler CPU results:
19:04:40: 
19:04:40: ==============================================================
19:04:40: video thread frame - [cpu time: avg 0.094 ms, total 1014.01 ms] [avg calls per frame: 1]
19:04:40: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:04:40: | GPU download and conversion - [cpu time: avg 0.04 ms, total 436.803 ms] [avg calls per frame: 1]
19:04:40: | | flush - [cpu time: avg 0.034 ms, total 374.402 ms] [avg calls per frame: 1]
19:04:40: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:04:40: | | conversion to 4:2:0 - [cpu time: avg 0.004 ms, total 46.8 ms] [avg calls per frame: 1]
19:04:40: Convert444Threads - [cpu time: avg 0.848 ms, total 18220.9 ms] [avg calls per frame: 2]
19:04:40: | Convert444toNV12 - [cpu time: avg 0.847 ms, total 18189.7 ms] [avg calls per frame: 2]
19:04:40: encoder thread frame - [cpu time: avg 0.771 ms, total 8283.65 ms] [avg calls per frame: 1]
19:04:40: | sending stuff out - [cpu time: avg 0.177 ms, total 1903.21 ms] [avg calls per frame: 1]
19:04:40: ==============================================================
19:04:40: 
19:04:40: =====Stream End: 2014-09-05, 19:04:40=================================================


Last game capture log:
2014-09-05, 18:58:44: we're booting up: 
18:58:44: CaptureThread: attached to process Hearthstone.exe
18:58:44: D3D9 Present
18:58:44: GL Present
18:58:44: (half life scientist) everything..  seems to be in order
18:58:45: D3D9EndScene called
18:58:45: D3DPRESENT_PARAMETERS {
18:58:45:     BackBufferWidth: 1813
18:58:45:     BackBufferHeight: 1025
18:58:45:     BackBufferFormat: D3DFMT_A8R8G8B8
18:58:45:     BackBufferCount: 1
18:58:45:     MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
18:58:45:     MultiSampleQuality: 0
18:58:45:     SwapEffect: D3DSWAPEFFECT_DISCARD
18:58:45:     hDeviceWindow: 1254582
18:58:45:     Windowed: true
18:58:45:     EnableAutoDepthStencil: false
18:58:45:     AutoDepthStencilFormat: D3DFMT_D24S8
18:58:45:     Flags: None
18:58:45:     FullScreen_RefreshRateInHz: 0
18:58:45:     PresentationInterval: 1
18:58:45: };
18:58:45: successfully set up d3d9 hooks
18:58:45: D3D9Present called
18:58:45: DoD3D9GPUHook: success
18:58:45: D3D9Reset called
18:58:45: ---------------------- Cleared D3D9 Capture ----------------------
18:58:45: D3DPRESENT_PARAMETERS {
18:58:45:     BackBufferWidth: 1813
18:58:45:     BackBufferHeight: 1020
18:58:45:     BackBufferFormat: D3DFMT_A8R8G8B8
18:58:45:     BackBufferCount: 1
18:58:45:     MultiSampleType: D3DMULTISAMPLE_NONE
18:58:45:     MultiSampleQuality: 0
18:58:45:     SwapEffect: D3DSWAPEFFECT_DISCARD
18:58:45:     hDeviceWindow: 1254582
18:58:45:     Windowed: true
18:58:45:     EnableAutoDepthStencil: false
18:58:45:     AutoDepthStencilFormat: D3DFMT_D24S8
18:58:45:     Flags: None
18:58:45:     FullScreen_RefreshRateInHz: 0
18:58:45:     PresentationInterval: 1
18:58:45: };
18:58:45: successfully set up d3d9 hooks
18:58:45: D3D9Reset called
18:58:45: ---------------------- Cleared D3D9 Capture ----------------------
18:58:45: successfully set up d3d9 hooks
18:58:46: D3D9EndScene called
18:58:46: D3D9Present called
18:58:46: DoD3D9GPUHook: success
18:58:46: D3DSURFACE_DESC {
18:58:46:     Format: D3DFMT_A8R8G8B8
18:58:46:     Type: D3DRTYPE_SURFACE
18:58:46:     Usage: D3DUSAGE_RENDERTARGET 
18:58:46:     Pool: D3DPOOL_DEFAULT
18:58:46:     MultiSampleType: D3DMULTISAMPLE_NONE
18:58:46:     MultiSampleQuality: 0
18:58:46:     Width: 1813
18:58:46:     Height: 1020
18:58:46: };
18:58:46: successfully capturing d3d9 frames via GPU
19:04:29: ---------------------- Cleared D3D9 Capture ----------------------
19:04:29: D3D9EndScene called
19:04:29: D3D9Present called
 
Bug that happens under very specific circumstances with certain hardware configurations. May not have a fix yet for this version of OBS.
 
Back
Top