Question / Help New ElGato and OBS User Having Sync Issues

Problem: 1st of all, i searched over the forum and did find thing regarding sync issues with OBS and the ElGato but they was dated awhile back. So I am not sure if the issues was fixed or not.

But i just got my ElGato and started using OBS. I used OBS before and know the basics but I have been find sync issues left and right when I am streaming.

It will stay in sync at the start of my stream but a few minutes later, It is out of sync by alot.

Video here - http://www.twitch.tv/vaughnwhiskey/c/3121014

Like I said, I search for fixes and other threads but I was just wondering if anyone else could give me a pointer or direct me to more info on a possible fix. I also think I have OBS setup correctly but I am unsure of that aswell.

Any help would be great!


LOG

Code:
19:37:28: Open Broadcaster Software v0.582b - 32bit (´・ω・`)
19:37:28: -------------------------------
19:37:28: CPU Name: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
19:37:28: CPU Speed: 3292MHz
19:37:28: Physical Memory:  4095MB Total, 3211MB Free
19:37:28: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
19:37:28: monitor 1: pos={0, 0}, size={1680, 1050}
19:37:28: monitor 2: pos={-1920, 0}, size={1920, 1080}
19:37:28: Windows Version: 6.1 Build 7601 S
19:37:28: Aero is Enabled
19:37:28: -------------------------------
19:37:28: OBS Modules:
19:37:28: Base Address     Module
19:37:28: 002C0000         OBS.exe
19:37:28: 533D0000         OBSApi.dll
19:37:28: 57BD0000         DShowPlugin.dll
19:37:28: 5E8F0000         GraphicsCapture.dll
19:37:28: 5FE40000         NoiseGate.dll
19:37:28: 5D5B0000         PSVPlugin.dll
19:37:28: ------------------------------------------
19:37:28: Adapter 1
19:37:28:   Video Adapter: AMD Radeon HD 5700 Series
19:37:28:   Video Adapter Dedicated Video Memory: 1065172992
19:37:28:   Video Adapter Shared System Memory: 2942457856
19:37:28:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
19:37:28:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
19:37:28: =====Stream Start: 2013-10-21, 19:37:28===============================================
19:37:28:   Multithreaded optimizations: On
19:37:28:   Base resolution: 1280x720
19:37:28:   Output resolution: 1280x720
19:37:28: ------------------------------------------
19:37:28: Loading up D3D10 on AMD Radeon HD 5700 Series...
19:37:28: ------------------------------------------
19:37:28: Audio Format: 48000hz
19:37:28: Playback device Default
19:37:28: ------------------------------------------
19:37:28: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:37:28: ------------------------------------------
19:37:28: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
19:37:28: ------------------------------------------
19:37:28: Audio Encoding: AAC
19:37:28:     bitrate: 128
19:37:28: ------------------------------------------
19:37:28:     device: Elgato Game Capture HD,
19:37:28:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
19:37:28:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
19:37:28:     use buffering: false - 0, fourCC: 'UYVY'
19:37:28: 
19:37:29: Using directshow input
19:37:29: Scene buffering time set to 700
19:37:29: ------------------------------------------
19:37:29: Video Encoding: x264
19:37:29:     fps: 30
19:37:29:     width: 1280, height: 720
19:37:29:     preset: veryfast
19:37:29:     profile: high
19:37:29:     keyint: 60
19:37:29:     CBR: yes
19:37:29:     CFR: yes
19:37:29:     max bitrate: 1500
19:37:29:     buffer size: 1500
19:37:29: ------------------------------------------
19:37:29: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
19:37:29: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
19:37:48: Total frames encoded: 549, total frames duplicated: 1 (0.18%)
19:37:48: Total frames rendered: 554, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
19:37:57: 
19:37:57: Profiler time results:
19:37:57: 
19:37:57: ==============================================================
19:37:57: video thread frame - [100%] [avg time: 1.982 ms] [children: 67.9%] [unaccounted: 32.1%]
19:37:57: | scene->Preprocess - [55.4%] [avg time: 1.098 ms]
19:37:57: | GPU download and conversion - [12.5%] [avg time: 0.248 ms] [children: 11.8%] [unaccounted: 0.706%]
19:37:57: | | flush - [11.2%] [avg time: 0.221 ms]
19:37:57: | | CopyResource - [0.605%] [avg time: 0.012 ms]
19:37:57: | | conversion to 4:2:0 - [0.0505%] [avg time: 0.001 ms]
19:37:57: Convert444Thread - [100%] [avg time: 0.788 ms] [children: 99%] [unaccounted: 1.02%]
19:37:57: | Convert444toNV12 - [99%] [avg time: 0.78 ms]
19:37:57: encoder thread frame - [100%] [avg time: 1.322 ms]
19:37:57: ==============================================================
19:37:57: 
19:37:57: 
19:37:57: Profiler CPU results:
19:37:57: 
19:37:57: ==============================================================
19:37:57: video thread frame - [cpu time: avg 0.844 ms, total 468.003 ms] [avg calls per frame: 1]
19:37:57: | scene->Preprocess - [cpu time: avg 0.703 ms, total 390.003 ms] [avg calls per frame: 1]
19:37:57: | GPU download and conversion - [cpu time: avg 0.028 ms, total 15.6 ms] [avg calls per frame: 1]
19:37:57: | | flush - [cpu time: avg 0.028 ms, total 15.6 ms] [avg calls per frame: 1]
19:37:57: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:37:57: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:37:57: Convert444Thread - [cpu time: avg 0.941 ms, total 499.203 ms] [avg calls per frame: 1]
19:37:57: | Convert444toNV12 - [cpu time: avg 0.912 ms, total 483.603 ms] [avg calls per frame: 1]
19:37:57: encoder thread frame - [cpu time: avg 0.206 ms, total 109.2 ms] [avg calls per frame: 1]
19:37:57: ==============================================================
19:37:57: 
19:37:57: =====Stream End: 2013-10-21, 19:37:57=================================================
19:37:57: =====Stream Start: 2013-10-21, 19:37:57===============================================
19:37:57:   Multithreaded optimizations: On
19:37:57:   Base resolution: 1280x720
19:37:57:   Output resolution: 1280x720
19:37:57: ------------------------------------------
19:37:57: Loading up D3D10 on AMD Radeon HD 5700 Series...
19:37:57: ------------------------------------------
19:37:57: Audio Format: 48000hz
19:37:57: Playback device Default
19:37:57: ------------------------------------------
19:37:57: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:37:57: ------------------------------------------
19:37:57: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
19:37:57: ------------------------------------------
19:37:57: Audio Encoding: AAC
19:37:57:     bitrate: 128
19:37:57: ------------------------------------------
19:37:57:     device: Elgato Game Capture HD,
19:37:57:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
19:37:57:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
19:37:57:     use buffering: false - 0, fourCC: 'UYVY'
19:37:57: 
19:37:58: Using directshow input
19:37:58: Scene buffering time set to 700
19:37:58: ------------------------------------------
19:37:58: Video Encoding: x264
19:37:58:     fps: 30
19:37:58:     width: 1280, height: 720
19:37:58:     preset: veryfast
19:37:58:     profile: high
19:37:58:     keyint: 60
19:37:58:     CBR: yes
19:37:58:     CFR: yes
19:37:58:     max bitrate: 1500
19:37:58:     buffer size: 1500
19:37:58: ------------------------------------------
19:37:58: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
19:37:58: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
19:38:00: Using RTMP service: Twitch / Justin.tv
19:38:00:   Server selection: rtmp://live-iad-backup.justin.tv/app
19:38:00:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
19:38:01: Completed handshake with rtmp://live-iad-backup.justin.tv/app in 376 ms.
19:38:02: SO_SNDBUF was at 8192
19:38:02: SO_SNDBUF is now 65536
19:38:04: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 12522 / 207872)
19:42:14: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 207872)
20:09:19: Total frames encoded: 56416, total frames duplicated: 60 (0.11%)
20:09:19: Total frames rendered: 56419, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
20:09:20: RTMPPublisher::SocketLoop: Graceful loop exit
20:09:20: Average send payload: 5090 bytes, average send interval: 24 ms
20:09:20: Number of times waited to send: 0, Waited for a total of 0 bytes
20:09:20: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:09:20: Number of bytes sent: 383380663
20:09:28: 
20:09:28: Profiler time results:
20:09:28: 
20:09:28: ==============================================================
20:09:28: video thread frame - [100%] [avg time: 2.416 ms] [children: 66.3%] [unaccounted: 33.7%]
20:09:28: | scene->Preprocess - [48.4%] [avg time: 1.17 ms]
20:09:28: | GPU download and conversion - [17.9%] [avg time: 0.433 ms] [children: 17.3%] [unaccounted: 0.662%]
20:09:28: | | flush - [16.4%] [avg time: 0.397 ms]
20:09:28: | | CopyResource - [0.579%] [avg time: 0.014 ms]
20:09:28: | | conversion to 4:2:0 - [0.248%] [avg time: 0.006 ms]
20:09:28: Convert444Thread - [100%] [avg time: 0.822 ms] [children: 98.9%] [unaccounted: 1.09%]
20:09:28: | Convert444toNV12 - [98.9%] [avg time: 0.813 ms]
20:09:28: encoder thread frame - [100%] [avg time: 1.371 ms]
20:09:28: ==============================================================
20:09:28: 
20:09:28: 
20:09:28: Profiler CPU results:
20:09:28: 
20:09:28: ==============================================================
20:09:28: video thread frame - [cpu time: avg 1.125 ms, total 63476.8 ms] [avg calls per frame: 1]
20:09:28: | scene->Preprocess - [cpu time: avg 0.865 ms, total 48843.9 ms] [avg calls per frame: 1]
20:09:28: | GPU download and conversion - [cpu time: avg 0.041 ms, total 2340.02 ms] [avg calls per frame: 1]
20:09:28: | | flush - [cpu time: avg 0.026 ms, total 1482.01 ms] [avg calls per frame: 1]
20:09:28: | | CopyResource - [cpu time: avg 0.007 ms, total 405.608 ms] [avg calls per frame: 1]
20:09:28: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 46.8 ms] [avg calls per frame: 1]
20:09:28: Convert444Thread - [cpu time: avg 0.868 ms, total 48968.7 ms] [avg calls per frame: 1]
20:09:28: | Convert444toNV12 - [cpu time: avg 0.865 ms, total 48797.1 ms] [avg calls per frame: 1]
20:09:28: encoder thread frame - [cpu time: avg 0.258 ms, total 14570.5 ms] [avg calls per frame: 1]
20:09:28: ==============================================================
20:09:28: 
20:09:28: =====Stream End: 2013-10-21, 20:09:28=================================================
20:09:30: =====Stream Start: 2013-10-21, 20:09:30===============================================
20:09:30:   Multithreaded optimizations: On
20:09:30:   Base resolution: 1280x720
20:09:30:   Output resolution: 1280x720
20:09:30: ------------------------------------------
20:09:30: Loading up D3D10 on AMD Radeon HD 5700 Series...
20:09:30: ------------------------------------------
20:09:30: Audio Format: 48000hz
20:09:30: Playback device Default
20:09:30: ------------------------------------------
20:09:30: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:09:30: ------------------------------------------
20:09:30: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
20:09:30: ------------------------------------------
20:09:30: Audio Encoding: AAC
20:09:30:     bitrate: 128
20:09:30: ------------------------------------------
20:09:30:     device: Elgato Game Capture HD,
20:09:30:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
20:09:30:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
20:09:30:     use buffering: false - 0, fourCC: 'UYVY'
20:09:30: 
20:09:30: Using directshow input
20:09:30: Scene buffering time set to 700
20:09:30: ------------------------------------------
20:09:30: Video Encoding: x264
20:09:30:     fps: 30
20:09:30:     width: 1280, height: 720
20:09:30:     preset: veryfast
20:09:30:     profile: high
20:09:30:     keyint: 60
20:09:30:     CBR: yes
20:09:30:     CFR: yes
20:09:30:     max bitrate: 1500
20:09:30:     buffer size: 1500
20:09:30: ------------------------------------------
20:09:30: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
20:09:30: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
20:09:59: Total frames encoded: 845, total frames duplicated: 1 (0.12%)
20:09:59: Total frames rendered: 850, number of late frames: 1 (0.12%) (it's okay for some frames to be late)
20:10:08: 
20:10:08: Profiler time results:
20:10:08: 
20:10:08: ==============================================================
20:10:08: video thread frame - [100%] [avg time: 2.135 ms] [children: 73.7%] [unaccounted: 26.3%]
20:10:08: | scene->Preprocess - [55.6%] [avg time: 1.186 ms]
20:10:08: | GPU download and conversion - [18.2%] [avg time: 0.388 ms] [children: 17.6%] [unaccounted: 0.609%]
20:10:08: | | flush - [16.5%] [avg time: 0.353 ms]
20:10:08: | | CopyResource - [0.843%] [avg time: 0.018 ms]
20:10:08: | | conversion to 4:2:0 - [0.187%] [avg time: 0.004 ms]
20:10:08: Convert444Thread - [100%] [avg time: 0.784 ms] [children: 98.9%] [unaccounted: 1.15%]
20:10:08: | Convert444toNV12 - [98.9%] [avg time: 0.775 ms]
20:10:08: encoder thread frame - [100%] [avg time: 1.04 ms]
20:10:08: ==============================================================
20:10:08: 
20:10:08: 
20:10:08: Profiler CPU results:
20:10:08: 
20:10:08: ==============================================================
20:10:08: video thread frame - [cpu time: avg 1.082 ms, total 920.405 ms] [avg calls per frame: 1]
20:10:08: | scene->Preprocess - [cpu time: avg 0.899 ms, total 764.404 ms] [avg calls per frame: 1]
20:10:08: | GPU download and conversion - [cpu time: avg 0.018 ms, total 15.6 ms] [avg calls per frame: 1]
20:10:08: | | flush - [cpu time: avg 0.018 ms, total 15.6 ms] [avg calls per frame: 1]
20:10:08: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:10:08: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:10:08: Convert444Thread - [cpu time: avg 0.85 ms, total 702.004 ms] [avg calls per frame: 1]
20:10:08: | Convert444toNV12 - [cpu time: avg 0.832 ms, total 686.404 ms] [avg calls per frame: 1]
20:10:08: encoder thread frame - [cpu time: avg 0.227 ms, total 187.201 ms] [avg calls per frame: 1]
20:10:08: ==============================================================
20:10:08: 
20:10:08: =====Stream End: 2013-10-21, 20:10:08=================================================
20:16:50: Memory Leaks Were Detected.
20:16:50:

Troubleshooting: EDIT: I think i didn't have "Use buffering" on. That's what suppose to sort this out correct? Or is it the "mic sync fix hack"?

I tried "use Buffering" on 0, 100 and 200 and it still happens

LOG
Code:
20:51:45: Open Broadcaster Software v0.582b - 32bit (´・ω・`)
20:51:45: -------------------------------
20:51:45: CPU Name: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
20:51:45: CPU Speed: 3292MHz
20:51:45: Physical Memory:  4095MB Total, 3336MB Free
20:51:45: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
20:51:45: monitor 1: pos={0, 0}, size={1680, 1050}
20:51:45: monitor 2: pos={-1920, 0}, size={1920, 1080}
20:51:45: Windows Version: 6.1 Build 7601 S
20:51:45: Aero is Enabled
20:51:45: -------------------------------
20:51:45: OBS Modules:
20:51:45: Base Address     Module
20:51:45: 000F0000         OBS.exe
20:51:45: 60420000         OBSApi.dll
20:51:45: 62040000         DShowPlugin.dll
20:51:45: 620C0000         GraphicsCapture.dll
20:51:45: 62B80000         NoiseGate.dll
20:51:45: 62080000         PSVPlugin.dll
20:51:45: ------------------------------------------
20:51:45: Adapter 1
20:51:45:   Video Adapter: AMD Radeon HD 5700 Series
20:51:45:   Video Adapter Dedicated Video Memory: 1065172992
20:51:45:   Video Adapter Shared System Memory: 2942457856
20:51:45:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
20:51:45:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
20:51:46: =====Stream Start: 2013-10-21, 20:51:46===============================================
20:51:46:   Multithreaded optimizations: On
20:51:46:   Base resolution: 1280x720
20:51:46:   Output resolution: 1280x720
20:51:46: ------------------------------------------
20:51:46: Loading up D3D10 on AMD Radeon HD 5700 Series...
20:51:46: ------------------------------------------
20:51:46: Audio Format: 44100hz
20:51:46: Playback device Default
20:51:46: ------------------------------------------
20:51:46: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:51:46: ------------------------------------------
20:51:46: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
20:51:46: ------------------------------------------
20:51:46: Audio Encoding: AAC
20:51:46:     bitrate: 128
20:51:46: ------------------------------------------
20:51:46:     device: Elgato Game Capture HD,
20:51:46:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
20:51:46:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
20:51:46:     use buffering: true - 2000000, fourCC: 'UYVY'
20:51:46: 
20:51:47: Using directshow input
20:51:47: Scene buffering time set to 700
20:51:47: ------------------------------------------
20:51:47: Video Encoding: x264
20:51:47:     fps: 30
20:51:47:     width: 1280, height: 720
20:51:47:     preset: veryfast
20:51:47:     profile: main
20:51:47:     keyint: 60
20:51:47:     CBR: yes
20:51:47:     CFR: yes
20:51:47:     max bitrate: 1400
20:51:47:     buffer size: 1400
20:51:47: ------------------------------------------
20:51:47: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
20:51:47: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
20:58:49: Total frames encoded: 12632, total frames duplicated: 14 (0.11%)
20:58:49: Total frames rendered: 12636, number of late frames: 0 (0.00%) (it's okay for some frames to be late)

Troubleshooting: I tried a recording to make sure it wasn't on twitch ends... Still happens. I also tried in the ElGato Recording software and it didn't happen.

Video showing audio/video synced but then becoming desynced: http://www.youtube.com/watch?v=Af92_SErHCo

LOG

Code:
20:51:45: Open Broadcaster Software v0.582b - 32bit (´・ω・`)
20:51:45: -------------------------------
20:51:45: CPU Name: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
20:51:45: CPU Speed: 3292MHz
20:51:45: Physical Memory:  4095MB Total, 3336MB Free
20:51:45: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
20:51:45: monitor 1: pos={0, 0}, size={1680, 1050}
20:51:45: monitor 2: pos={-1920, 0}, size={1920, 1080}
20:51:45: Windows Version: 6.1 Build 7601 S
20:51:45: Aero is Enabled
20:51:45: -------------------------------
20:51:45: OBS Modules:
20:51:45: Base Address     Module
20:51:45: 000F0000         OBS.exe
20:51:45: 60420000         OBSApi.dll
20:51:45: 62040000         DShowPlugin.dll
20:51:45: 620C0000         GraphicsCapture.dll
20:51:45: 62B80000         NoiseGate.dll
20:51:45: 62080000         PSVPlugin.dll
20:51:45: ------------------------------------------
20:51:45: Adapter 1
20:51:45:   Video Adapter: AMD Radeon HD 5700 Series
20:51:45:   Video Adapter Dedicated Video Memory: 1065172992
20:51:45:   Video Adapter Shared System Memory: 2942457856
20:51:45:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
20:51:45:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
20:51:46: =====Stream Start: 2013-10-21, 20:51:46===============================================
20:51:46:   Multithreaded optimizations: On
20:51:46:   Base resolution: 1280x720
20:51:46:   Output resolution: 1280x720
20:51:46: ------------------------------------------
20:51:46: Loading up D3D10 on AMD Radeon HD 5700 Series...
20:51:46: ------------------------------------------
20:51:46: Audio Format: 44100hz
20:51:46: Playback device Default
20:51:46: ------------------------------------------
20:51:46: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:51:46: ------------------------------------------
20:51:46: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
20:51:46: ------------------------------------------
20:51:46: Audio Encoding: AAC
20:51:46:     bitrate: 128
20:51:46: ------------------------------------------
20:51:46:     device: Elgato Game Capture HD,
20:51:46:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
20:51:46:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
20:51:46:     use buffering: true - 2000000, fourCC: 'UYVY'
20:51:46: 
20:51:47: Using directshow input
20:51:47: Scene buffering time set to 700
20:51:47: ------------------------------------------
20:51:47: Video Encoding: x264
20:51:47:     fps: 30
20:51:47:     width: 1280, height: 720
20:51:47:     preset: veryfast
20:51:47:     profile: main
20:51:47:     keyint: 60
20:51:47:     CBR: yes
20:51:47:     CFR: yes
20:51:47:     max bitrate: 1400
20:51:47:     buffer size: 1400
20:51:47: ------------------------------------------
20:51:47: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
20:51:47: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
20:58:49: Total frames encoded: 12632, total frames duplicated: 14 (0.11%)
20:58:49: Total frames rendered: 12636, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
20:58:58: 
20:58:58: Profiler time results:
20:58:58: 
20:58:58: ==============================================================
20:58:58: video thread frame - [100%] [avg time: 1.879 ms] [children: 68.7%] [unaccounted: 31.3%]
20:58:58: | scene->Preprocess - [57.9%] [avg time: 1.088 ms]
20:58:58: | GPU download and conversion - [10.8%] [avg time: 0.202 ms] [children: 9.85%] [unaccounted: 0.905%]
20:58:58: | | flush - [8.78%] [avg time: 0.165 ms]
20:58:58: | | CopyResource - [0.852%] [avg time: 0.016 ms]
20:58:58: | | conversion to 4:2:0 - [0.213%] [avg time: 0.004 ms]
20:58:58: Convert444Thread - [100%] [avg time: 0.918 ms] [children: 98.8%] [unaccounted: 1.2%]
20:58:58: | Convert444toNV12 - [98.8%] [avg time: 0.907 ms]
20:58:58: encoder thread frame - [100%] [avg time: 1.196 ms]
20:58:58: ==============================================================
20:58:58: 
20:58:58: 
20:58:58: Profiler CPU results:
20:58:58: 
20:58:58: ==============================================================
20:58:58: video thread frame - [cpu time: avg 1.039 ms, total 13135.3 ms] [avg calls per frame: 1]
20:58:58: | scene->Preprocess - [cpu time: avg 0.646 ms, total 8174.45 ms] [avg calls per frame: 1]
20:58:58: | GPU download and conversion - [cpu time: avg 0.019 ms, total 249.603 ms] [avg calls per frame: 1]
20:58:58: | | flush - [cpu time: avg 0.014 ms, total 187.203 ms] [avg calls per frame: 1]
20:58:58: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:58:58: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:58:58: Convert444Thread - [cpu time: avg 0.979 ms, total 12355.3 ms] [avg calls per frame: 1]
20:58:58: | Convert444toNV12 - [cpu time: avg 0.967 ms, total 12199.3 ms] [avg calls per frame: 1]
20:58:58: encoder thread frame - [cpu time: avg 0.228 ms, total 2886.02 ms] [avg calls per frame: 1]
20:58:58: ==============================================================
20:58:58: 
20:58:58: =====Stream End: 2013-10-21, 20:58:58=================================================
21:00:53: =====Stream Start: 2013-10-21, 21:00:53===============================================
21:00:53:   Multithreaded optimizations: On
21:00:53:   Base resolution: 1280x720
21:00:53:   Output resolution: 1280x720
21:00:53: ------------------------------------------
21:00:53: Loading up D3D10 on AMD Radeon HD 5700 Series...
21:00:53: ------------------------------------------
21:00:53: Audio Format: 44100hz
21:00:53: Playback device Default
21:00:53: ------------------------------------------
21:00:53: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:00:53: ------------------------------------------
21:00:53: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
21:00:53: ------------------------------------------
21:00:53: Audio Encoding: AAC
21:00:53:     bitrate: 128
21:00:54: ------------------------------------------
21:00:54:     device: Elgato Game Capture HD,
21:00:54:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
21:00:54:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
21:00:54:     use buffering: true - 2000000, fourCC: 'UYVY'
21:00:54: 
21:00:54: Using directshow input
21:00:54: Scene buffering time set to 700
21:00:54: ------------------------------------------
21:00:54: Video Encoding: x264
21:00:54:     fps: 30
21:00:54:     width: 1280, height: 720
21:00:54:     preset: veryfast
21:00:54:     profile: main
21:00:54:     keyint: 60
21:00:54:     CBR: yes
21:00:54:     CFR: yes
21:00:54:     max bitrate: 1400
21:00:54:     buffer size: 1400
21:00:54: ------------------------------------------
21:00:54: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
21:00:54: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
21:01:08: Total frames encoded: 388, total frames duplicated: 0 (0.00%)
21:01:08: Total frames rendered: 393, number of late frames: 1 (0.25%) (it's okay for some frames to be late)
21:01:17: 
21:01:17: Profiler time results:
21:01:17: 
21:01:17: ==============================================================
21:01:17: video thread frame - [100%] [avg time: 1.78 ms] [children: 72.3%] [unaccounted: 27.7%]
21:01:17: | scene->Preprocess - [50.1%] [avg time: 0.892 ms]
21:01:17: | GPU download and conversion - [22.2%] [avg time: 0.395 ms] [children: 21.3%] [unaccounted: 0.843%]
21:01:17: | | flush - [19.3%] [avg time: 0.344 ms]
21:01:17: | | CopyResource - [0.73%] [avg time: 0.013 ms]
21:01:17: | | conversion to 4:2:0 - [1.29%] [avg time: 0.023 ms]
21:01:17: Convert444Thread - [100%] [avg time: 0.874 ms] [children: 98.7%] [unaccounted: 1.26%]
21:01:17: | Convert444toNV12 - [98.7%] [avg time: 0.863 ms]
21:01:17: encoder thread frame - [100%] [avg time: 1.034 ms]
21:01:17: ==============================================================
21:01:17: 
21:01:17: 
21:01:17: Profiler CPU results:
21:01:17: 
21:01:17: ==============================================================
21:01:17: video thread frame - [cpu time: avg 0.873 ms, total 343.202 ms] [avg calls per frame: 1]
21:01:17: | scene->Preprocess - [cpu time: avg 0.635 ms, total 249.602 ms] [avg calls per frame: 1]
21:01:17: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:17: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:17: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:17: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:01:17: Convert444Thread - [cpu time: avg 0.805 ms, total 296.402 ms] [avg calls per frame: 1]
21:01:17: | Convert444toNV12 - [cpu time: avg 0.805 ms, total 296.402 ms] [avg calls per frame: 1]
21:01:17: encoder thread frame - [cpu time: avg 0.255 ms, total 93.6 ms] [avg calls per frame: 1]
21:01:17: ==============================================================
21:01:17: 
21:01:17: =====Stream End: 2013-10-21, 21:01:17=================================================
21:02:41: =====Stream Start: 2013-10-21, 21:02:41===============================================
21:02:41:   Multithreaded optimizations: On
21:02:41:   Base resolution: 1280x720
21:02:41:   Output resolution: 1280x720
21:02:41: ------------------------------------------
21:02:41: Loading up D3D10 on AMD Radeon HD 5700 Series...
21:02:41: ------------------------------------------
21:02:41: Audio Format: 44100hz
21:02:41: Playback device Default
21:02:41: ------------------------------------------
21:02:41: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:02:41: ------------------------------------------
21:02:41: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
21:02:41: ------------------------------------------
21:02:41: Audio Encoding: AAC
21:02:41:     bitrate: 128
21:02:41: ------------------------------------------
21:02:41:     device: Elgato Game Capture HD,
21:02:41:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
21:02:41:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
21:02:41:     use buffering: true - 0, fourCC: 'UYVY'
21:02:41: 
21:02:42: Using directshow input
21:02:42: Scene buffering time set to 700
21:02:42: ------------------------------------------
21:02:42: Video Encoding: x264
21:02:42:     fps: 30
21:02:42:     width: 1280, height: 720
21:02:42:     preset: veryfast
21:02:42:     profile: high
21:02:42:     keyint: 60
21:02:42:     CBR: yes
21:02:42:     CFR: yes
21:02:42:     max bitrate: 1400
21:02:42:     buffer size: 1400
21:02:42: ------------------------------------------
21:02:42: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
21:02:42: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
21:07:56: Total frames encoded: 9395, total frames duplicated: 32 (0.34%)
21:07:56: Total frames rendered: 9402, number of late frames: 1 (0.01%) (it's okay for some frames to be late)
21:08:04: 
21:08:04: Profiler time results:
21:08:04: 
21:08:04: ==============================================================
21:08:04: video thread frame - [100%] [avg time: 2.522 ms] [children: 64%] [unaccounted: 36%]
21:08:04: | scene->Preprocess - [49.8%] [avg time: 1.255 ms]
21:08:04: | GPU download and conversion - [14.2%] [avg time: 0.359 ms] [children: 13.5%] [unaccounted: 0.753%]
21:08:04: | | flush - [12.5%] [avg time: 0.315 ms]
21:08:04: | | CopyResource - [0.872%] [avg time: 0.022 ms]
21:08:04: | | conversion to 4:2:0 - [0.119%] [avg time: 0.003 ms]
21:08:04: Convert444Thread - [100%] [avg time: 0.992 ms] [children: 98.8%] [unaccounted: 1.21%]
21:08:04: | Convert444toNV12 - [98.8%] [avg time: 0.98 ms]
21:08:04: encoder thread frame - [100%] [avg time: 1.221 ms]
21:08:04: ==============================================================
21:08:04: 
21:08:04: 
21:08:04: Profiler CPU results:
21:08:04: 
21:08:04: ==============================================================
21:08:04: video thread frame - [cpu time: avg 1.111 ms, total 10452.1 ms] [avg calls per frame: 1]
21:08:04: | scene->Preprocess - [cpu time: avg 0.814 ms, total 7659.65 ms] [avg calls per frame: 1]
21:08:04: | GPU download and conversion - [cpu time: avg 0.031 ms, total 296.402 ms] [avg calls per frame: 1]
21:08:04: | | flush - [cpu time: avg 0.021 ms, total 202.801 ms] [avg calls per frame: 1]
21:08:04: | | CopyResource - [cpu time: avg 0.003 ms, total 31.2 ms] [avg calls per frame: 1]
21:08:04: | | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 31.2 ms] [avg calls per frame: 1]
21:08:04: Convert444Thread - [cpu time: avg 0.991 ms, total 9297.66 ms] [avg calls per frame: 1]
21:08:04: | Convert444toNV12 - [cpu time: avg 0.991 ms, total 9297.66 ms] [avg calls per frame: 1]
21:08:04: encoder thread frame - [cpu time: avg 0.317 ms, total 2979.62 ms] [avg calls per frame: 1]
21:08:04: ==============================================================
21:08:04: 
21:08:04: =====Stream End: 2013-10-21, 21:08:04=================================================
21:08:18: =====Stream Start: 2013-10-21, 21:08:18===============================================
21:08:18:   Multithreaded optimizations: On
21:08:18:   Base resolution: 1280x720
21:08:18:   Output resolution: 1280x720
21:08:18: ------------------------------------------
21:08:18: Loading up D3D10 on AMD Radeon HD 5700 Series...
21:08:18: ------------------------------------------
21:08:18: Audio Format: 48000hz
21:08:18: Playback device Default
21:08:18: ------------------------------------------
21:08:18: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:08:18: ------------------------------------------
21:08:18: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
21:08:18: ------------------------------------------
21:08:18: Audio Encoding: AAC
21:08:18:     bitrate: 128
21:08:18: ------------------------------------------
21:08:18:     device: Elgato Game Capture HD,
21:08:18:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
21:08:18:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
21:08:18:     use buffering: true - 0, fourCC: 'UYVY'
21:08:18: 
21:08:18: Using directshow input
21:08:19: Scene buffering time set to 700
21:08:19: ------------------------------------------
21:08:19: Video Encoding: x264
21:08:19:     fps: 30
21:08:19:     width: 1280, height: 720
21:08:19:     preset: veryfast
21:08:19:     profile: high
21:08:19:     keyint: 60
21:08:19:     CBR: yes
21:08:19:     CFR: yes
21:08:19:     max bitrate: 1500
21:08:19:     buffer size: 1500
21:08:19: ------------------------------------------
21:08:19: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
21:08:19: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
21:11:42: Total frames encoded: 6067, total frames duplicated: 6 (0.10%)
21:11:42: Total frames rendered: 6071, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
21:11:50: 
21:11:50: Profiler time results:
21:11:50: 
21:11:50: ==============================================================
21:11:50: video thread frame - [100%] [avg time: 1.746 ms] [children: 70.9%] [unaccounted: 29.1%]
21:11:50: | scene->Preprocess - [62.9%] [avg time: 1.098 ms]
21:11:50: | GPU download and conversion - [8.02%] [avg time: 0.14 ms] [children: 7.16%] [unaccounted: 0.859%]
21:11:50: | | flush - [5.78%] [avg time: 0.101 ms]
21:11:50: | | CopyResource - [1.26%] [avg time: 0.022 ms]
21:11:50: | | conversion to 4:2:0 - [0.115%] [avg time: 0.002 ms]
21:11:50: Convert444Thread - [100%] [avg time: 0.875 ms] [children: 98.7%] [unaccounted: 1.26%]
21:11:50: | Convert444toNV12 - [98.7%] [avg time: 0.864 ms]
21:11:50: encoder thread frame - [100%] [avg time: 1.201 ms]
21:11:50: ==============================================================
21:11:50: 
21:11:50: 
21:11:50: Profiler CPU results:
21:11:50: 
21:11:50: ==============================================================
21:11:50: video thread frame - [cpu time: avg 1.053 ms, total 6396.04 ms] [avg calls per frame: 1]
21:11:50: | scene->Preprocess - [cpu time: avg 0.657 ms, total 3993.62 ms] [avg calls per frame: 1]
21:11:50: | GPU download and conversion - [cpu time: avg 0.015 ms, total 93.601 ms] [avg calls per frame: 1]
21:11:50: | | flush - [cpu time: avg 0.007 ms, total 46.801 ms] [avg calls per frame: 1]
21:11:50: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:11:50: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:11:50: Convert444Thread - [cpu time: avg 0.959 ms, total 5803.24 ms] [avg calls per frame: 1]
21:11:50: | Convert444toNV12 - [cpu time: avg 0.954 ms, total 5772.04 ms] [avg calls per frame: 1]
21:11:50: encoder thread frame - [cpu time: avg 0.247 ms, total 1497.61 ms] [avg calls per frame: 1]
21:11:50: ==============================================================
21:11:50: 
21:11:50: =====Stream End: 2013-10-21, 21:11:50=================================================
21:12:07: Memory Leaks Were Detected.
21:12:07:
 
I bumped my my stream settings from "veryfast" to "superfast" and it seemed to work better. So I assuming the desync might be from my CPU peaking. But my CPU doesn't hit 60-70 when I stream. So that's is abit odd.

Video - http://www.twitch.tv/vaughnwhiskey/b/472350194

LOG
Code:
22:56:10: Open Broadcaster Software v0.582b - 32bit (´・ω・`)
22:56:10: -------------------------------
22:56:10: CPU Name: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
22:56:10: CPU Speed: 3292MHz
22:56:10: Physical Memory:  4095MB Total, 3405MB Free
22:56:10: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
22:56:10: monitor 1: pos={0, 0}, size={1680, 1050}
22:56:10: monitor 2: pos={-1920, 0}, size={1920, 1080}
22:56:10: Windows Version: 6.1 Build 7601 S
22:56:10: Aero is Enabled
22:56:10: -------------------------------
22:56:10: OBS Modules:
22:56:10: Base Address     Module
22:56:10: 01300000         OBS.exe
22:56:10: 60180000         OBSApi.dll
22:56:10: 60930000         DShowPlugin.dll
22:56:10: 60BC0000         GraphicsCapture.dll
22:56:10: 62C00000         NoiseGate.dll
22:56:10: 60910000         PSVPlugin.dll
22:56:10: ------------------------------------------
22:56:10: Adapter 1
22:56:10:   Video Adapter: AMD Radeon HD 5700 Series
22:56:10:   Video Adapter Dedicated Video Memory: 1065172992
22:56:10:   Video Adapter Shared System Memory: 2942457856
22:56:10:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
22:56:10:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
22:56:10: =====Stream Start: 2013-10-21, 22:56:10===============================================
22:56:10:   Multithreaded optimizations: On
22:56:10:   Base resolution: 1280x720
22:56:10:   Output resolution: 1280x720
22:56:10: ------------------------------------------
22:56:10: Loading up D3D10 on AMD Radeon HD 5700 Series...
22:56:10: ------------------------------------------
22:56:10: Audio Format: 44100hz
22:56:10: Playback device Default
22:56:10: ------------------------------------------
22:56:10: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:56:10: ------------------------------------------
22:56:10: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
22:56:10: ------------------------------------------
22:56:10: Audio Encoding: AAC
22:56:10:     bitrate: 128
22:56:10: ------------------------------------------
22:56:10:     device: Elgato Game Capture HD,
22:56:10:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
22:56:10:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
22:56:10:     use buffering: true - 0, fourCC: 'UYVY'
22:56:10: 
22:56:11: Using directshow input
22:56:11: Scene buffering time set to 700
22:56:11: ------------------------------------------
22:56:11: Video Encoding: x264
22:56:11:     fps: 30
22:56:11:     width: 1280, height: 720
22:56:11:     preset: superfast
22:56:11:     profile: high
22:56:11:     keyint: 60
22:56:11:     CBR: yes
22:56:11:     CFR: yes
22:56:11:     max bitrate: 1400
22:56:11:     buffer size: 1400
22:56:11: ------------------------------------------
22:56:11: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
22:56:11: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
22:56:13: Using RTMP service: Twitch / Justin.tv
22:56:13:   Server selection: rtmp://live-iad-backup.justin.tv/app
22:56:13:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
22:56:13: Completed handshake with rtmp://live-iad-backup.justin.tv/app in 377 ms.
22:56:14: SO_SNDBUF was at 8192
22:56:14: SO_SNDBUF is now 65536
22:56:16: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 8533 / 195584)
23:02:32: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 195584)
23:26:22: Total frames encoded: 54306, total frames duplicated: 259 (0.48%)
23:26:22: Total frames rendered: 54309, number of late frames: 6 (0.01%) (it's okay for some frames to be late)
23:26:22: RTMPPublisher::SocketLoop: Graceful loop exit
23:26:22: Average send payload: 5306 bytes, average send interval: 27 ms
23:26:22: Number of times waited to send: 0, Waited for a total of 0 bytes
23:26:22: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
23:26:22: Number of bytes sent: 346738889
23:26:31: 
23:26:31: Profiler time results:
23:26:31: 
23:26:31: ==============================================================
23:26:31: video thread frame - [100%] [avg time: 2.534 ms] [children: 66.6%] [unaccounted: 33.4%]
23:26:31: | scene->Preprocess - [48.5%] [avg time: 1.23 ms]
23:26:31: | GPU download and conversion - [18%] [avg time: 0.457 ms] [children: 17.3%] [unaccounted: 0.75%]
23:26:31: | | flush - [16.5%] [avg time: 0.418 ms]
23:26:31: | | CopyResource - [0.592%] [avg time: 0.015 ms]
23:26:31: | | conversion to 4:2:0 - [0.197%] [avg time: 0.005 ms]
23:26:31: Convert444Thread - [100%] [avg time: 0.863 ms] [children: 99%] [unaccounted: 1.04%]
23:26:31: | Convert444toNV12 - [99%] [avg time: 0.854 ms]
23:26:31: encoder thread frame - [100%] [avg time: 1.374 ms]
23:26:31: ==============================================================
23:26:31: 
23:26:31: 
23:26:31: Profiler CPU results:
23:26:31: 
23:26:31: ==============================================================
23:26:31: video thread frame - [cpu time: avg 1.278 ms, total 69420.4 ms] [avg calls per frame: 1]
23:26:31: | scene->Preprocess - [cpu time: avg 0.948 ms, total 51527.1 ms] [avg calls per frame: 1]
23:26:31: | GPU download and conversion - [cpu time: avg 0.053 ms, total 2886.01 ms] [avg calls per frame: 1]
23:26:31: | | flush - [cpu time: avg 0.035 ms, total 1918.81 ms] [avg calls per frame: 1]
23:26:31: | | CopyResource - [cpu time: avg 0.01 ms, total 546.003 ms] [avg calls per frame: 1]
23:26:31: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 109.2 ms] [avg calls per frame: 1]
23:26:31: Convert444Thread - [cpu time: avg 0.886 ms, total 48141.9 ms] [avg calls per frame: 1]
23:26:31: | Convert444toNV12 - [cpu time: avg 0.881 ms, total 47861.1 ms] [avg calls per frame: 1]
23:26:31: encoder thread frame - [cpu time: avg 0.511 ms, total 27783.8 ms] [avg calls per frame: 1]
23:26:31: ==============================================================
23:26:31: 
23:26:31: =====Stream End: 2013-10-21, 23:26:31=================================================
23:26:40: Memory Leaks Were Detected.
23:26:40:

