DAMONation
New Member
The audio in my streams lags behind the video by about 1 second. I've tried multiple audio settings but nothing seems to fix it. There aren't any frames being dropped, just the audio being behind.
Code:
19:57:24: Open Broadcaster Software v0.612b - 64bit ( ^ω^)
19:57:24: -------------------------------
19:57:24: CPU Name: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
19:57:24: CPU Speed: 3392MHz
19:57:24: Physical Memory: 8157MB Total, 6099MB Free
19:57:24: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
19:57:24: monitor 1: pos={0, 0}, size={1920, 1080}
19:57:24: Windows Version: 6.1 Build 7601 S
19:57:24: Aero is Disabled
19:57:24: -------------------------------
19:57:24: OBS Modules:
19:57:24: Base Address Module
19:57:24: 000000003FA30000 OBS.exe
19:57:24: 00000000F5C60000 OBSApi.dll
19:57:24: 00000000F6240000 DShowPlugin.dll
19:57:24: 00000000F6210000 GraphicsCapture.dll
19:57:24: 00000000F6160000 NoiseGate.dll
19:57:24: 00000000F6140000 PSVPlugin.dll
19:57:24: ------------------------------------------
19:57:24: Adapter 1
19:57:24: Video Adapter: NVIDIA GeForce GTX 660 Ti
19:57:24: Video Adapter Dedicated Video Memory: 2091319296
19:57:24: Video Adapter Shared System Memory: 2147807232
19:57:24: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:57:24: =====Stream Start: 2014-02-23, 19:57:24===============================================
19:57:24: Multithreaded optimizations: On
19:57:24: Base resolution: 852x480
19:57:24: Output resolution: 852x480
19:57:24: ------------------------------------------
19:57:24: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
19:57:24: ------------------------------------------
19:57:24: Audio Format: 48000hz
19:57:24: Playback device Default
19:57:24: ------------------------------------------
19:57:24: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:57:24: Using 5.1 speaker setup
19:57:24: ------------------------------------------
19:57:24: Using auxilary audio input: Microphone (Realtek High Definition Audio)
19:57:24: ------------------------------------------
19:57:24: Audio Encoding: AAC
19:57:24: bitrate: 128
19:57:24: Using graphics capture
19:57:24: Scene buffering time set to 700
19:57:24: ------------------------------------------
19:57:24: Video Encoding: x264
19:57:24: fps: 60
19:57:24: width: 852, height: 480
19:57:24: preset: veryfast
19:57:24: profile: main
19:57:24: keyint: 120
19:57:24: CBR: yes
19:57:24: CFR: no
19:57:24: max bitrate: 2500
19:57:24: buffer size: 2500
19:57:24: ------------------------------------------
19:58:33: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:58:33: New Scene
19:58:33: Using text output
19:58:33: Using bitmap image
19:58:54: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:58:54: New Scene
19:58:54: Using graphics capture
19:58:55: Total frames encoded: 5419, total frames duplicated: 7 (0.13%)
19:58:55: Total frames rendered: 5426, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
19:58:55:
19:58:55: Profiler time results:
19:58:55:
19:58:55: ==============================================================
19:58:55: video thread frame - [100%] [avg time: 0.544 ms] [children: 15.1%] [unaccounted: 84.9%]
19:58:55: | scene->Preprocess - [1.1%] [avg time: 0.006 ms]
19:58:55: | GPU download and conversion - [14%] [avg time: 0.076 ms] [children: 11.9%] [unaccounted: 2.02%]
19:58:55: | | flush - [7.54%] [avg time: 0.041 ms]
19:58:55: | | CopyResource - [4.04%] [avg time: 0.022 ms]
19:58:55: | | conversion to 4:2:0 - [0.368%] [avg time: 0.002 ms]
19:58:55: Convert444Threads - [100%] [avg time: 0.224 ms] [children: 98.2%] [unaccounted: 1.79%]
19:58:55: | Convert444toNV12 - [98.2%] [avg time: 0.22 ms]
19:58:55: encoder thread frame - [100%] [avg time: 0.669 ms] [children: 0.299%] [unaccounted: 99.7%]
19:58:55: | sending stuff out - [0.299%] [avg time: 0.002 ms]
19:58:55: ==============================================================
19:58:55:
19:58:55:
19:58:55: Profiler CPU results:
19:58:55:
19:58:55: ==============================================================
19:58:55: video thread frame - [cpu time: avg 0.207 ms, total 1123.21 ms] [avg calls per frame: 1]
19:58:55: | scene->Preprocess - [cpu time: avg 0.005 ms, total 31.201 ms] [avg calls per frame: 1]
19:58:55: | GPU download and conversion - [cpu time: avg 0.12 ms, total 655.203 ms] [avg calls per frame: 1]
19:58:55: | | flush - [cpu time: avg 0.066 ms, total 358.803 ms] [avg calls per frame: 1]
19:58:55: | | CopyResource - [cpu time: avg 0.043 ms, total 234 ms] [avg calls per frame: 1]
19:58:55: | | conversion to 4:2:0 - [cpu time: avg 0.008 ms, total 46.8 ms] [avg calls per frame: 1]
19:58:55: Convert444Threads - [cpu time: avg 0.104 ms, total 1123.21 ms] [avg calls per frame: 2]
19:58:55: | Convert444toNV12 - [cpu time: avg 0.104 ms, total 1123.21 ms] [avg calls per frame: 2]
19:58:55: encoder thread frame - [cpu time: avg 0.002 ms, total 15.6 ms] [avg calls per frame: 1]
19:58:55: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:58:55: ==============================================================
19:58:55:
19:58:55: =====Stream End: 2014-02-23, 19:58:55=================================================
19:59:10: =====Stream Start: 2014-02-23, 19:59:10===============================================
19:59:10: Multithreaded optimizations: On
19:59:10: Base resolution: 852x480
19:59:10: Output resolution: 852x480
19:59:10: ------------------------------------------
19:59:10: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
19:59:10: ------------------------------------------
19:59:10: Audio Format: 48000hz
19:59:10: Playback device Default
19:59:10: ------------------------------------------
19:59:10: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:59:10: Using 5.1 speaker setup
19:59:10: ------------------------------------------
19:59:10: Using auxilary audio input: Microphone (Realtek High Definition Audio)
19:59:10: ------------------------------------------
19:59:10: Audio Encoding: AAC
19:59:10: bitrate: 128
19:59:10: Using graphics capture
19:59:10: Scene buffering time set to 700
19:59:10: ------------------------------------------
19:59:10: Video Encoding: x264
19:59:10: fps: 60
19:59:10: width: 852, height: 480
19:59:10: preset: veryfast
19:59:10: profile: main
19:59:10: keyint: 120
19:59:10: CBR: yes
19:59:10: CFR: no
19:59:10: max bitrate: 2500
19:59:10: buffer size: 2500
19:59:10: ------------------------------------------
19:59:10: SharedTexCapture hooked
19:59:13: Total frames encoded: 154, total frames duplicated: 0 (0.00%)
19:59:13: Total frames rendered: 162, number of late frames: 1 (0.62%) (it's okay for some frames to be late)
19:59:13:
19:59:13: Profiler time results:
19:59:13:
19:59:13: ==============================================================
19:59:13: video thread frame - [100%] [avg time: 0.845 ms] [children: 9.47%] [unaccounted: 90.5%]
19:59:13: | scene->Preprocess - [0.118%] [avg time: 0.001 ms]
19:59:13: | GPU download and conversion - [9.35%] [avg time: 0.079 ms] [children: 8.99%] [unaccounted: 0.355%]
19:59:13: | | flush - [6.98%] [avg time: 0.059 ms]
19:59:13: | | CopyResource - [1.78%] [avg time: 0.015 ms]
19:59:13: | | conversion to 4:2:0 - [0.237%] [avg time: 0.002 ms]
19:59:13: Convert444Threads - [100%] [avg time: 0.221 ms] [children: 98.6%] [unaccounted: 1.36%]
19:59:13: | Convert444toNV12 - [98.6%] [avg time: 0.218 ms]
19:59:13: encoder thread frame - [100%] [avg time: 0.645 ms] [children: 0.155%] [unaccounted: 99.8%]
19:59:13: | sending stuff out - [0.155%] [avg time: 0.001 ms]
19:59:13: ==============================================================
19:59:13:
19:59:13:
19:59:13: Profiler CPU results:
19:59:13:
19:59:13: ==============================================================
19:59:13: video thread frame - [cpu time: avg 0.288 ms, total 46.8 ms] [avg calls per frame: 1]
19:59:13: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:59:13: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:59:13: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:59:13: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:59:13: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:59:13: Convert444Threads - [cpu time: avg 0.138 ms, total 31.2 ms] [avg calls per frame: 2]
19:59:13: | Convert444toNV12 - [cpu time: avg 0.138 ms, total 31.2 ms] [avg calls per frame: 2]
19:59:13: encoder thread frame - [cpu time: avg 0.417 ms, total 46.8 ms] [avg calls per frame: 1]
19:59:13: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:59:13: ==============================================================
19:59:13:
19:59:13: =====Stream End: 2014-02-23, 19:59:13=================================================
19:59:15: =====Stream Start: 2014-02-23, 19:59:15===============================================
19:59:15: Multithreaded optimizations: On
19:59:15: Base resolution: 852x480
19:59:15: Output resolution: 852x480
19:59:15: ------------------------------------------
19:59:15: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
19:59:15: ------------------------------------------
19:59:15: Audio Format: 48000hz
19:59:15: Playback device Default
19:59:15: ------------------------------------------
19:59:15: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:59:15: Using 5.1 speaker setup
19:59:15: ------------------------------------------
19:59:15: Using auxilary audio input: Microphone (Realtek High Definition Audio)
19:59:15: ------------------------------------------
19:59:15: Audio Encoding: AAC
19:59:15: bitrate: 128
19:59:15: Using graphics capture
19:59:15: Scene buffering time set to 700
19:59:15: ------------------------------------------
19:59:15: Video Encoding: x264
19:59:15: fps: 60
19:59:15: width: 852, height: 480
19:59:15: preset: veryfast
19:59:15: profile: main
19:59:15: keyint: 120
19:59:15: CBR: yes
19:59:15: CFR: no
19:59:15: max bitrate: 2500
19:59:15: buffer size: 2500
19:59:15: ------------------------------------------
19:59:15: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 23529343
19:59:17: Using RTMP service: Twitch / Justin.tv
19:59:17: Server selection: rtmp://live-dfw.justin.tv/app
19:59:17: Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
19:59:17: Completed handshake with rtmp://live-dfw.justin.tv/app in 134 ms.
19:59:17: SO_SNDBUF was at 8192
19:59:17: SO_SNDBUF is now 65536
19:59:18: SharedTexCapture hooked
19:59:19: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 335872)
19:59:19: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 335872)
20:32:47: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 80
21:34:49: RTMPPublisher::SocketLoop: Received FD_CLOSE, 4256 ms since last send (buffer: 333335 / 335872)
21:34:49: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
21:34:50: Total frames encoded: 344081, total frames duplicated: 8 (0.00%)
21:34:50: Total frames rendered: 344089, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
21:34:50: Average send payload: 5704 bytes, average send interval: 17 ms
21:34:50: Number of times waited to send: 2, Waited for a total of 8208 bytes
21:34:50: Number of b-frames dropped: 39 (0.011%), Number of p-frames dropped: 38 (0.011%), Total 77 (0.022%)
21:34:50: Number of bytes sent: 1888321286
21:34:50:
21:34:50: Profiler time results:
21:34:50:
21:34:50: ==============================================================
21:34:50: video thread frame - [100%] [avg time: 0.599 ms] [children: 17.7%] [unaccounted: 82.3%]
21:34:50: | scene->Preprocess - [0.167%] [avg time: 0.001 ms]
21:34:50: | GPU download and conversion - [17.5%] [avg time: 0.105 ms] [children: 14.2%] [unaccounted: 3.34%]
21:34:50: | | flush - [9.85%] [avg time: 0.059 ms]
21:34:50: | | CopyResource - [4.17%] [avg time: 0.025 ms]
21:34:50: | | conversion to 4:2:0 - [0.167%] [avg time: 0.001 ms]
21:34:50: Convert444Threads - [100%] [avg time: 0.187 ms] [children: 98.9%] [unaccounted: 1.07%]
21:34:50: | Convert444toNV12 - [98.9%] [avg time: 0.185 ms]
21:34:50: encoder thread frame - [100%] [avg time: 0.439 ms] [children: 3.19%] [unaccounted: 96.8%]
21:34:50: | sending stuff out - [3.19%] [avg time: 0.014 ms]
21:34:50: ==============================================================
21:34:50:
21:34:50:
21:34:50: Profiler CPU results:
21:34:50:
21:34:50: ==============================================================
21:34:50: video thread frame - [cpu time: avg 0.049 ms, total 17082.1 ms] [avg calls per frame: 1]
21:34:50: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:34:50: | GPU download and conversion - [cpu time: avg 0.017 ms, total 5896.84 ms] [avg calls per frame: 1]
21:34:50: | | flush - [cpu time: avg 0.01 ms, total 3463.22 ms] [avg calls per frame: 1]
21:34:50: | | CopyResource - [cpu time: avg 0.002 ms, total 904.807 ms] [avg calls per frame: 1]
21:34:50: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 124.8 ms] [avg calls per frame: 1]
21:34:50: Convert444Threads - [cpu time: avg 0.173 ms, total 119076 ms] [avg calls per frame: 2]
21:34:50: | Convert444toNV12 - [cpu time: avg 0.172 ms, total 118561 ms] [avg calls per frame: 2]
21:34:50: encoder thread frame - [cpu time: avg 0.008 ms, total 3073.22 ms] [avg calls per frame: 1]
21:34:50: | sending stuff out - [cpu time: avg 0 ms, total 265.202 ms] [avg calls per frame: 1]
21:34:50: ==============================================================
21:34:50:
21:34:50: =====Stream End: 2014-02-23, 21:34:50=================================================
21:35:01: =====Stream Start: 2014-02-23, 21:35:01===============================================
21:35:01: Multithreaded optimizations: On
21:35:01: Base resolution: 852x480
21:35:01: Output resolution: 852x480
21:35:01: ------------------------------------------
21:35:01: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
21:35:01: ------------------------------------------
21:35:01: Audio Format: 48000hz
21:35:01: Playback device Default
21:35:01: ------------------------------------------
21:35:01: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:35:01: Using 5.1 speaker setup
21:35:01: ------------------------------------------
21:35:01: Using auxilary audio input: Microphone (Realtek High Definition Audio)
21:35:01: ------------------------------------------
21:35:01: Audio Encoding: AAC
21:35:01: bitrate: 128
21:35:01: Using graphics capture
21:35:01: Scene buffering time set to 700
21:35:01: ------------------------------------------
21:35:01: Video Encoding: x264
21:35:01: fps: 60
21:35:01: width: 852, height: 480
21:35:01: preset: veryfast
21:35:01: profile: main
21:35:01: keyint: 120
21:35:01: CBR: yes
21:35:01: CFR: no
21:35:01: max bitrate: 2500
21:35:01: buffer size: 2500
21:35:01: ------------------------------------------
21:35:01: SharedTexCapture hooked
21:35:03: Using RTMP service: Twitch / Justin.tv
21:35:03: Server selection: rtmp://live-dfw.justin.tv/app
21:35:03: Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
21:35:03: Completed handshake with rtmp://live-dfw.justin.tv/app in 153 ms.
21:35:03: SO_SNDBUF was at 8192
21:35:03: SO_SNDBUF is now 65536
21:35:07: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 2316 / 335872)
21:35:32: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 335872)
22:08:21: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 80
23:15:52: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 90
23:49:38: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 100
00:23:24: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 110
00:42:35: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:42:35: New Scene
00:42:35: Using text output
00:42:35: Using bitmap image
00:42:38: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:42:38: New Scene
00:42:38: Using graphics capture
00:42:38: SharedTexCapture hooked
01:30:55: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 120
02:07:22: Total frames encoded: 980389, total frames duplicated: 41 (0.00%)
02:07:22: Total frames rendered: 980395, number of late frames: 2 (0.00%) (it's okay for some frames to be late)
02:07:22: RTMPPublisher::SocketLoop: Graceful loop exit
02:07:22: Average send payload: 5865 bytes, average send interval: 17 ms
02:07:22: Number of times waited to send: 0, Waited for a total of 0 bytes
02:07:22: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
02:07:22: Number of bytes sent: 5387405375
02:07:22:
02:07:22: Profiler time results:
02:07:22:
02:07:22: ==============================================================
02:07:22: video thread frame - [100%] [avg time: 0.601 ms] [children: 18.8%] [unaccounted: 81.2%]
02:07:22: | scene->Preprocess - [0.166%] [avg time: 0.001 ms]
02:07:22: | GPU download and conversion - [18.6%] [avg time: 0.112 ms] [children: 15.3%] [unaccounted: 3.33%]
02:07:22: | | flush - [10.1%] [avg time: 0.061 ms]
02:07:22: | | CopyResource - [4.83%] [avg time: 0.029 ms]
02:07:22: | | conversion to 4:2:0 - [0.333%] [avg time: 0.002 ms]
02:07:22: Convert444Threads - [100%] [avg time: 0.189 ms] [children: 98.9%] [unaccounted: 1.06%]
02:07:22: | Convert444toNV12 - [98.9%] [avg time: 0.187 ms]
02:07:22: encoder thread frame - [100%] [avg time: 0.446 ms] [children: 4.04%] [unaccounted: 96%]
02:07:22: | sending stuff out - [4.04%] [avg time: 0.018 ms]
02:07:22: ==============================================================
02:07:22:
02:07:22:
02:07:22: Profiler CPU results:
02:07:22:
02:07:22: ==============================================================
02:07:22: video thread frame - [cpu time: avg 0.051 ms, total 50715.9 ms] [avg calls per frame: 1]
02:07:22: | scene->Preprocess - [cpu time: avg 0 ms, total 31.2 ms] [avg calls per frame: 1]
02:07:22: | GPU download and conversion - [cpu time: avg 0.023 ms, total 23072.5 ms] [avg calls per frame: 1]
02:07:22: | | flush - [cpu time: avg 0.013 ms, total 13416.1 ms] [avg calls per frame: 1]
02:07:22: | | CopyResource - [cpu time: avg 0.003 ms, total 3697.22 ms] [avg calls per frame: 1]
02:07:22: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 811.205 ms] [avg calls per frame: 1]
02:07:22: Convert444Threads - [cpu time: avg 0.174 ms, total 341705 ms] [avg calls per frame: 2]
02:07:22: | Convert444toNV12 - [cpu time: avg 0.173 ms, total 340301 ms] [avg calls per frame: 2]
02:07:22: encoder thread frame - [cpu time: avg 0.008 ms, total 8080.85 ms] [avg calls per frame: 1]
02:07:22: | sending stuff out - [cpu time: avg 0 ms, total 655.204 ms] [avg calls per frame: 1]
02:07:22: ==============================================================
02:07:22:
02:07:22: =====Stream End: 2014-02-24, 02:07:22=================================================