John Davis
New Member
I'm new to streaming and was basically following a few tutorials on how to set up my elgato and obs for streaming on twitch. I'm experiencing audio skips and delays and have tried countless times to get these two programs to work together. I'm at a loss and now turn to you guys for some more experienced help. When I opened up task manager during my stream, my cpu was sitting around 40% I'm not seeing any stress on my PC. My video is smooth and looks great. I'm just having audio problems.
Here is my log file
12:01:07: =====Stream Start: 2015-03-14, 12:01:07===============================================
12:01:07: Multithreaded optimizations: On
12:01:07: Base resolution: 1280x720
12:01:07: Output resolution: 1280x720
12:01:07: ------------------------------------------
12:01:07: Loading up D3D10 on NVIDIA GeForce GTX 550 Ti (Adapter 1)...
12:01:07: ------------------------------------------
12:01:07: Audio Format: 48000 Hz
12:01:07: ------------------------------------------
12:01:07: Audio Channels: 2 Ch
12:01:07: Playback device Default
12:01:07: ------------------------------------------
12:01:07: Using desktop audio input: Speakers (Realtek High Definition Audio)
12:01:07: Global Audio time adjust: 1500
12:01:07: ------------------------------------------
12:01:07: Audio Encoding: AAC
12:01:07: bitrate: 128
12:01:08: ------------------------------------------
12:01:08: device: Elgato Game Capture HD,
12:01:08: device id {39F50F4C-99E1-464A-B6F9-D605B4FB5918},
12:01:08: chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 166833-166833
12:01:08: use buffering: true - 0, fourCC: 'UYVY'
12:01:08:
12:01:08: device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
12:01:08: Elgato Game Capture: force buffering with 1 msec
12:01:08: Using directshow input
12:01:08: Scene buffering time set to 1000
12:01:08: ------------------------------------------
12:01:08: Video Encoding: x264
12:01:08: fps: 30
12:01:08: width: 1280, height: 720
12:01:08: preset: veryfast
12:01:08: profile: main
12:01:08: keyint: 60
12:01:08: CBR: yes
12:01:08: CFR: yes
12:01:08: max bitrate: 1500
12:01:08: buffer size: 1500
12:01:08: ------------------------------------------
12:01:08: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
12:01:10: Using RTMP service: Twitch
12:01:10: Server selection: rtmp://live.twitch.tv/app
12:01:10: Interface: Realtek RTL8192CE Wireless LAN 802.11n PCI-E NIC (802.11, 144 mbps)
12:01:11: Completed handshake with rtmp://live.twitch.tv/app in 462 ms.
12:01:11: SO_SNDBUF was at 8192
12:01:11: SO_SNDBUF is now 65536
12:01:12: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 3590 / 207872)
12:01:14: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 207872)
12:02:39: Total frames encoded: 2690, total frames duplicated: 15 (0.56%)
12:02:39: Total frames rendered: 2725, number of late frames: 1 (0.04%) (it's okay for some frames to be late)
12:02:39: ~RTMPPublisher: Packet flush completed in 126 ms
12:02:39: ~RTMPPublisher: Send thread terminated in 0 ms
12:02:39: RTMPPublisher::SocketLoop: Graceful loop exit
12:02:39: ~RTMPPublisher: Socket thread terminated in 0 ms
12:02:39: ~RTMPPublisher: Final socket shutdown completed in 91 ms
12:02:39: Average send payload: 5298 bytes, average send interval: 25 ms
12:02:39: Number of times waited to send: 0, Waited for a total of 0 bytes
12:02:39: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:02:39: Number of bytes sent: 17867339
12:02:43:
12:02:43: Profiler time results:
12:02:43:
12:02:43: ==============================================================
12:02:43: video thread frame - [100%] [avg time: 1.596 ms] [children: 49.6%] [unaccounted: 50.4%]
12:02:43: | scene->Preprocess - [29.6%] [avg time: 0.473 ms]
12:02:43: | GPU download and conversion - [20%] [avg time: 0.319 ms] [children: 18.8%] [unaccounted: 1.19%]
12:02:43: | | flush - [18%] [avg time: 0.288 ms]
12:02:43: | | CopyResource - [0.501%] [avg time: 0.008 ms]
12:02:43: | | conversion to 4:2:0 - [0.251%] [avg time: 0.004 ms]
12:02:43: Convert444Threads - [100%] [avg time: 1.106 ms] [children: 98.7%] [unaccounted: 1.27%]
12:02:43: | Convert444toNV12 - [98.7%] [avg time: 1.092 ms]
12:02:43: encoder thread frame - [100%] [avg time: 1.647 ms] [children: 1.64%] [unaccounted: 98.4%]
12:02:43: | sending stuff out - [1.64%] [avg time: 0.027 ms]
12:02:43: ==============================================================
12:02:43:
12:02:43:
12:02:43: Profiler CPU results:
12:02:43:
12:02:43: ==============================================================
12:02:43: video thread frame - [cpu time: avg 0.87 ms, total 2371.22 ms] [avg calls per frame: 1]
12:02:43: | scene->Preprocess - [cpu time: avg 0.068 ms, total 187.201 ms] [avg calls per frame: 1]
12:02:43: | GPU download and conversion - [cpu time: avg 0.12 ms, total 327.603 ms] [avg calls per frame: 1]
12:02:43: | | flush - [cpu time: avg 0.057 ms, total 156 ms] [avg calls per frame: 1]
12:02:43: | | CopyResource - [cpu time: avg 0.023 ms, total 62.401 ms] [avg calls per frame: 1]
12:02:43: | | conversion to 4:2:0 - [cpu time: avg 0.028 ms, total 78.001 ms] [avg calls per frame: 1]
12:02:43: Convert444Threads - [cpu time: avg 1.072 ms, total 5772.04 ms] [avg calls per frame: 2]
12:02:43: | Convert444toNV12 - [cpu time: avg 1.069 ms, total 5756.44 ms] [avg calls per frame: 2]
12:02:43: encoder thread frame - [cpu time: avg 1.038 ms, total 2792.42 ms] [avg calls per frame: 1]
12:02:43: | sending stuff out - [cpu time: avg 0.011 ms, total 31.2 ms] [avg calls per frame: 1]
12:02:43: ==============================================================
12:02:43:
12:02:43: =====Stream End: 2015-03-14, 12:02:43=================================================
Thanks!
John
Here is my log file
12:01:07: =====Stream Start: 2015-03-14, 12:01:07===============================================
12:01:07: Multithreaded optimizations: On
12:01:07: Base resolution: 1280x720
12:01:07: Output resolution: 1280x720
12:01:07: ------------------------------------------
12:01:07: Loading up D3D10 on NVIDIA GeForce GTX 550 Ti (Adapter 1)...
12:01:07: ------------------------------------------
12:01:07: Audio Format: 48000 Hz
12:01:07: ------------------------------------------
12:01:07: Audio Channels: 2 Ch
12:01:07: Playback device Default
12:01:07: ------------------------------------------
12:01:07: Using desktop audio input: Speakers (Realtek High Definition Audio)
12:01:07: Global Audio time adjust: 1500
12:01:07: ------------------------------------------
12:01:07: Audio Encoding: AAC
12:01:07: bitrate: 128
12:01:08: ------------------------------------------
12:01:08: device: Elgato Game Capture HD,
12:01:08: device id {39F50F4C-99E1-464A-B6F9-D605B4FB5918},
12:01:08: chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 166833-166833
12:01:08: use buffering: true - 0, fourCC: 'UYVY'
12:01:08:
12:01:08: device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
12:01:08: Elgato Game Capture: force buffering with 1 msec
12:01:08: Using directshow input
12:01:08: Scene buffering time set to 1000
12:01:08: ------------------------------------------
12:01:08: Video Encoding: x264
12:01:08: fps: 30
12:01:08: width: 1280, height: 720
12:01:08: preset: veryfast
12:01:08: profile: main
12:01:08: keyint: 60
12:01:08: CBR: yes
12:01:08: CFR: yes
12:01:08: max bitrate: 1500
12:01:08: buffer size: 1500
12:01:08: ------------------------------------------
12:01:08: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
12:01:10: Using RTMP service: Twitch
12:01:10: Server selection: rtmp://live.twitch.tv/app
12:01:10: Interface: Realtek RTL8192CE Wireless LAN 802.11n PCI-E NIC (802.11, 144 mbps)
12:01:11: Completed handshake with rtmp://live.twitch.tv/app in 462 ms.
12:01:11: SO_SNDBUF was at 8192
12:01:11: SO_SNDBUF is now 65536
12:01:12: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 3590 / 207872)
12:01:14: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 207872)
12:02:39: Total frames encoded: 2690, total frames duplicated: 15 (0.56%)
12:02:39: Total frames rendered: 2725, number of late frames: 1 (0.04%) (it's okay for some frames to be late)
12:02:39: ~RTMPPublisher: Packet flush completed in 126 ms
12:02:39: ~RTMPPublisher: Send thread terminated in 0 ms
12:02:39: RTMPPublisher::SocketLoop: Graceful loop exit
12:02:39: ~RTMPPublisher: Socket thread terminated in 0 ms
12:02:39: ~RTMPPublisher: Final socket shutdown completed in 91 ms
12:02:39: Average send payload: 5298 bytes, average send interval: 25 ms
12:02:39: Number of times waited to send: 0, Waited for a total of 0 bytes
12:02:39: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:02:39: Number of bytes sent: 17867339
12:02:43:
12:02:43: Profiler time results:
12:02:43:
12:02:43: ==============================================================
12:02:43: video thread frame - [100%] [avg time: 1.596 ms] [children: 49.6%] [unaccounted: 50.4%]
12:02:43: | scene->Preprocess - [29.6%] [avg time: 0.473 ms]
12:02:43: | GPU download and conversion - [20%] [avg time: 0.319 ms] [children: 18.8%] [unaccounted: 1.19%]
12:02:43: | | flush - [18%] [avg time: 0.288 ms]
12:02:43: | | CopyResource - [0.501%] [avg time: 0.008 ms]
12:02:43: | | conversion to 4:2:0 - [0.251%] [avg time: 0.004 ms]
12:02:43: Convert444Threads - [100%] [avg time: 1.106 ms] [children: 98.7%] [unaccounted: 1.27%]
12:02:43: | Convert444toNV12 - [98.7%] [avg time: 1.092 ms]
12:02:43: encoder thread frame - [100%] [avg time: 1.647 ms] [children: 1.64%] [unaccounted: 98.4%]
12:02:43: | sending stuff out - [1.64%] [avg time: 0.027 ms]
12:02:43: ==============================================================
12:02:43:
12:02:43:
12:02:43: Profiler CPU results:
12:02:43:
12:02:43: ==============================================================
12:02:43: video thread frame - [cpu time: avg 0.87 ms, total 2371.22 ms] [avg calls per frame: 1]
12:02:43: | scene->Preprocess - [cpu time: avg 0.068 ms, total 187.201 ms] [avg calls per frame: 1]
12:02:43: | GPU download and conversion - [cpu time: avg 0.12 ms, total 327.603 ms] [avg calls per frame: 1]
12:02:43: | | flush - [cpu time: avg 0.057 ms, total 156 ms] [avg calls per frame: 1]
12:02:43: | | CopyResource - [cpu time: avg 0.023 ms, total 62.401 ms] [avg calls per frame: 1]
12:02:43: | | conversion to 4:2:0 - [cpu time: avg 0.028 ms, total 78.001 ms] [avg calls per frame: 1]
12:02:43: Convert444Threads - [cpu time: avg 1.072 ms, total 5772.04 ms] [avg calls per frame: 2]
12:02:43: | Convert444toNV12 - [cpu time: avg 1.069 ms, total 5756.44 ms] [avg calls per frame: 2]
12:02:43: encoder thread frame - [cpu time: avg 1.038 ms, total 2792.42 ms] [avg calls per frame: 1]
12:02:43: | sending stuff out - [cpu time: avg 0.011 ms, total 31.2 ms] [avg calls per frame: 1]
12:02:43: ==============================================================
12:02:43:
12:02:43: =====Stream End: 2015-03-14, 12:02:43=================================================
Thanks!
John