Sorry, I was suppose to edit my 1st post not reply to it.. I am half asleep because I spent all night troubleshooting.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hm, well you do admittedly have two cores, so that could be a factor, but I feel like that shouldn't necessarily be the reason, I don't know. I think I'd have to do some more thorough testing with that type of system to know for sure.

And yea, you do need "use buffering" on for the elgato, it's quite important for syncing.

As a last resort, you can use "audio time offset" to manually adjust the time of the device if needed though.
 
Jim said:
Hm, well you do admittedly have two cores, so that could be a factor, but I feel like that shouldn't necessarily be the reason, I don't know. I think I'd have to do some more thorough testing with that type of system to know for sure.

And yea, you do need "use buffering" on for the elgato, it's quite important for syncing.

As a last resort, you can use "audio time offset" to manually adjust the time of the device if needed though.

thanks jim.

most times the audio is fine at the start of the stream, then it desync. wouldn't i have to stop my stream, set the off sync then start my stream?

also, my cpu isn't even hitting 70 when i stream. so wouldn't that be not issue?

I streamed this morning on both veryfast and ultrafast with not issues.

Code:
09:18:47: Open Broadcaster Software v0.582b - 32bit (´・ω・`)
09:18:47: -------------------------------
09:18:47: CPU Name: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
09:18:47: CPU Speed: 3292MHz
09:18:47: Physical Memory:  4095MB Total, 3197MB Free
09:18:47: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
09:18:47: monitor 1: pos={0, 0}, size={1680, 1050}
09:18:47: monitor 2: pos={-1920, 0}, size={1920, 1080}
09:18:47: Windows Version: 6.1 Build 7601 S
09:18:47: Aero is Enabled
09:18:47: -------------------------------
09:18:47: OBS Modules:
09:18:47: Base Address     Module
09:18:47: 00A30000         OBS.exe
09:18:47: 5F3F0000         OBSApi.dll
09:18:47: 5FF90000         DShowPlugin.dll
09:18:47: 60000000         GraphicsCapture.dll
09:18:47: 5FFE0000         NoiseGate.dll
09:18:47: 5FF70000         PSVPlugin.dll
09:18:47: ------------------------------------------
09:18:47: Adapter 1
09:18:47:   Video Adapter: AMD Radeon HD 5700 Series
09:18:47:   Video Adapter Dedicated Video Memory: 1065172992
09:18:47:   Video Adapter Shared System Memory: 2942457856
09:18:47:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
09:18:47:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
09:18:47: =====Stream Start: 2013-10-22, 09:18:47===============================================
09:18:47:   Multithreaded optimizations: On
09:18:47:   Base resolution: 1280x720
09:18:47:   Output resolution: 1280x720
09:18:47: ------------------------------------------
09:18:47: Loading up D3D10 on AMD Radeon HD 5700 Series...
09:18:47: ------------------------------------------
09:18:47: Audio Format: 44100hz
09:18:47: Playback device Default
09:18:47: ------------------------------------------
09:18:47: Using desktop audio input: Speakers (Realtek High Definition Audio)
09:18:47: ------------------------------------------
09:18:47: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
09:18:47: ------------------------------------------
09:18:47: Audio Encoding: AAC
09:18:47:     bitrate: 128
09:18:47: Using bitmap image
09:18:48: ------------------------------------------
09:18:48:     device: Elgato Game Capture HD,
09:18:48:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
09:18:48:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
09:18:48:     use buffering: true - 0, fourCC: 'UYVY'
09:18:48: 
09:18:49: Using directshow input
09:18:49: Scene buffering time set to 700
09:18:49: ------------------------------------------
09:18:49: Video Encoding: x264
09:18:49:     fps: 30
09:18:49:     width: 1280, height: 720
09:18:49:     preset: ultrafast
09:18:49:     profile: high
09:18:49:     keyint: 60
09:18:49:     CBR: yes
09:18:49:     CFR: yes
09:18:49:     max bitrate: 1400
09:18:49:     buffer size: 1400
09:18:49: ------------------------------------------
09:18:49: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
09:18:49: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
09:18:50: Using RTMP service: Twitch / Justin.tv
09:18:50:   Server selection: rtmp://live-iad-backup.justin.tv/app
09:18:50:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
09:18:51: Completed handshake with rtmp://live-iad-backup.justin.tv/app in 219 ms.
09:18:51: SO_SNDBUF was at 8192
09:18:51: SO_SNDBUF is now 65536
09:18:55: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 195584)
09:39:39: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 195584)
09:42:15: Total frames encoded: 42179, total frames duplicated: 21 (0.05%)
09:42:15: Total frames rendered: 42182, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
09:42:16: RTMPPublisher::SocketLoop: Graceful loop exit
09:42:16: Average send payload: 5813 bytes, average send interval: 30 ms
09:42:16: Number of times waited to send: 0, Waited for a total of 0 bytes
09:42:16: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
09:42:16: Number of bytes sent: 269194788
09:42:24: 
09:42:24: Profiler time results:
09:42:24: 
09:42:24: ==============================================================
09:42:24: video thread frame - [100%] [avg time: 1.825 ms] [children: 69.2%] [unaccounted: 30.8%]
09:42:24: | scene->Preprocess - [52.1%] [avg time: 0.951 ms]
09:42:24: | GPU download and conversion - [17%] [avg time: 0.311 ms] [children: 16%] [unaccounted: 1.04%]
09:42:24: | | flush - [15.4%] [avg time: 0.281 ms]
09:42:24: | | CopyResource - [0.493%] [avg time: 0.009 ms]
09:42:24: | | conversion to 4:2:0 - [0.11%] [avg time: 0.002 ms]
09:42:24: Convert444Thread - [100%] [avg time: 0.752 ms] [children: 98.8%] [unaccounted: 1.2%]
09:42:24: | Convert444toNV12 - [98.8%] [avg time: 0.743 ms]
09:42:24: encoder thread frame - [100%] [avg time: 0.968 ms]
09:42:24: ==============================================================
09:42:24: 
09:42:24: 
09:42:24: Profiler CPU results:
09:42:24: 
09:42:24: ==============================================================
09:42:24: video thread frame - [cpu time: avg 0.874 ms, total 36894.2 ms] [avg calls per frame: 1]
09:42:24: | scene->Preprocess - [cpu time: avg 0.714 ms, total 30123.8 ms] [avg calls per frame: 1]
09:42:24: | GPU download and conversion - [cpu time: avg 0.022 ms, total 951.606 ms] [avg calls per frame: 1]
09:42:24: | | flush - [cpu time: avg 0.018 ms, total 780.005 ms] [avg calls per frame: 1]
09:42:24: | | CopyResource - [cpu time: avg 0.001 ms, total 78.001 ms] [avg calls per frame: 1]
09:42:24: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 46.8 ms] [avg calls per frame: 1]
09:42:24: Convert444Thread - [cpu time: avg 0.842 ms, total 35505.8 ms] [avg calls per frame: 1]
09:42:24: | Convert444toNV12 - [cpu time: avg 0.84 ms, total 35412.2 ms] [avg calls per frame: 1]
09:42:24: encoder thread frame - [cpu time: avg 0.126 ms, total 5350.84 ms] [avg calls per frame: 1]
09:42:24: ==============================================================
09:42:24: 
09:42:24: =====Stream End: 2013-10-22, 09:42:24=================================================
09:42:52: =====Stream Start: 2013-10-22, 09:42:52===============================================
09:42:52:   Multithreaded optimizations: On
09:42:52:   Base resolution: 1280x720
09:42:52:   Output resolution: 1280x720
09:42:52: ------------------------------------------
09:42:52: Loading up D3D10 on AMD Radeon HD 5700 Series...
09:42:52: ------------------------------------------
09:42:52: Audio Format: 44100hz
09:42:52: Playback device Default
09:42:52: ------------------------------------------
09:42:52: Using desktop audio input: Speakers (Realtek High Definition Audio)
09:42:52: ------------------------------------------
09:42:52: Using auxilary audio input: Microphone (Turtle Beach PX21 Headset)
09:42:52: ------------------------------------------
09:42:52: Audio Encoding: AAC
09:42:52:     bitrate: 128
09:42:52: ------------------------------------------
09:42:52:     device: Elgato Game Capture HD,
09:42:52:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
09:42:52:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
09:42:52:     use buffering: true - 0, fourCC: 'UYVY'
09:42:52: 
09:42:53: Using directshow input
09:42:53: Scene buffering time set to 700
09:42:53: ------------------------------------------
09:42:53: Video Encoding: x264
09:42:53:     fps: 30
09:42:53:     width: 1280, height: 720
09:42:53:     preset: veryfast
09:42:53:     profile: high
09:42:53:     keyint: 60
09:42:53:     CBR: yes
09:42:53:     CFR: yes
09:42:53:     max bitrate: 1400
09:42:53:     buffer size: 1400
09:42:53: ------------------------------------------
09:42:53: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
09:42:53: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX21 Headset)' is 384000, samples per sec is 48000
09:42:55: Using RTMP service: Twitch / Justin.tv
09:42:55:   Server selection: rtmp://live-iad-backup.justin.tv/app
09:42:55:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
09:42:55: Completed handshake with rtmp://live-iad-backup.justin.tv/app in 225 ms.
09:42:56: SO_SNDBUF was at 8192
09:42:56: SO_SNDBUF is now 65536
09:42:57: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 9258 / 195584)
10:06:06: Total frames encoded: 41761, total frames duplicated: 106 (0.25%)
10:06:06: Total frames rendered: 41767, number of late frames: 2 (0.00%) (it's okay for some frames to be late)
10:06:06: RTMPPublisher::SocketLoop: Graceful loop exit
10:06:06: Average send payload: 5086 bytes, average send interval: 26 ms
10:06:06: Number of times waited to send: 0, Waited for a total of 0 bytes
10:06:06: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
10:06:06: Number of bytes sent: 266441323
10:06:14: 
10:06:14: Profiler time results:
10:06:14: 
10:06:14: ==============================================================
10:06:14: video thread frame - [100%] [avg time: 2.102 ms] [children: 70.6%] [unaccounted: 29.4%]
10:06:14: | scene->Preprocess - [60.3%] [avg time: 1.268 ms]
10:06:14: | GPU download and conversion - [10.3%] [avg time: 0.217 ms] [children: 9.56%] [unaccounted: 0.761%]
10:06:14: | | flush - [8.75%] [avg time: 0.184 ms]
10:06:14: | | CopyResource - [0.666%] [avg time: 0.014 ms]
10:06:14: | | conversion to 4:2:0 - [0.143%] [avg time: 0.003 ms]
10:06:14: Convert444Thread - [100%] [avg time: 0.839 ms] [children: 98.7%] [unaccounted: 1.31%]
10:06:14: | Convert444toNV12 - [98.7%] [avg time: 0.828 ms]
10:06:14: encoder thread frame - [100%] [avg time: 1.309 ms]
10:06:14: ==============================================================
10:06:14: 
10:06:14: 
10:06:14: Profiler CPU results:
10:06:14: 
10:06:14: ==============================================================
10:06:14: video thread frame - [cpu time: avg 1.157 ms, total 48329.1 ms] [avg calls per frame: 1]
10:06:14: | scene->Preprocess - [cpu time: avg 0.923 ms, total 38563.4 ms] [avg calls per frame: 1]
10:06:14: | GPU download and conversion - [cpu time: avg 0.037 ms, total 1575.61 ms] [avg calls per frame: 1]
10:06:14: | | flush - [cpu time: avg 0.025 ms, total 1045.21 ms] [avg calls per frame: 1]
10:06:14: | | CopyResource - [cpu time: avg 0.005 ms, total 234.001 ms] [avg calls per frame: 1]
10:06:14: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 31.2 ms] [avg calls per frame: 1]
10:06:14: Convert444Thread - [cpu time: avg 0.887 ms, total 37065.8 ms] [avg calls per frame: 1]
10:06:14: | Convert444toNV12 - [cpu time: avg 0.882 ms, total 36847.4 ms] [avg calls per frame: 1]
10:06:14: encoder thread frame - [cpu time: avg 0.303 ms, total 12682.9 ms] [avg calls per frame: 1]
10:06:14: ==============================================================
10:06:14: 
10:06:14: =====Stream End: 2013-10-22, 10:06:14=================================================
10:06:20: Memory Leaks Were Detected.
10:06:20:

broadcast video (ultrafast) - http://www.twitch.tv/vaughnwhiskey/b/472449762
broadcast video (veryfast) - http://www.twitch.tv/vaughnwhiskey/b/472453514
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yea, 2 cores shouldn't be an an issue I think, I was just merely noting it more than anything else. So you got it working? Maybe it was because you weren't using "use buffering". Anyway, if you have any more issues let me know.
 
Jim said:
Yea, 2 cores shouldn't be an an issue I think, I was just merely noting it more than anything else. So you got it working? Maybe it was because you weren't using "use buffering". Anyway, if you have any more issues let me know.

Well it worked for abit but it is causing issues again. Phil from ElGato stopped by my stream yesterday and we did some troubleshooting. We was discussing about my computer and I think my i3 2120 is fine enough. I showed him my CPU loads and stuff while streaming and they was below 50. Then he told me to submit a ticket with them because it shouldn't be doing that.

I am not sure what else we can really do but I know the 1st day was perfectly fine but then I had plugin updates twice. I know plugins should cause this issue. I just throwing ideas to the wall.

Besides that, OBS has been a great program and I am happy that i switched over.
 
Hate to post here again

But the desync happens more when i have "Output audio to desktop" but when I have it set to "Output audio to stream only" the desync doesn't really happen at all. Maybe 100ms at most.
 

ElgatoGaming

New Member
Hey Vaughn, Phil here.

You make an interesting point. We have not tested outputting the audio to desktop, since thats not what most people would do. It seems to be the issue. We do recommend you output the audio directly to the stream. Is there a particular reason it was or you set it to output the audio to desktop?

Phil
Elgato Gaming
 
ElgatoGaming said:
Hey Vaughn, Phil here.

You make an interesting point. We have not tested outputting the audio to desktop, since thats not what most people would do. It seems to be the issue. We do recommend you output the audio directly to the stream. Is there a particular reason it was or you set it to output the audio to desktop?

Phil
Elgato Gaming

I was told by a viewer that it had to be set it to Desktop (they also stream with elgato and OBS).. Then I was just messing around with settings and remembered 1st day when I had no issues I had it set to "Output audio to stream only" so I went back and it's pretty much good to go. I do notice a smaller delay but not as noticeable as before.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It's supposed to be on by default but I think there's a bug with it. I'll make sure it works next version.
 
Top