Question / Help Persistent Audio Stutter

Malvortex

New Member
I'll preface this post by saying that I'm totally new to streaming. What started as an early morning whim has become a battle to make this work, even if I never stream another day in my life. OBS seems like an incredibly cool piece of software (and this community seems very nice), so I'd really like to see a victory here.

In attempting to set up my stream, I've run into a number of problems related to my limited equipment. I'm on DSL (26mbps down but only 800kbps sustained), and my CPU is rather old (Phenom II X3 unlocked to X4). This has caused a number of framerate and ping issues in attempting to set this up. Those issues are still pending (and may prove insurmountable down the road), but I cannot really tackle them with this audio stutter in my way.

I have googled this problem extensively to no luck. I've run my log files through the the OBS log analyzer several times to no avail. I've tried every configuration of resolution, audio, broadcasting, and bitrate I can think of. I've reinstalled OBS. Its persistent. My latest test was literally a 10fps jpg image at minimal resolution and the audio problems were still there.

For reference, http://www.twitch.tv/malvortex/b/472283448 is an example of this last test with the audio stutter. Pretty much all of my videos this afternoon have had this problem.

Oddly enough, I did not have this problem earlier on, back when I was experiencing massive CPU and latency issues. I've since deleted those videos so I can't point to them as reference, and I don't have a clue what to draw from them.

Here is a copy of my most recent OBS log. Because my processor has that unlocked core, some hardware stuff is misreported (the CPU is presently running at 3.3ghz and I have 12gb of ram, for example).

