I am having issues getting even lower bitrate quality (bandwidth/upstream is not an issue) to stream smoothly to twitch. Any ideas from my logfile as to what could be the problem?
Here is an example of a recent stream that was particularly bad: http://www.twitch.tv/drew13btv/b/479507855
Yes I am aware my CPU is a significant bottleneck. But I am not even trying for 720p/30FPS here. I just want a decent smooth stream.
Here is an example of a recent stream that was particularly bad: http://www.twitch.tv/drew13btv/b/479507855
Yes I am aware my CPU is a significant bottleneck. But I am not even trying for 720p/30FPS here. I just want a decent smooth stream.
Code:
20:56:00: Open Broadcaster Software v0.583b - 32bit (´・ω・`)
20:56:00: -------------------------------
20:56:00: CPU Name: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
20:56:00: CPU Speed: 3056MHz
20:56:00: Physical Memory: 4095MB Total, 4095MB Free
20:56:00: stepping id: 6, model 23, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 2, total cores 2
20:56:00: monitor 1: pos={1680, 74}, size={1920, 1080}
20:56:00: monitor 2: pos={0, 0}, size={1680, 1050}
20:56:00: Windows Version: 6.2 Build 9200
20:56:00: Aero is Enabled
20:56:00: -------------------------------
20:56:00: OBS Modules:
20:56:00: Base Address Module
20:56:00: 00940000 OBS.exe
20:56:00: 735C0000 OBSApi.dll
20:56:00: 72E90000 DShowPlugin.dll
20:56:00: 72E70000 GraphicsCapture.dll
20:56:00: 72E50000 NoiseGate.dll
20:56:00: 72E30000 PSVPlugin.dll
20:56:00: ------------------------------------------
20:56:00: Adapter 1
20:56:00: Video Adapter: NVIDIA GeForce GTX 660 Ti
20:56:00: Video Adapter Dedicated Video Memory: 2086273024
20:56:00: Video Adapter Shared System Memory: 2147807232
20:56:00: Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
20:56:00: Video Adapter Output 2: pos={1680, 74}, size={1920, 1080}, attached=true
20:56:00: =====Stream Start: 2013-11-13, 20:56:00===============================================
20:56:00: Multithreaded optimizations: On
20:56:00: Base resolution: 1280x720
20:56:00: Output resolution: 1024x576
20:56:00: ------------------------------------------
20:56:00: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti...
20:56:01: ------------------------------------------
20:56:01: Audio Format: 48000hz
20:56:01: Playback device Default
20:56:01: ------------------------------------------
20:56:01: Using desktop audio input: Speakers (High Definition Audio Device)
20:56:01: ------------------------------------------
20:56:01: Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
20:56:01: ------------------------------------------
20:56:01: Audio Encoding: AAC
20:56:01: bitrate: 128
20:56:01: Using graphics capture
20:56:01: Scene buffering time set to 400
20:56:01: ------------------------------------------
20:56:01: Video Encoding: x264
20:56:01: fps: 30
20:56:01: width: 1024, height: 576
20:56:01: preset: veryfast
20:56:01: profile: main
20:56:01: keyint: 60
20:56:01: CBR: yes
20:56:01: CFR: no
20:56:01: max bitrate: 2200
20:56:01: buffer size: 2200
20:56:01: ------------------------------------------
20:56:01: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 768000, samples per sec is 96000
20:56:01: MMDeviceAudioSource: Frequency for device 'Digital Audio (S/PDIF) (High Definition Audio Device)' is 352800, samples per sec is 44100
20:56:01: SharedTexCapture hooked
20:56:03: Using RTMP service: Twitch / Justin.tv
20:56:03: Server selection: rtmp://live-iad.justin.tv/app
20:56:03: Interface: NVIDIA nForce Networking Controller (ethernet, 1000 mbps)
20:56:03: Completed handshake with rtmp://live-iad.justin.tv/app in 219 ms.
20:56:04: SO_SNDBUF was at 65536
20:56:04: SO_SNDBUF is now 65536
20:56:05: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 297984)
20:56:09: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 297984)
20:56:39: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 297984)
21:00:24: Total frames encoded: 7866, total frames duplicated: 43 (0.55%)
21:00:24: Number of frames skipped due to encoder lag: 4 (0.05%)
21:00:24: Total frames rendered: 7865, number of late frames: 10 (0.13%) (it's okay for some frames to be late)
21:00:24: RTMPPublisher::SocketLoop: Graceful loop exit
21:00:24: Average send payload: 4840 bytes, average send interval: 17 ms
21:00:24: Number of times waited to send: 0, Waited for a total of 0 bytes
21:00:24: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:00:24: Number of bytes sent: 72487328
21:00:24:
21:00:24: Profiler time results:
21:00:24:
21:00:24: ==============================================================
21:00:24: video thread frame - [100%] [avg time: 0.644 ms] [children: 60.2%] [unaccounted: 39.8%]
21:00:24: | scene->Preprocess - [0.311%] [avg time: 0.002 ms]
21:00:24: | GPU download and conversion - [59.9%] [avg time: 0.386 ms] [children: 54%] [unaccounted: 5.9%]
21:00:24: | | flush - [50.8%] [avg time: 0.327 ms]
21:00:24: | | CopyResource - [2.8%] [avg time: 0.018 ms]
21:00:24: | | conversion to 4:2:0 - [0.466%] [avg time: 0.003 ms]
21:00:24: Convert444Thread - [100%] [avg time: 2.475 ms] [children: 99.5%] [unaccounted: 0.485%]
21:00:24: | Convert444toNV12 - [99.5%] [avg time: 2.463 ms]
21:00:24: encoder thread frame - [100%] [avg time: 3.144 ms]
21:00:24: ==============================================================
21:00:24:
21:00:24:
21:00:24: Profiler CPU results:
21:00:24:
21:00:24: ==============================================================
21:00:24: video thread frame - [cpu time: avg 0.188 ms, total 1484.38 ms] [avg calls per frame: 1]
21:00:24: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:00:24: | GPU download and conversion - [cpu time: avg 0.119 ms, total 937.5 ms] [avg calls per frame: 1]
21:00:24: | | flush - [cpu time: avg 0.113 ms, total 890.625 ms] [avg calls per frame: 1]
21:00:24: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:00:24: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 15.625 ms] [avg calls per frame: 1]
21:00:24: Convert444Thread - [cpu time: avg 2.422 ms, total 19015.6 ms] [avg calls per frame: 1]
21:00:24: | Convert444toNV12 - [cpu time: avg 2.418 ms, total 18984.4 ms] [avg calls per frame: 1]
21:00:24: encoder thread frame - [cpu time: avg 1.878 ms, total 14750 ms] [avg calls per frame: 1]
21:00:24: ==============================================================
21:00:24:
21:00:24: =====Stream End: 2013-11-13, 21:00:24=================================================
21:00:34: =====Stream Start: 2013-11-13, 21:00:34===============================================
21:00:34: Multithreaded optimizations: On
21:00:34: Base resolution: 1280x720
21:00:34: Output resolution: 1024x576
21:00:34: ------------------------------------------
21:00:34: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti...
21:00:34: ------------------------------------------
21:00:34: Audio Format: 48000hz
21:00:34: Playback device {0.0.0.00000000}.{acf53ea4-8a85-482d-88ef-67f5742a614a}
21:00:34: ------------------------------------------
21:00:34: Using desktop audio input: Speakers (High Definition Audio Device)
21:00:34: ------------------------------------------
21:00:34: Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
21:00:34: ------------------------------------------
21:00:34: Audio Encoding: AAC
21:00:34: bitrate: 128
21:00:34: Using graphics capture
21:00:34: Scene buffering time set to 400
21:00:34: ------------------------------------------
21:00:34: Video Encoding: x264
21:00:34: fps: 30
21:00:34: width: 1024, height: 576
21:00:34: preset: veryfast
21:00:34: profile: main
21:00:34: keyint: 60
21:00:34: CBR: yes
21:00:34: CFR: no
21:00:34: max bitrate: 2200
21:00:34: buffer size: 2200
21:00:34: ------------------------------------------
21:00:34: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 768000, samples per sec is 96000
21:00:34: MMDeviceAudioSource: Frequency for device 'Digital Audio (S/PDIF) (High Definition Audio Device)' is 352800, samples per sec is 44100
21:00:34: SharedTexCapture hooked
21:00:36: Using RTMP service: Twitch / Justin.tv
21:00:36: Server selection: rtmp://live-iad.justin.tv/app
21:00:36: Interface: NVIDIA nForce Networking Controller (ethernet, 1000 mbps)
21:00:36: Completed handshake with rtmp://live-iad.justin.tv/app in 219 ms.
21:00:37: SO_SNDBUF was at 65536
21:00:37: SO_SNDBUF is now 65536
21:00:38: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 39100 / 297984)
21:00:40: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 297984)
21:29:27: Capture window 0x000302E6 invalid or changing, terminating capture
21:29:30: Total frames encoded: 52045, total frames duplicated: 26 (0.05%)
21:29:30: Total frames rendered: 52048, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
21:29:30: RTMPPublisher::SocketLoop: Graceful loop exit
21:29:30: Average send payload: 5721 bytes, average send interval: 19 ms
21:29:30: Number of times waited to send: 0, Waited for a total of 0 bytes
21:29:30: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:29:30: Number of bytes sent: 500126264
21:29:30:
21:29:30: Profiler time results:
21:29:30:
21:29:30: ==============================================================
21:29:30: video thread frame - [100%] [avg time: 0.481 ms] [children: 57%] [unaccounted: 43%]
21:29:30: | scene->Preprocess - [0.208%] [avg time: 0.001 ms]
21:29:30: | GPU download and conversion - [56.8%] [avg time: 0.273 ms] [children: 51.4%] [unaccounted: 5.41%]
21:29:30: | | flush - [48.6%] [avg time: 0.234 ms]
21:29:30: | | CopyResource - [2.29%] [avg time: 0.011 ms]
21:29:30: | | conversion to 4:2:0 - [0.416%] [avg time: 0.002 ms]
21:29:30: Convert444Thread - [100%] [avg time: 2.028 ms] [children: 99.6%] [unaccounted: 0.394%]
21:29:30: | Convert444toNV12 - [99.6%] [avg time: 2.02 ms]
21:29:30: encoder thread frame - [100%] [avg time: 1.915 ms]
21:29:30: ==============================================================
21:29:30:
21:29:30:
21:29:30: Profiler CPU results:
21:29:30:
21:29:30: ==============================================================
21:29:30: video thread frame - [cpu time: avg 0.129 ms, total 6765.63 ms] [avg calls per frame: 1]
21:29:30: | scene->Preprocess - [cpu time: avg 0 ms, total 15.625 ms] [avg calls per frame: 1]
21:29:30: | GPU download and conversion - [cpu time: avg 0.094 ms, total 4937.5 ms] [avg calls per frame: 1]
21:29:30: | | flush - [cpu time: avg 0.09 ms, total 4718.75 ms] [avg calls per frame: 1]
21:29:30: | | CopyResource - [cpu time: avg 0.003 ms, total 156.25 ms] [avg calls per frame: 1]
21:29:30: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 31.25 ms] [avg calls per frame: 1]
21:29:30: Convert444Thread - [cpu time: avg 1.855 ms, total 96546.9 ms] [avg calls per frame: 1]
21:29:30: | Convert444toNV12 - [cpu time: avg 1.853 ms, total 96421.9 ms] [avg calls per frame: 1]
21:29:30: encoder thread frame - [cpu time: avg 1.352 ms, total 70375 ms] [avg calls per frame: 1]
21:29:30: ==============================================================
21:29:30:
21:29:30: =====Stream End: 2013-11-13, 21:29:30=================================================