Question / Help DELAY WITH SOUND

UberDragon

Member
Make sure you check "Use buffering" option in the properties (leave it at 0, just make sure its checked). That will keep the game video and game sound in sync.

If you are also using a webcam and/or mic you'll need to delay those, so they match with the gameplay the viewers will see. For your mic go to settings -> audio -> mic time offset, and for the webcam right click (on the webcam in the sources list) -> properties -> use buffering (milliseconds). To get it synced nicely try values from 1250-1750 ms, that works for most people but you'll need to try and see what works best for you.
 

Sparanda

New Member
I don't mean to bring up a solved issue, but I figured it would be better to post here than creating a new thread.

I applied the buffering change and the audio was still delayed. Unless I need to restart the stream after applying the buffering change, it only helped for a little while

I don't remember which log applied to the stream, so I'll post both of them:

Code:
11:55:24: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
11:55:24: -------------------------------
11:55:24: CPU Name: AMD Athlon(tm) II X4 630 Processor
11:55:24: CPU Speed: 2793MHz
11:55:24: Physical Memory:  4095MB Total, 4095MB Free
11:55:24: stepping id: 2, model 5, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
11:55:24: monitor 1: pos={0, 0}, size={1366, 768}
11:55:24: Windows Version: 6.1 Build 7601 S
11:55:24: Aero is Disabled
11:55:24: -------------------------------
11:55:24: OBS Modules:
11:55:24: Base Address     Module
11:55:24: 011D0000         OBS.exe
11:55:24: 641F0000         OBSApi.dll
11:55:24: 70400000         DShowPlugin.dll
11:55:24: 703E0000         GraphicsCapture.dll
11:55:24: 703C0000         NoiseGate.dll
11:55:24: 703A0000         PSVPlugin.dll
11:55:24: ------------------------------------------
11:55:24: Adapter 1
11:55:24:   Video Adapter: ATI Radeon HD 4200
11:55:24:   Video Adapter Dedicated Video Memory: 264802304
11:55:24:   Video Adapter Shared System Memory: 2947547136
11:55:24:   Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
11:55:24: =====Stream Start: 2014-02-01, 11:55:24===============================================
11:55:24:   Multithreaded optimizations: On
11:55:24:   Base resolution: 1280x720
11:55:24:   Output resolution: 1280x720
11:55:24: ------------------------------------------
11:55:24: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
11:55:24: ------------------------------------------
11:55:24: Audio Format: 48000hz
11:55:24: Playback device Default
11:55:24: ------------------------------------------
11:55:24: Using desktop audio input: Speakers (2- Logitech USB Headset)
11:55:24: ------------------------------------------
11:55:24: Using auxilary audio input: Microphone (2- Logitech USB Headset)
11:55:24: ------------------------------------------
11:55:24: Audio Encoding: AAC
11:55:24:     bitrate: 160
11:55:24: ------------------------------------------
11:55:24:     device: Elgato Game Capture HD,
11:55:24:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
11:55:24:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
11:55:24:     use buffering: false - 0, fourCC: 'UYVY'
11:55:24: 
11:55:25: Using directshow input
11:55:25: Scene buffering time set to 700
11:55:25: ------------------------------------------
11:55:25: Video Encoding: x264
11:55:25:     fps: 30
11:55:25:     width: 1280, height: 720
11:55:25:     preset: veryfast
11:55:25:     profile: main
11:55:25:     keyint: 60
11:55:25:     CBR: yes
11:55:25:     CFR: yes
11:55:25:     max bitrate: 1000
11:55:25:     buffer size: 1000
11:55:25: ------------------------------------------
11:55:25: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
11:55:25: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
Code:
12:04:02: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
12:04:02: -------------------------------
12:04:02: CPU Name: AMD Athlon(tm) II X4 630 Processor
12:04:02: CPU Speed: 2793MHz
12:04:02: Physical Memory:  4095MB Total, 4095MB Free
12:04:02: stepping id: 2, model 5, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
12:04:02: monitor 1: pos={0, 0}, size={1366, 768}
12:04:02: Windows Version: 6.1 Build 7601 S
12:04:02: Aero is Disabled
12:04:02: -------------------------------
12:04:02: OBS Modules:
12:04:02: Base Address     Module
12:04:02: 00CB0000         OBS.exe
12:04:02: 6AB40000         OBSApi.dll
12:04:02: 72270000         DShowPlugin.dll
12:04:02: 72250000         GraphicsCapture.dll
12:04:02: 72230000         NoiseGate.dll
12:04:02: 72210000         PSVPlugin.dll
12:04:02: ------------------------------------------
12:04:02: Adapter 1
12:04:02:   Video Adapter: ATI Radeon HD 4200
12:04:02:   Video Adapter Dedicated Video Memory: 264802304
12:04:02:   Video Adapter Shared System Memory: 2947547136
12:04:02:   Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
12:04:02: =====Stream Start: 2014-02-01, 12:04:02===============================================
12:04:02:   Multithreaded optimizations: On
12:04:02:   Base resolution: 1280x720
12:04:02:   Output resolution: 1280x720
12:04:02: ------------------------------------------
12:04:02: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
12:04:03: ------------------------------------------
12:04:03: Audio Format: 48000hz
12:04:03: Playback device Default
12:04:03: ------------------------------------------
12:04:03: Using desktop audio input: Speakers (2- Logitech USB Headset)
12:04:03: ------------------------------------------
12:04:03: Using auxilary audio input: Microphone (2- Logitech USB Headset)
12:04:03: ------------------------------------------
12:04:03: Audio Encoding: AAC
12:04:03:     bitrate: 160
12:04:03: ------------------------------------------
12:04:03:     device: Elgato Game Capture HD,
12:04:03:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
12:04:03:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
12:04:03:     use buffering: false - 0, fourCC: 'UYVY'
12:04:03: 
12:04:05: Using directshow input
12:04:05: Scene buffering time set to 700
12:04:05: ------------------------------------------
12:04:05: Video Encoding: x264
12:04:05:     fps: 30
12:04:05:     width: 1280, height: 720
12:04:05:     preset: veryfast
12:04:05:     profile: main
12:04:05:     keyint: 60
12:04:05:     CBR: yes
12:04:05:     CFR: yes
12:04:05:     max bitrate: 1000
12:04:05:     buffer size: 1000
12:04:05: ------------------------------------------
12:04:05: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
12:04:05: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
12:05:40: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
12:05:40:   New Scene
12:05:40: Using text output
12:05:40: Using text output
12:05:40: Using bitmap image
12:07:46: Total frames encoded: 6584, total frames duplicated: 93 (1.41%)
12:07:46: Total frames rendered: 6583, number of late frames: 5 (0.08%) (it's okay for some frames to be late)
12:07:49: 
12:07:49: Profiler time results:
12:07:49: 
12:07:49: ==============================================================
12:07:49: video thread frame - [100%] [avg time: 9.261 ms] [children: 92.8%] [unaccounted: 7.23%]
12:07:49: | scene->Preprocess - [90.2%] [avg time: 8.356 ms]
12:07:49: | GPU download and conversion - [2.54%] [avg time: 0.235 ms] [children: 1.67%] [unaccounted: 0.864%]
12:07:49: | | flush - [0.367%] [avg time: 0.034 ms]
12:07:49: | | CopyResource - [1%] [avg time: 0.093 ms]
12:07:49: | | conversion to 4:2:0 - [0.302%] [avg time: 0.028 ms]
12:07:49: Convert444Threads - [100%] [avg time: 1.304 ms] [children: 98.5%] [unaccounted: 1.53%]
12:07:49: | Convert444toNV12 - [98.5%] [avg time: 1.284 ms]
12:07:49: encoder thread frame - [100%] [avg time: 2.69 ms]
12:07:49: ==============================================================
12:07:49: 
12:07:49: 
12:07:49: Profiler CPU results:
12:07:49: 
12:07:49: ==============================================================
12:07:49: video thread frame - [cpu time: avg 8.087 ms, total 53243.1 ms] [avg calls per frame: 1]
12:07:49: | scene->Preprocess - [cpu time: avg 7.739 ms, total 50949.9 ms] [avg calls per frame: 1]
12:07:49: | GPU download and conversion - [cpu time: avg 0.082 ms, total 546.005 ms] [avg calls per frame: 1]
12:07:49: | | flush - [cpu time: avg 0.021 ms, total 140.401 ms] [avg calls per frame: 1]
12:07:49: | | CopyResource - [cpu time: avg 0.038 ms, total 249.602 ms] [avg calls per frame: 1]
12:07:49: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 46.802 ms] [avg calls per frame: 1]
12:07:49: Convert444Threads - [cpu time: avg 1.278 ms, total 16770.1 ms] [avg calls per frame: 2]
12:07:49: | Convert444toNV12 - [cpu time: avg 1.261 ms, total 16551.7 ms] [avg calls per frame: 2]
12:07:49: encoder thread frame - [cpu time: avg 2.058 ms, total 13509.7 ms] [avg calls per frame: 1]
12:07:49: ==============================================================
12:07:49: 
12:07:49: =====Stream End: 2014-02-01, 12:07:49=================================================
12:07:54: =====Stream Start: 2014-02-01, 12:07:54===============================================
12:07:54:   Multithreaded optimizations: On
12:07:54:   Base resolution: 1280x720
12:07:54:   Output resolution: 1280x720
12:07:54: ------------------------------------------
12:07:54: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
12:07:54: ------------------------------------------
12:07:54: Audio Format: 48000hz
12:07:54: Playback device Default
12:07:54: ------------------------------------------
12:07:54: Using desktop audio input: Speakers (2- Logitech USB Headset)
12:07:54: ------------------------------------------
12:07:54: Using auxilary audio input: Microphone (2- Logitech USB Headset)
12:07:54: ------------------------------------------
12:07:54: Audio Encoding: AAC
12:07:54:     bitrate: 160
12:07:54: Using text output
12:07:54: Using bitmap image
12:07:54: Scene buffering time set to 700
12:07:54: ------------------------------------------
12:07:54: Video Encoding: x264
12:07:54:     fps: 30
12:07:54:     width: 1280, height: 720
12:07:54:     preset: veryfast
12:07:54:     profile: main
12:07:54:     keyint: 60
12:07:54:     CBR: yes
12:07:54:     CFR: yes
12:07:54:     max bitrate: 1000
12:07:54:     buffer size: 1000
12:07:54: ------------------------------------------
12:07:54: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
12:07:54: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
12:07:56: Using RTMP service: Twitch / Justin.tv
12:07:56:   Server selection: rtmp://live-iad.justin.tv/app
12:07:57:   Interface: MAC Bridge Miniport (ethernet, 1000 mbps)
12:07:57: Completed handshake with rtmp://live-iad.justin.tv/app in 222 ms.
12:07:57: SO_SNDBUF was at 8192
12:07:57: SO_SNDBUF is now 65536
12:13:10: RTMPPublisher::SocketLoop: Stalled for 1557 ms to write 677 bytes (buffer: 0 / 148480), unstable connection?
12:13:29: RTMPPublisher::SocketLoop: Stalled for 1594 ms to write 367 bytes (buffer: 0 / 148480), unstable connection?
12:13:32: RTMPPublisher::SocketLoop: Stalled for 2472 ms to write 15198 bytes (buffer: 0 / 148480), unstable connection?
12:14:51: Using text output
12:15:03: Using Window Capture
12:27:28: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
12:27:28:   New Scene
12:27:28: ------------------------------------------
12:27:28:     device: Elgato Game Capture HD,
12:27:28:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
12:27:28:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
12:27:28:     use buffering: false - 0, fourCC: 'UYVY'
12:27:28: 
12:27:28: Using directshow input
12:29:22: Using text output
13:21:41: ------------------------------------------
13:21:41:     device: Elgato Game Capture HD,
13:21:41:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
13:21:41:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
13:21:41:     use buffering: true - 0, fourCC: 'UYVY'
13:21:41: 
14:21:36: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
14:21:36:   New Scene
14:21:36: Using text output
14:21:36: Using bitmap image
14:21:54: Using bitmap image
14:28:22: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
14:28:22:   New Scene
14:28:22: Using text output
17:39:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:39:46:   New Scene
17:39:46: Using text output
17:39:46: Using bitmap image
17:41:13: Using text output
17:41:14: Using Window Capture
17:53:02: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:53:02:   New Scene
17:53:02: Using text output
17:54:17: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:54:17:   New Scene
17:54:17: Using text output
17:54:17: Using bitmap image
17:54:34: Total frames encoded: 623974, total frames duplicated: 4728 (0.76%)
17:54:34: Number of frames skipped due to encoder lag: 2523 (0.40%)
17:54:34: Total frames rendered: 620981, number of late frames: 303 (0.05%) (it's okay for some frames to be late)
17:54:34: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
17:54:34: Average send payload: 4299 bytes, average send interval: 29 ms
17:54:34: Number of times waited to send: 2, Waited for a total of 4904 bytes
17:54:34: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:54:34: Number of bytes sent: 3032400119
17:54:38: 
17:54:38: Profiler time results:
17:54:38: 
17:54:38: ==============================================================
17:54:38: video thread frame - [100%] [avg time: 8.7 ms] [children: 97.1%] [unaccounted: 2.93%]
17:54:38: | scene->Preprocess - [94.3%] [avg time: 8.2 ms]
17:54:38: | GPU download and conversion - [2.82%] [avg time: 0.245 ms] [children: 2.34%] [unaccounted: 0.471%]
17:54:38: | | flush - [1.48%] [avg time: 0.129 ms]
17:54:38: | | CopyResource - [0.54%] [avg time: 0.047 ms]
17:54:38: | | conversion to 4:2:0 - [0.322%] [avg time: 0.028 ms]
17:54:38: Convert444Threads - [100%] [avg time: 1.293 ms] [children: 98.5%] [unaccounted: 1.55%]
17:54:38: | Convert444toNV12 - [98.5%] [avg time: 1.273 ms]
17:54:38: encoder thread frame - [100%] [avg time: 2.643 ms]
17:54:38: ==============================================================
17:54:38: 
17:54:38: 
17:54:38: Profiler CPU results:
17:54:38: 
17:54:38: ==============================================================
17:54:38: video thread frame - [cpu time: avg 7.926 ms, total 4.92244e+006 ms] [avg calls per frame: 1]
17:54:38: | scene->Preprocess - [cpu time: avg 7.618 ms, total 4.7309e+006 ms] [avg calls per frame: 1]
17:54:38: | GPU download and conversion - [cpu time: avg 0.141 ms, total 88000.2 ms] [avg calls per frame: 1]
17:54:38: | | flush - [cpu time: avg 0.089 ms, total 55630 ms] [avg calls per frame: 1]
17:54:38: | | CopyResource - [cpu time: avg 0.028 ms, total 17940.1 ms] [avg calls per frame: 1]
17:54:38: | | conversion to 4:2:0 - [cpu time: avg 0.006 ms, total 3790.82 ms] [avg calls per frame: 1]
17:54:38: Convert444Threads - [cpu time: avg 1.185 ms, total 1.47279e+006 ms] [avg calls per frame: 2]
17:54:38: | Convert444toNV12 - [cpu time: avg 1.176 ms, total 1.46054e+006 ms] [avg calls per frame: 2]
17:54:38: encoder thread frame - [cpu time: avg 2.047 ms, total 1.27734e+006 ms] [avg calls per frame: 1]
17:54:38: ==============================================================
17:54:38: 
17:54:38: =====Stream End: 2014-02-01, 17:54:38=================================================
17:57:24: =====Stream Start: 2014-02-01, 17:57:24===============================================
17:57:24:   Multithreaded optimizations: On
17:57:24:   Base resolution: 1280x720
17:57:24:   Output resolution: 1280x720
17:57:24: ------------------------------------------
17:57:24: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
17:57:24: ------------------------------------------
17:57:24: Audio Format: 48000hz
17:57:24: Playback device Default
17:57:24: ------------------------------------------
17:57:24: Using desktop audio input: Speakers (2- Logitech USB Headset)
17:57:24: ------------------------------------------
17:57:24: Using auxilary audio input: Microphone (2- Logitech USB Headset)
17:57:24: ------------------------------------------
17:57:24: Audio Encoding: AAC
17:57:24:     bitrate: 160
17:57:24: Using Window Capture
17:57:24: Scene buffering time set to 700
17:57:24: ------------------------------------------
17:57:24: Video Encoding: x264
17:57:24:     fps: 30
17:57:24:     width: 1280, height: 720
17:57:24:     preset: veryfast
17:57:24:     profile: main
17:57:24:     keyint: 60
17:57:24:     CBR: yes
17:57:24:     CFR: yes
17:57:24:     max bitrate: 1000
17:57:24:     buffer size: 1000
17:57:24: ------------------------------------------
17:57:24: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
17:57:24: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
18:00:01: Total frames encoded: 4673, total frames duplicated: 184 (3.94%)
18:00:01: Total frames rendered: 4623, number of late frames: 14 (0.30%) (it's okay for some frames to be late)
18:00:01: 
18:00:01: Profiler time results:
18:00:01: 
18:00:01: ==============================================================
18:00:01: video thread frame - [100%] [avg time: 5.353 ms] [children: 74.1%] [unaccounted: 25.9%]
18:00:01: | scene->Preprocess - [69.2%] [avg time: 3.703 ms]
18:00:01: | GPU download and conversion - [4.93%] [avg time: 0.264 ms] [children: 3.46%] [unaccounted: 1.48%]
18:00:01: | | flush - [1.14%] [avg time: 0.061 ms]
18:00:01: | | CopyResource - [1.46%] [avg time: 0.078 ms]
18:00:01: | | conversion to 4:2:0 - [0.859%] [avg time: 0.046 ms]
18:00:01: Convert444Threads - [100%] [avg time: 1.285 ms] [children: 98.3%] [unaccounted: 1.71%]
18:00:01: | Convert444toNV12 - [98.3%] [avg time: 1.263 ms]
18:00:01: encoder thread frame - [100%] [avg time: 2.593 ms]
18:00:01: ==============================================================
18:00:01: 
18:00:01: 
18:00:01: Profiler CPU results:
18:00:01: 
18:00:01: ==============================================================
18:00:01: video thread frame - [cpu time: avg 1.933 ms, total 8938.86 ms] [avg calls per frame: 1]
18:00:01: | scene->Preprocess - [cpu time: avg 1.106 ms, total 5116.83 ms] [avg calls per frame: 1]
18:00:01: | GPU download and conversion - [cpu time: avg 0.178 ms, total 826.807 ms] [avg calls per frame: 1]
18:00:01: | | flush - [cpu time: avg 0.05 ms, total 234.002 ms] [avg calls per frame: 1]
18:00:01: | | CopyResource - [cpu time: avg 0.084 ms, total 390.003 ms] [avg calls per frame: 1]
18:00:01: | | conversion to 4:2:0 - [cpu time: avg 0.023 ms, total 109.201 ms] [avg calls per frame: 1]
18:00:01: Convert444Threads - [cpu time: avg 1.165 ms, total 10717.3 ms] [avg calls per frame: 2]
18:00:01: | Convert444toNV12 - [cpu time: avg 1.155 ms, total 10623.7 ms] [avg calls per frame: 2]
18:00:01: encoder thread frame - [cpu time: avg 1.676 ms, total 7800.05 ms] [avg calls per frame: 1]
18:00:01: ==============================================================
18:00:01: 
18:00:01: =====Stream End: 2014-02-01, 18:00:01=================================================
18:01:06: =====Stream Start: 2014-02-01, 18:01:06===============================================
18:01:06:   Multithreaded optimizations: On
18:01:06:   Base resolution: 1280x720
18:01:06:   Output resolution: 1280x720
18:01:06: ------------------------------------------
18:01:06: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
18:01:06: ------------------------------------------
18:01:06: Audio Format: 48000hz
18:01:06: Playback device Default
18:01:06: ------------------------------------------
18:01:06: Using desktop audio input: Speakers (2- Logitech USB Headset)
18:01:06: ------------------------------------------
18:01:06: Using auxilary audio input: Microphone (2- Logitech USB Headset)
18:01:06: ------------------------------------------
18:01:06: Audio Encoding: AAC
18:01:06:     bitrate: 160
18:01:06: Using Window Capture
18:01:06: Scene buffering time set to 700
18:01:06: ------------------------------------------
18:01:06: Video Encoding: x264
18:01:06:     fps: 30
18:01:06:     width: 1280, height: 720
18:01:06:     preset: veryfast
18:01:06:     profile: main
18:01:06:     keyint: 60
18:01:06:     CBR: yes
18:01:06:     CFR: yes
18:01:06:     max bitrate: 1000
18:01:06:     buffer size: 1000
18:01:06: ------------------------------------------
18:01:06: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
18:01:06: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
18:01:09: Using RTMP service: Twitch / Justin.tv
18:01:09:   Server selection: rtmp://live-iad.justin.tv/app
18:01:09:   Interface: MAC Bridge Miniport (ethernet, 1000 mbps)
18:01:09: Completed handshake with rtmp://live-iad.justin.tv/app in 248 ms.
18:01:10: SO_SNDBUF was at 8192
18:01:10: SO_SNDBUF is now 65536
18:37:03: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:37:03:   New Scene
18:37:03: Using text output
18:37:03: Using bitmap image
Warning -- MMDeviceAudioSource::GetBuffer: GetNextPacketSize failed, result = 88890004
18:38:29: Total frames encoded: 67251, total frames duplicated: 2544 (3.78%)
18:38:29: Number of frames skipped due to encoder lag: 65 (0.10%)
18:38:29: Total frames rendered: 67022, number of late frames: 226 (0.34%) (it's okay for some frames to be late)
18:38:29: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
18:38:29: Average send payload: 4514 bytes, average send interval: 31 ms
18:38:29: Number of times waited to send: 0, Waited for a total of 0 bytes
18:38:29: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:38:29: Number of bytes sent: 325277068
18:38:29: 
18:38:29: Profiler time results:
18:38:29: 
18:38:29: ==============================================================
18:38:29: video thread frame - [100%] [avg time: 4.793 ms] [children: 95.1%] [unaccounted: 4.86%]
18:38:29: | scene->Preprocess - [86.6%] [avg time: 4.15 ms]
18:38:29: | GPU download and conversion - [8.55%] [avg time: 0.41 ms] [children: 6.72%] [unaccounted: 1.84%]
18:38:29: | | flush - [2.38%] [avg time: 0.114 ms]
18:38:29: | | CopyResource - [4.09%] [avg time: 0.196 ms]
18:38:29: | | conversion to 4:2:0 - [0.25%] [avg time: 0.012 ms]
18:38:29: Convert444Threads - [100%] [avg time: 1.438 ms] [children: 98.3%] [unaccounted: 1.67%]
18:38:29: | Convert444toNV12 - [98.3%] [avg time: 1.414 ms]
18:38:29: encoder thread frame - [100%] [avg time: 3.211 ms]
18:38:29: ==============================================================
18:38:29: 
18:38:29: 
18:38:29: Profiler CPU results:
18:38:29: 
18:38:29: ==============================================================
18:38:29: video thread frame - [cpu time: avg 1.542 ms, total 103413 ms] [avg calls per frame: 1]
18:38:29: | scene->Preprocess - [cpu time: avg 1.25 ms, total 83834.9 ms] [avg calls per frame: 1]
18:38:29: | GPU download and conversion - [cpu time: avg 0.132 ms, total 8876.45 ms] [avg calls per frame: 1]
18:38:29: | | flush - [cpu time: avg 0.084 ms, total 5647.23 ms] [avg calls per frame: 1]
18:38:29: | | CopyResource - [cpu time: avg 0.022 ms, total 1497.61 ms] [avg calls per frame: 1]
18:38:29: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 358.802 ms] [avg calls per frame: 1]
18:38:29: Convert444Threads - [cpu time: avg 1.133 ms, total 151929 ms] [avg calls per frame: 2]
18:38:29: | Convert444toNV12 - [cpu time: avg 1.122 ms, total 150463 ms] [avg calls per frame: 2]
18:38:29: encoder thread frame - [cpu time: avg 1.835 ms, total 123412 ms] [avg calls per frame: 1]
18:38:29: ==============================================================
18:38:29: 
18:38:29: =====Stream End: 2014-02-01, 18:38:29=================================================
18:38:31: =====Stream Start: 2014-02-01, 18:38:31===============================================
18:38:31:   Multithreaded optimizations: On
18:38:31:   Base resolution: 1280x720
18:38:31:   Output resolution: 1280x720
18:38:31: ------------------------------------------
18:38:31: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
18:38:31: ------------------------------------------
18:38:31: Audio Format: 48000hz
18:38:31: Playback device Default
18:38:31: ------------------------------------------
18:38:31: Using desktop audio input: Speakers (2- Logitech USB Headset)
18:38:31: ------------------------------------------
18:38:31: Using auxilary audio input: Microphone (2- Logitech USB Headset)
18:38:31: ------------------------------------------
18:38:31: Audio Encoding: AAC
18:38:31:     bitrate: 160
18:38:31: Using text output
18:38:31: Using bitmap image
18:38:31: Scene buffering time set to 700
18:38:31: ------------------------------------------
18:38:31: Video Encoding: x264
18:38:31:     fps: 30
18:38:31:     width: 1280, height: 720
18:38:31:     preset: veryfast
18:38:31:     profile: main
18:38:31:     keyint: 60
18:38:31:     CBR: yes
18:38:31:     CFR: yes
18:38:31:     max bitrate: 1000
18:38:31:     buffer size: 1000
18:38:31: ------------------------------------------
18:38:31: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
18:38:31: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
18:38:34: Total frames encoded: 72, total frames duplicated: 0 (0.00%)
18:38:34: Total frames rendered: 77, number of late frames: 1 (1.30%) (it's okay for some frames to be late)
18:38:34: 
18:38:34: Profiler time results:
18:38:34: 
18:38:34: ==============================================================
18:38:34: video thread frame - [100%] [avg time: 0.965 ms] [children: 10.1%] [unaccounted: 89.9%]
18:38:34: | scene->Preprocess - [1.45%] [avg time: 0.014 ms]
18:38:34: | GPU download and conversion - [8.6%] [avg time: 0.083 ms] [children: 8.08%] [unaccounted: 0.518%]
18:38:34: | | flush - [3.11%] [avg time: 0.03 ms]
18:38:34: | | CopyResource - [4.15%] [avg time: 0.04 ms]
18:38:34: | | conversion to 4:2:0 - [0.829%] [avg time: 0.008 ms]
18:38:34: Convert444Threads - [100%] [avg time: 1.662 ms] [children: 98.6%] [unaccounted: 1.38%]
18:38:34: | Convert444toNV12 - [98.6%] [avg time: 1.639 ms]
18:38:34: encoder thread frame - [100%] [avg time: 3.056 ms]
18:38:34: ==============================================================
18:38:34: 
18:38:34: 
18:38:34: Profiler CPU results:
18:38:34: 
18:38:34: ==============================================================
18:38:34: video thread frame - [cpu time: avg 0.607 ms, total 46.8 ms] [avg calls per frame: 1]
18:38:34: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:38:34: | GPU download and conversion - [cpu time: avg 0.202 ms, total 15.6 ms] [avg calls per frame: 1]
18:38:34: | | flush - [cpu time: avg 0.202 ms, total 15.6 ms] [avg calls per frame: 1]
18:38:34: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:38:34: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:38:34: Convert444Threads - [cpu time: avg 1.5 ms, total 156 ms] [avg calls per frame: 2]
18:38:34: | Convert444toNV12 - [cpu time: avg 1.5 ms, total 156 ms] [avg calls per frame: 2]
18:38:34: encoder thread frame - [cpu time: avg 2.752 ms, total 140.4 ms] [avg calls per frame: 1]
18:38:34: ==============================================================
18:38:34: 
18:38:34: =====Stream End: 2014-02-01, 18:38:34=================================================
18:38:45: =====Stream Start: 2014-02-01, 18:38:45===============================================
18:38:45:   Multithreaded optimizations: On
18:38:45:   Base resolution: 1280x720
18:38:45:   Output resolution: 1280x720
18:38:45: ------------------------------------------
18:38:45: Loading up D3D10 on ATI Radeon HD 4200 (Adapter 1)...
18:38:45: ------------------------------------------
18:38:45: Audio Format: 48000hz
18:38:45: Playback device Default
18:38:45: ------------------------------------------
18:38:45: Using desktop audio input: Speakers (2- Logitech USB Headset)
18:38:45: ------------------------------------------
18:38:45: Using auxilary audio input: Microphone (2- Logitech USB Headset)
18:38:45: ------------------------------------------
18:38:45: Audio Encoding: AAC
18:38:45:     bitrate: 160
18:38:45: Using text output
18:38:45: Using bitmap image
18:38:45: Scene buffering time set to 700
18:38:45: ------------------------------------------
18:38:45: Video Encoding: x264
18:38:45:     fps: 30
18:38:45:     width: 1280, height: 720
18:38:45:     preset: veryfast
18:38:45:     profile: main
18:38:45:     keyint: 60
18:38:45:     CBR: yes
18:38:45:     CFR: yes
18:38:45:     max bitrate: 1000
18:38:45:     buffer size: 1000
18:38:45: ------------------------------------------
18:38:45: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech USB Headset)' is 352800, samples per sec is 44100
18:38:45: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech USB Headset)' is 176400, samples per sec is 44100
18:38:47: Using RTMP service: Twitch / Justin.tv
18:38:47:   Server selection: rtmp://live-iad.justin.tv/app
18:38:47:   Interface: MAC Bridge Miniport (ethernet, 1000 mbps)
18:38:47: Completed handshake with rtmp://live-iad.justin.tv/app in 242 ms.
18:38:48: SO_SNDBUF was at 8192
18:38:48: SO_SNDBUF is now 65536
18:40:19: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:40:19:   New Scene
18:40:19: Using Window Capture
18:40:19: Using Window Capture
18:40:19: Using text output
20:24:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:24:13:   New Scene
20:24:13: Using text output
20:24:13: Using bitmap image
20:24:16: Using bitmap image
20:24:30: Using text output
20:24:30: Using Window Capture
20:42:39: Total frames encoded: 223009, total frames duplicated: 7153 (3.21%)
20:42:39: Total frames rendered: 222087, number of late frames: 793 (0.36%) (it's okay for some frames to be late)
20:42:39: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
20:42:39: Average send payload: 4521 bytes, average send interval: 31 ms
20:42:39: Number of times waited to send: 0, Waited for a total of 0 bytes
20:42:39: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:42:39: Number of bytes sent: 1083811723
20:42:40: 
20:42:40: Profiler time results:
20:42:40: 
20:42:40: ==============================================================
20:42:40: video thread frame - [100%] [avg time: 6.227 ms] [children: 96.1%] [unaccounted: 3.85%]
20:42:40: | scene->Preprocess - [92.3%] [avg time: 5.745 ms]
20:42:40: | GPU download and conversion - [3.89%] [avg time: 0.242 ms] [children: 2.79%] [unaccounted: 1.09%]
20:42:40: | | flush - [1.81%] [avg time: 0.113 ms]
20:42:40: | | CopyResource - [0.755%] [avg time: 0.047 ms]
20:42:40: | | conversion to 4:2:0 - [0.225%] [avg time: 0.014 ms]
20:42:40: Convert444Threads - [100%] [avg time: 1.288 ms] [children: 98.4%] [unaccounted: 1.63%]
20:42:40: | Convert444toNV12 - [98.4%] [avg time: 1.267 ms]
20:42:40: encoder thread frame - [100%] [avg time: 2.36 ms]
20:42:40: ==============================================================
20:42:40: 
20:42:40: 
20:42:40: Profiler CPU results:
20:42:40: 
20:42:40: ==============================================================
20:42:40: video thread frame - [cpu time: avg 2.771 ms, total 615549 ms] [avg calls per frame: 1]
20:42:40: | scene->Preprocess - [cpu time: avg 2.398 ms, total 532587 ms] [avg calls per frame: 1]
20:42:40: | GPU download and conversion - [cpu time: avg 0.122 ms, total 27144.2 ms] [avg calls per frame: 1]
20:42:40: | | flush - [cpu time: avg 0.076 ms, total 16957.3 ms] [avg calls per frame: 1]
20:42:40: | | CopyResource - [cpu time: avg 0.023 ms, total 5272.83 ms] [avg calls per frame: 1]
20:42:40: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 1201.21 ms] [avg calls per frame: 1]
20:42:40: Convert444Threads - [cpu time: avg 1.136 ms, total 504570 ms] [avg calls per frame: 2]
20:42:40: | Convert444toNV12 - [cpu time: avg 1.126 ms, total 500311 ms] [avg calls per frame: 2]
20:42:40: encoder thread frame - [cpu time: avg 1.646 ms, total 367242 ms] [avg calls per frame: 1]
20:42:40: ==============================================================
20:42:40: 
20:42:40: =====Stream End: 2014-02-01, 20:42:40=================================================
20:42:42: Memory Leaks Were Detected.
20:42:42:
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Try 0.60 first, then get back to us (make sure "use buffering" is on, as per usual)
 

Sparanda

New Member
As a late response, I tested with 0.60 and my Xbox 360 set to 720p (it was 1080p before) and there was no audio lag. I think either 0.60 fixed it, or having the 360 set to a higher resolution was causing the problem.
 
Top