Code:
15:18:45: Settings::Video: Enabling Aero
15:19:48: Open Broadcaster Software v0.582b - 32bit (´・ω・`)
15:19:48: -------------------------------
15:19:48: CPU Name: AMD Phenom(tm) II X4 B35 Processor
15:19:48: CPU Speed: 2913MHz
15:19:48: Physical Memory:  4095MB Total, 4095MB Free
15:19:48: stepping id: 2, model 5, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
15:19:48: monitor 1: pos={-1920, 0}, size={1920, 1080}
15:19:48: monitor 2: pos={0, 0}, size={1920, 1080}
15:19:48: Windows Version: 6.1 Build 7601 S
15:19:48: Aero is Enabled
15:19:48: -------------------------------
15:19:48: OBS Modules:
15:19:48: Base Address     Module
15:19:48: 012B0000         OBS.exe
15:19:48: 57330000         OBSApi.dll
15:19:48: 5DF00000         DShowPlugin.dll
15:19:48: 5BD50000         GraphicsCapture.dll
15:19:48: 5BAB0000         NoiseGate.dll
15:19:48: 5BA90000         PSVPlugin.dll
15:19:48: ------------------------------------------
15:19:48: Adapter 1
15:19:48:   Video Adapter: ATI Radeon HD 5700 Series
15:19:48:   Video Adapter Dedicated Video Memory: 1058869248
15:19:48:   Video Adapter Shared System Memory: 3236032512
15:19:48:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:19:48:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
15:19:48: Using fixed low latency mode, factor 20
15:19:48: =====Stream Start: 2013-10-21, 15:19:48===============================================
15:19:48:   Multithreaded optimizations: On
15:19:48:   Base resolution: 1920x1080
15:19:48:   Output resolution: 960x540
15:19:48: ------------------------------------------
15:19:48: Loading up D3D10 on ATI Radeon HD 5700 Series...
15:19:48: ------------------------------------------
15:19:48: Audio Format: 48000hz
15:19:48: Playback device Default
15:19:48: ------------------------------------------
15:19:48: Using desktop audio input: Speakers (High Definition Audio Device)
15:19:49: ------------------------------------------
15:19:49: Using auxilary audio input: Microphone (HD Webcam C310)
15:19:49: ------------------------------------------
15:19:49: Audio Encoding: MP3
15:19:49:     bitrate: 128
15:19:49: ------------------------------------------
15:19:49:     device: Logitech HD Webcam C310,
15:19:49:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&764f208&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
15:19:49:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
15:19:49:     use buffering: false - 0, fourCC: 'I420'
15:19:49:     audio device: Disable,
15:19:49:     audio device id Disabled,
15:19:49: 
15:19:49: Using directshow input
15:19:49: Using Window Capture
15:19:49: Scene buffering time set to 700
15:19:50: ------------------------------------------
15:19:50: Video Encoding: x264
15:19:50:     fps: 25
15:19:50:     width: 960, height: 540
15:19:50:     preset: veryfast
15:19:50:     profile: high
15:19:50:     keyint: 50
15:19:50:     CBR: yes
15:19:50:     CFR: yes
15:19:50:     max bitrate: 550
15:19:50:     buffer size: 125
15:19:50: ------------------------------------------
15:19:50: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
15:19:50: MMDeviceAudioSource: Frequency for device 'Microphone (HD Webcam C310)' is 192000, samples per sec is 48000
15:19:52: Using RTMP service: Twitch / Justin.tv
15:19:52:   Server selection: rtmp://live-dfw.justin.tv/app
15:19:52:   Interface: Intel(R) Gigabit CT Desktop Adapter (ethernet, 1000 mbps)
15:19:52: Completed handshake with rtmp://live-dfw.justin.tv/app in 199 ms.
15:19:53: SO_SNDBUF was at 8192
15:19:53: SO_SNDBUF is now 65536
15:20:16: Total frames encoded: 696, total frames duplicated: 1 (0.14%)
15:20:16: Total frames rendered: 699, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:20:16: RTMPPublisher::SocketLoop: Graceful loop exit
15:20:16: Average send payload: 4689 bytes, average send interval: 50 ms
15:20:16: Number of times waited to send: 0, Waited for a total of 0 bytes
15:20:16: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:20:16: Number of bytes sent: 2077397
15:20:16: 
15:20:16: Profiler time results:
15:20:16: 
15:20:16: ==============================================================
15:20:16: video thread frame - [100%] [avg time: 2.869 ms] [children: 78.8%] [unaccounted: 21.2%]
15:20:16: | scene->Preprocess - [66.5%] [avg time: 1.907 ms]
15:20:16: | GPU download and conversion - [12.3%] [avg time: 0.353 ms] [children: 8.68%] [unaccounted: 3.62%]
15:20:16: | | flush - [7.95%] [avg time: 0.228 ms]
15:20:16: | | CopyResource - [0.453%] [avg time: 0.013 ms]
15:20:16: | | conversion to 4:2:0 - [0.279%] [avg time: 0.008 ms]
15:20:16: Convert444Threads - [100%] [avg time: 0.525 ms] [children: 97.3%] [unaccounted: 2.67%]
15:20:16: | Convert444toNV12 - [97.3%] [avg time: 0.511 ms]
15:20:16: encoder thread frame - [100%] [avg time: 0.934 ms]
15:20:16: ==============================================================
15:20:16: 
15:20:16: 
15:20:16: Profiler CPU results:
15:20:16: 
15:20:16: ==============================================================
15:20:16: video thread frame - [cpu time: avg 1.227 ms, total 858.005 ms] [avg calls per frame: 1]
15:20:16: | scene->Preprocess - [cpu time: avg 0.691 ms, total 483.605 ms] [avg calls per frame: 1]
15:20:16: | GPU download and conversion - [cpu time: avg 0.089 ms, total 62.4 ms] [avg calls per frame: 1]
15:20:16: | | flush - [cpu time: avg 0.022 ms, total 15.6 ms] [avg calls per frame: 1]
15:20:16: | | CopyResource - [cpu time: avg 0.068 ms, total 46.8 ms] [avg calls per frame: 1]
15:20:16: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:20:16: Convert444Threads - [cpu time: avg 0.413 ms, total 561.602 ms] [avg calls per frame: 2]
15:20:16: | Convert444toNV12 - [cpu time: avg 0.413 ms, total 561.602 ms] [avg calls per frame: 2]
15:20:16: encoder thread frame - [cpu time: avg 0.207 ms, total 140.4 ms] [avg calls per frame: 1]
15:20:16: ==============================================================
15:20:16: 
15:20:16: =====Stream End: 2013-10-21, 15:20:16=================================================
15:22:05: Settings::Video: Enabling Aero
15:22:11: Settings::Video: Enabling Aero
15:23:31: =====Stream Start: 2013-10-21, 15:23:31===============================================
15:23:31:   Multithreaded optimizations: On
15:23:31:   Base resolution: 1920x1080
15:23:31:   Output resolution: 640x360
15:23:31: ------------------------------------------
15:23:31: Loading up D3D10 on ATI Radeon HD 5700 Series...
15:23:31: ------------------------------------------
15:23:31: Audio Format: 48000hz
15:23:31: Playback device Default
15:23:31: ------------------------------------------
15:23:31: Using desktop audio input: Speakers (High Definition Audio Device)
15:23:31: ------------------------------------------
15:23:31: Using auxilary audio input: Microphone (HD Webcam C310)
15:23:31: ------------------------------------------
15:23:31: Audio Encoding: MP3
15:23:31:     bitrate: 128
15:23:31: Using bitmap image
15:23:31: Scene buffering time set to 700
15:23:31: x264: VBV buffer size cannot be smaller than one frame, using 550 kbit
15:23:31: ------------------------------------------
15:23:31: Video Encoding: x264
15:23:31:     fps: 1
15:23:31:     width: 640, height: 360
15:23:31:     preset: veryfast
15:23:31:     profile: high
15:23:31:     keyint: 2
15:23:31:     CBR: yes
15:23:31:     CFR: yes
15:23:31:     max bitrate: 550
15:23:31:     buffer size: 125
15:23:31: ------------------------------------------
15:23:31: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
15:23:31: MMDeviceAudioSource: Frequency for device 'Microphone (HD Webcam C310)' is 192000, samples per sec is 48000
15:23:37: Total frames encoded: 0, total frames duplicated: 0 (-1.#J%)
15:23:37: Number of frames skipped due to encoder lag: 6 (1.#J%)
15:23:37: Total frames rendered: 1, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:23:37: 
15:23:37: Profiler time results:
15:23:37: 
15:23:37: ==============================================================
15:23:37: video thread frame - [100%] [avg time: 4.726 ms] [children: 5.63%] [unaccounted: 94.4%]
15:23:37: | scene->Preprocess - [0.106%] [avg time: 0.005 ms]
15:23:37: | GPU download and conversion - [5.52%] [avg time: 0.261 ms] [children: 5.48%] [unaccounted: 0.0423%]
15:23:37: | | flush - [5.48%] [avg time: 0.259 ms]
15:23:37: ==============================================================
15:23:37: 
15:23:37: 
15:23:37: Profiler CPU results:
15:23:37: 
15:23:37: ==============================================================
15:23:37: video thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:23:37: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:23:37: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:23:37: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:23:37: ==============================================================
15:23:37: 
15:23:37: =====Stream End: 2013-10-21, 15:23:37=================================================
15:24:01: =====Stream Start: 2013-10-21, 15:24:01===============================================
15:24:01:   Multithreaded optimizations: On
15:24:01:   Base resolution: 1920x1080
15:24:01:   Output resolution: 640x360
15:24:01: ------------------------------------------
15:24:01: Loading up D3D10 on ATI Radeon HD 5700 Series...
15:24:01: ------------------------------------------
15:24:01: Audio Format: 48000hz
15:24:01: Playback device Default
15:24:01: ------------------------------------------
15:24:01: Using desktop audio input: Speakers (High Definition Audio Device)
15:24:01: ------------------------------------------
15:24:01: Using auxilary audio input: Microphone (HD Webcam C310)
15:24:01: ------------------------------------------
15:24:01: Audio Encoding: MP3
15:24:01:     bitrate: 128
15:24:01: ------------------------------------------
15:24:01:     device: Logitech HD Webcam C310,
15:24:01:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&764f208&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
15:24:01:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
15:24:01:     use buffering: false - 0, fourCC: 'I420'
15:24:01:     audio device: Disable,
15:24:01:     audio device id Disabled,
15:24:01: 
15:24:01: Using directshow input
15:24:02: Using Window Capture
15:24:02: Scene buffering time set to 700
15:24:02: x264: VBV buffer size cannot be smaller than one frame, using 550 kbit
15:24:02: ------------------------------------------
15:24:02: Video Encoding: x264
15:24:02:     fps: 1
15:24:02:     width: 640, height: 360
15:24:02:     preset: veryfast
15:24:02:     profile: high
15:24:02:     keyint: 2
15:24:02:     CBR: yes
15:24:02:     CFR: yes
15:24:02:     max bitrate: 550
15:24:02:     buffer size: 125
15:24:02: ------------------------------------------
15:24:02: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
15:24:02: MMDeviceAudioSource: Frequency for device 'Microphone (HD Webcam C310)' is 192000, samples per sec is 48000
15:24:32: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:24:32:   New Scene
15:24:32: Using graphics capture
15:24:43: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:24:43:   New Scene
15:24:45: Total frames encoded: 0, total frames duplicated: 0 (-1.#J%)
15:24:45: Number of frames skipped due to encoder lag: 46 (1.#J%)
15:24:45: Total frames rendered: 1, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:24:46: 
15:24:46: Profiler time results:
15:24:46: 
15:24:46: ==============================================================
15:24:46: video thread frame - [100%] [avg time: 3.024 ms] [children: 82.5%] [unaccounted: 17.5%]
15:24:46: | scene->Preprocess - [74.2%] [avg time: 2.243 ms]
15:24:46: | GPU download and conversion - [8.33%] [avg time: 0.252 ms] [children: 8.23%] [unaccounted: 0.0992%]
15:24:46: | | flush - [8.23%] [avg time: 0.249 ms]
15:24:46: ==============================================================
15:24:46: 
15:24:46: 
15:24:46: Profiler CPU results:
15:24:46: 
15:24:46: ==============================================================
15:24:46: video thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:46: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:46: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:46: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:46: ==============================================================
15:24:46: 
15:24:46: =====Stream End: 2013-10-21, 15:24:46=================================================
15:24:46: =====Stream Start: 2013-10-21, 15:24:46===============================================
15:24:46:   Multithreaded optimizations: On
15:24:46:   Base resolution: 1920x1080
15:24:46:   Output resolution: 640x360
15:24:46: ------------------------------------------
15:24:46: Loading up D3D10 on ATI Radeon HD 5700 Series...
15:24:46: ------------------------------------------
15:24:46: Audio Format: 48000hz
15:24:46: Playback device Default
15:24:46: ------------------------------------------
15:24:46: Using desktop audio input: Speakers (High Definition Audio Device)
15:24:46: ------------------------------------------
15:24:46: Using auxilary audio input: Microphone (HD Webcam C310)
15:24:46: ------------------------------------------
15:24:46: Audio Encoding: MP3
15:24:46:     bitrate: 128
15:24:46: ------------------------------------------
15:24:46:     device: Logitech HD Webcam C310,
15:24:46:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&764f208&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
15:24:46:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
15:24:46:     use buffering: false - 0, fourCC: 'I420'
15:24:46:     audio device: Disable,
15:24:46:     audio device id Disabled,
15:24:46: 
15:24:46: Using directshow input
15:24:47: Using Window Capture
15:24:47: Scene buffering time set to 700
15:24:47: x264: VBV buffer size cannot be smaller than one frame, using 550 kbit
15:24:47: ------------------------------------------
15:24:47: Video Encoding: x264
15:24:47:     fps: 1
15:24:47:     width: 640, height: 360
15:24:47:     preset: veryfast
15:24:47:     profile: high
15:24:47:     keyint: 2
15:24:47:     CBR: yes
15:24:47:     CFR: yes
15:24:47:     max bitrate: 550
15:24:47:     buffer size: 125
15:24:47: ------------------------------------------
15:24:47: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
15:24:47: MMDeviceAudioSource: Frequency for device 'Microphone (HD Webcam C310)' is 192000, samples per sec is 48000
15:24:53: Settings::Video: Enabling Aero
15:24:56: Total frames encoded: 0, total frames duplicated: 0 (-1.#J%)
15:24:56: Number of frames skipped due to encoder lag: 9 (1.#J%)
15:24:56: Total frames rendered: 1, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:24:56: 
15:24:56: Profiler time results:
15:24:56: 
15:24:56: ==============================================================
15:24:56: video thread frame - [100%] [avg time: 2.896 ms] [children: 74.6%] [unaccounted: 25.4%]
15:24:56: | scene->Preprocess - [66.5%] [avg time: 1.925 ms]
15:24:56: | GPU download and conversion - [8.11%] [avg time: 0.235 ms] [children: 7.94%] [unaccounted: 0.173%]
15:24:56: | | flush - [7.94%] [avg time: 0.23 ms]
15:24:56: ==============================================================
15:24:56: 
15:24:56: 
15:24:56: Profiler CPU results:
15:24:56: 
15:24:56: ==============================================================
15:24:56: video thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:56: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:56: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:56: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:24:56: ==============================================================
15:24:56: 
15:24:56: =====Stream End: 2013-10-21, 15:24:56=================================================
15:24:57: =====Stream Start: 2013-10-21, 15:24:57===============================================
15:24:57:   Multithreaded optimizations: On
15:24:57:   Base resolution: 1920x1080
15:24:57:   Output resolution: 640x360
15:24:57: ------------------------------------------
15:24:57: Loading up D3D10 on ATI Radeon HD 5700 Series...
15:24:57: ------------------------------------------
15:24:57: Audio Format: 48000hz
15:24:57: Playback device Default
15:24:57: ------------------------------------------
15:24:57: Using desktop audio input: Speakers (High Definition Audio Device)
15:24:57: ------------------------------------------
15:24:57: Using auxilary audio input: Microphone (HD Webcam C310)
15:24:57: ------------------------------------------
15:24:57: Audio Encoding: MP3
15:24:57:     bitrate: 128
15:24:57: ------------------------------------------
15:24:57:     device: Logitech HD Webcam C310,
15:24:57:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&764f208&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
15:24:57:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
15:24:57:     use buffering: false - 0, fourCC: 'I420'
15:24:57:     audio device: Disable,
15:24:57:     audio device id Disabled,
15:24:57: 
15:24:57: Using directshow input
15:24:58: Using Window Capture
15:24:58: Scene buffering time set to 700
15:24:58: ------------------------------------------
15:24:58: Video Encoding: x264
15:24:58:     fps: 10
15:24:58:     width: 640, height: 360
15:24:58:     preset: veryfast
15:24:58:     profile: high
15:24:58:     keyint: 20
15:24:58:     CBR: yes
15:24:58:     CFR: yes
15:24:58:     max bitrate: 550
15:24:58:     buffer size: 125
15:24:58: ------------------------------------------
15:24:58: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
15:24:58: MMDeviceAudioSource: Frequency for device 'Microphone (HD Webcam C310)' is 192000, samples per sec is 48000
15:25:07: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:25:07:   New Scene
15:25:07: Using graphics capture
15:25:08: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:25:08:   New Scene
15:25:08: Using bitmap image
15:25:12: Total frames encoded: 148, total frames duplicated: 0 (0.00%)
15:25:12: Total frames rendered: 151, number of late frames: 1 (0.66%) (it's okay for some frames to be late)
15:25:13: 
15:25:13: Profiler time results:
15:25:13: 
15:25:13: ==============================================================
15:25:13: video thread frame - [100%] [avg time: 2.745 ms] [children: 78.7%] [unaccounted: 21.3%]
15:25:13: | scene->Preprocess - [71%] [avg time: 1.949 ms]
15:25:13: | GPU download and conversion - [7.69%] [avg time: 0.211 ms] [children: 6.56%] [unaccounted: 1.13%]
15:25:13: | | flush - [5.14%] [avg time: 0.141 ms]
15:25:13: | | CopyResource - [0.437%] [avg time: 0.012 ms]
15:25:13: | | conversion to 4:2:0 - [0.984%] [avg time: 0.027 ms]
15:25:13: Convert444Threads - [100%] [avg time: 0.25 ms] [children: 96.8%] [unaccounted: 3.2%]
15:25:13: | Convert444toNV12 - [96.8%] [avg time: 0.242 ms]
15:25:13: encoder thread frame - [100%] [avg time: 0.484 ms]
15:25:13: ==============================================================
15:25:13: 
15:25:13: 
15:25:13: Profiler CPU results:
15:25:13: 
15:25:13: ==============================================================
15:25:13: video thread frame - [cpu time: avg 1.446 ms, total 218.401 ms] [avg calls per frame: 1]
15:25:13: | scene->Preprocess - [cpu time: avg 0.929 ms, total 140.4 ms] [avg calls per frame: 1]
15:25:13: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:25:13: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:25:13: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:25:13: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:25:13: Convert444Threads - [cpu time: avg 0.274 ms, total 78 ms] [avg calls per frame: 2]
15:25:13: | Convert444toNV12 - [cpu time: avg 0.219 ms, total 62.4 ms] [avg calls per frame: 2]
15:25:13: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:25:13: ==============================================================
15:25:13: 
15:25:13: =====Stream End: 2013-10-21, 15:25:13=================================================
15:25:38: Settings::Video: Enabling Aero
15:32:37: Using fixed low latency mode, factor 20
15:32:37: =====Stream Start: 2013-10-21, 15:32:37===============================================
15:32:37:   Multithreaded optimizations: On
15:32:37:   Base resolution: 1920x1080
15:32:37:   Output resolution: 960x540
15:32:37: ------------------------------------------
15:32:37: Loading up D3D10 on ATI Radeon HD 5700 Series...
15:32:37: ------------------------------------------
15:32:37: Audio Format: 48000hz
15:32:37: Playback device Default
15:32:37: ------------------------------------------
15:32:37: Using desktop audio input: Speakers (High Definition Audio Device)
15:32:37: ------------------------------------------
15:32:37: Using auxilary audio input: Microphone (HD Webcam C310)
15:32:37: ------------------------------------------
15:32:37: Audio Encoding: MP3
15:32:37:     bitrate: 128
15:32:37: Using bitmap image
15:32:37: Scene buffering time set to 700
15:32:37: ------------------------------------------
15:32:37: Video Encoding: x264
15:32:37:     fps: 10
15:32:37:     width: 960, height: 540
15:32:37:     preset: veryfast
15:32:37:     profile: high
15:32:37:     keyint: 20
15:32:37:     CBR: yes
15:32:37:     CFR: yes
15:32:37:     max bitrate: 400
15:32:37:     buffer size: 200
15:32:37: ------------------------------------------
15:32:37: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
15:32:37: MMDeviceAudioSource: Frequency for device 'Microphone (HD Webcam C310)' is 192000, samples per sec is 48000
15:32:40: Using RTMP service: Twitch / Justin.tv
15:32:40:   Server selection: rtmp://live-dfw.justin.tv/app
15:32:40:   Interface: Intel(R) Gigabit CT Desktop Adapter (ethernet, 1000 mbps)
15:32:40: Completed handshake with rtmp://live-dfw.justin.tv/app in 177 ms.
15:32:41: SO_SNDBUF was at 8192
15:32:41: SO_SNDBUF is now 65536
15:32:55: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:32:55:   New Scene
15:32:55: ------------------------------------------
15:32:55:     device: Logitech HD Webcam C310,
15:32:55:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&764f208&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
15:32:55:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
15:32:55:     use buffering: false - 0, fourCC: 'I420'
15:32:55:     audio device: Disable,
15:32:55:     audio device id Disabled,
15:32:55: 
15:32:55: Using directshow input
15:32:56: Using Window Capture
15:32:56: PERFORMANCE WARNING: Scene change took 943 ms, maybe some sources should be global sources?
15:33:21: Total frames encoded: 482, total frames duplicated: 11 (2.28%)
15:33:21: Total frames rendered: 477, number of late frames: 2 (0.42%) (it's okay for some frames to be late)
15:33:22: RTMPPublisher::SocketLoop: Graceful loop exit
15:33:22: Average send payload: 4362 bytes, average send interval: 59 ms
15:33:22: Number of times waited to send: 0, Waited for a total of 0 bytes
15:33:22: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:33:22: Number of bytes sent: 2892324
15:33:22: 
15:33:22: Profiler time results:
15:33:22: 
15:33:22: ==============================================================
15:33:22: video thread frame - [100%] [avg time: 3.884 ms] [children: 38%] [unaccounted: 62%]
15:33:22: | scene->Preprocess - [28.1%] [avg time: 1.093 ms]
15:33:22: | GPU download and conversion - [9.84%] [avg time: 0.382 ms] [children: 6.18%] [unaccounted: 3.66%]
15:33:22: | | flush - [5.61%] [avg time: 0.218 ms]
15:33:22: | | CopyResource - [0.283%] [avg time: 0.011 ms]
15:33:22: | | conversion to 4:2:0 - [0.283%] [avg time: 0.011 ms]
15:33:22: Convert444Threads - [100%] [avg time: 0.512 ms] [children: 98.2%] [unaccounted: 1.76%]
15:33:22: | Convert444toNV12 - [98.2%] [avg time: 0.503 ms]
15:33:22: encoder thread frame - [100%] [avg time: 0.902 ms]
15:33:22: ==============================================================
15:33:22: 
15:33:22: 
15:33:22: Profiler CPU results:
15:33:22: 
15:33:22: ==============================================================
15:33:22: video thread frame - [cpu time: avg 0.588 ms, total 280.801 ms] [avg calls per frame: 1]
15:33:22: | scene->Preprocess - [cpu time: avg 0.392 ms, total 187.201 ms] [avg calls per frame: 1]
15:33:22: | GPU download and conversion - [cpu time: avg 0.065 ms, total 31.2 ms] [avg calls per frame: 1]
15:33:22: | | flush - [cpu time: avg 0.032 ms, total 15.6 ms] [avg calls per frame: 1]
15:33:22: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:33:22: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:33:22: Convert444Threads - [cpu time: avg 0.3 ms, total 280.802 ms] [avg calls per frame: 2]
15:33:22: | Convert444toNV12 - [cpu time: avg 0.283 ms, total 265.202 ms] [avg calls per frame: 2]
15:33:22: encoder thread frame - [cpu time: avg 0.065 ms, total 31.2 ms] [avg calls per frame: 1]
15:33:22: ==============================================================
15:33:22: 
15:33:22: =====Stream End: 2013-10-21, 15:33:22=================================================


I'm still really new at this, so its entirely possible this is just a derp obvious mistake somewhere, but at this point I've hit a brick wall in my research. Any help is greatly appreciated!
 

dodgepong

Administrator
Community Helper
Re: Persistent Audio Stutter // Question Regarding bitrates

Why are you using MP3? AAC is better quality for a given bit rate, and is more standard to package AAC with h264 video rather than MP3. Does changing to AAC help at all?
 

Malvortex

New Member
Re: Persistent Audio Stutter // Question Regarding bitrates

Mp3 was just my latest attempt to isolate the cause of the stuttering. I've tried numerous AAC settings prior to this without any change in the resultant behavior. I can post some logs of AAC audio rendering, but I don't think there would be anything particularly different about them.
 

dodgepong

Administrator
Community Helper
Re: Persistent Audio Stutter // Question Regarding bitrates

I kind of doubt this would fix it, but can you try going into your Playback devices in Windows and setting your Speakers to 48khz?

Another thing you can try is setting your webcam to a smaller custom resolution, and changing the Output format to MJPEG, if it's available.
 

Malvortex

New Member
Re: Persistent Audio Stutter // Question Regarding bitrates

I have tried switching the playback default of the speakers to 48khz without any improvement.

I don't believe the webcam is at fault, I've been uploading to twitch just a jpeg background and audio stream with the microphone muted in audio settings and no other scene elements, and the sound stuttering is exactly the same.


edit: I just reinstalled xsplit to isolate OBS as the cause, and I'm not getting that audio stutter at all in an xsplit recording of my desktop. This makes me feel like there is a deep configuration problem with OBS on my end, either with the audio capture system, or the network side. I'll try to totally purge OBS and all its configuration files and report back.

edit #2:

for comparisons sake, here are two different streaming sessions playing the same song. The audio stutter is incredibly apparent while listening to the OBS version. These were taken without any meaningful video data, well within my upload capability, with minimal cpu usage (before and during upload), and no dropped or delayed frames:

This is the OBS recording
This is the Xsplit recording

I've fully uninstalled OBS, rebooted, and deleted all configuration files before rebooting. I've successively played with the settings, to the point of exactly mirroring the xsplit default settings, with absolutely zero change in the problem. At this point I have no idea where to go from here.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Very interesting, I've only seen something like this once before very long ago -- it was due to system timing being slightly off. If you ever have time I'd love to run some tests and see what's going on, with something like this it's not too hard to find out.
 

Krazy

Town drunk
It would probably be easiest for you to come by chat. Click the chat bubbles (red button) at the top right of the forum. Alternatively, join quakenet through an IRC client of your choice and join #obsproject. Just type Jim- in chat to get his attention.

edit: just kidding, he's asleep right now
 

Krazy

Town drunk
Hey, in chat you said you think you had fixed it. Could you give a quick summary of the steps you took to resolve? It will help anyone else who may be looking for a similar solution in the future.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
He emailed me about it and said his CPU clock was changed because he was overclocking, when he changed it back it worked fine. This generally tends to happen with improperly overclocked machines. Using overclocking is fine, but you just have to make sure you have it set up right otherwise timing issues like this can happen
 
Top