Question / Help Help with streaming

Skyliine

New Member
Hello, i have a lot of problems because of my internet, i would like to stream but the quality looks so bad on twitch, my internet speed is 5.05 Mb/s Download and 0.61 Mb/s Upload, if you could give me any good settings so i can stream without my gameplay looking al blurry and pixelated that would be awesome, i normaly have 80-90 ping when i play LoL, but when i stream i have lag spikes up to 600, i wouldnt mind playing with like 200 but well if you could give me any advice or solution
 

Sapiens

Forum Moderator
0.6 Mbps is very low, your stream is never going to look super great with that kind of limitation. However, there still may be things to adjust that can help improve the quality. Post a log file so we can see what settings you're using - viewtopic.php?f=5&t=97
 

Skyliine

New Member
Code:
13:41:22: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
13:41:22: -------------------------------
13:41:22: CPU Name: AMD FX(tm)-6100 Six-Core Processor
13:41:22: CPU Speed: 3314MHz
13:41:22: Physical Memory:  4095MB Total, 4095MB Free
13:41:22: stepping id: 2, model 1, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 6, total cores 6
13:41:22: monitor 1: pos={0, 0}, size={1366, 768}
13:41:22: Windows Version: 6.1 Build 7601 S
13:41:22: Aero is Enabled
13:41:22: -------------------------------
13:41:22: OBS Modules:
13:41:22: Base Address     Module
13:41:22: 000E0000         OBS.exe
13:41:22: 5E740000         OBSApi.dll
13:41:22: 6F330000         DShowPlugin.dll
13:41:22: 6F310000         GraphicsCapture.dll
13:41:22: 6F2D0000         NoiseGate.dll
13:41:22: 6F2B0000         PSVPlugin.dll
13:41:22: ------------------------------------------
13:41:22: Adapter 1
13:41:22:   Video Adapter: NVIDIA GeForce GTX 650
13:41:22:   Video Adapter Dedicated Video Memory: 2087387136
13:41:22:   Video Adapter Shared System Memory: 2147807232
13:41:22:   Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
13:41:22: Using fixed low latency mode, factor 20
13:41:22: =====Stream Start: 2014-01-18, 13:41:22===============================================
13:41:22:   Multithreaded optimizations: On
13:41:22:   Base resolution: 1366x768
13:41:22:   Output resolution: 908x512
13:41:22: ------------------------------------------
13:41:22: Loading up D3D10 on NVIDIA GeForce GTX 650 (Adapter 1)...
13:41:22: ------------------------------------------
13:41:22: Audio Format: 48000hz
13:41:22: Playback device {0.0.0.00000000}.{6299aee3-7c08-436f-b57a-62e62a0db138}
13:41:22: ------------------------------------------
13:41:22: Using desktop audio input: Altavoces (2- VIA High Definition Audio)
13:41:22: ------------------------------------------
13:41:22: Audio Encoding: AAC
13:41:22:     bitrate: 128
13:41:22: Using Monitor Capture
13:41:22: Scene buffering time set to 400
13:41:22: ------------------------------------------
13:41:22: Video Encoding: x264
13:41:22:     fps: 30
13:41:22:     width: 908, height: 512
13:41:22:     preset: veryfast
13:41:22:     profile: main
13:41:22:     keyint: 60
13:41:22:     CBR: yes
13:41:22:     CFR: yes
13:41:22:     max bitrate: 400
13:41:22:     buffer size: 400
13:41:22: ------------------------------------------
13:41:22: MMDeviceAudioSource: Frequency for device 'Altavoces (2- VIA High Definition Audio)' is 352800, samples per sec is 44100
13:41:24: Using RTMP service: Twitch / Justin.tv
13:41:24:   Server selection: rtmp://live.justin.tv/app
13:41:24:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
13:41:24: Completed handshake with rtmp://live.justin.tv/app in 301 ms.
13:41:25: SO_SNDBUF was at 8192
13:41:25: SO_SNDBUF is now 65536
13:42:42: Settings::Encoding: Changing bitrate from 400kb/s to 218kb/s
13:43:19: Settings::Video: Enabling Aero
13:44:07: Total frames encoded: 4923, total frames duplicated: 901 (18.30%)
13:44:07: Total frames rendered: 4064, number of late frames: 864 (21.26%) (it's okay for some frames to be late)
13:44:07: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10038
13:44:07: Average send payload: 1967 bytes, average send interval: 50 ms
13:44:07: Number of times waited to send: 0, Waited for a total of 0 bytes
13:44:07: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
13:44:07: Number of bytes sent: 6326761
13:44:07: 
13:44:07: Profiler time results:
13:44:07: 
13:44:07: ==============================================================
13:44:07: video thread frame - [100%] [avg time: 38.797 ms] [children: 98.4%] [unaccounted: 1.56%]
13:44:07: | scene->Preprocess - [98%] [avg time: 38.025 ms]
13:44:07: | GPU download and conversion - [0.425%] [avg time: 0.165 ms] [children: 0.34%] [unaccounted: 0.0851%]
13:44:07: | | flush - [0.235%] [avg time: 0.091 ms]
13:44:07: | | CopyResource - [0.0644%] [avg time: 0.025 ms]
13:44:07: | | conversion to 4:2:0 - [0.0412%] [avg time: 0.016 ms]
13:44:07: Convert444Threads - [100%] [avg time: 0.237 ms] [children: 94.5%] [unaccounted: 5.49%]
13:44:07: | Convert444toNV12 - [94.5%] [avg time: 0.224 ms]
13:44:07: encoder thread frame - [100%] [avg time: 0.735 ms]
13:44:07: ==============================================================
13:44:07: 
13:44:07: 
13:44:07: Profiler CPU results:
13:44:07: 
13:44:07: ==============================================================
13:44:07: video thread frame - [cpu time: avg 4.959 ms, total 20155.3 ms] [avg calls per frame: 1]
13:44:07: | scene->Preprocess - [cpu time: avg 4.31 ms, total 17518.9 ms] [avg calls per frame: 1]
13:44:07: | GPU download and conversion - [cpu time: avg 0.08 ms, total 327.601 ms] [avg calls per frame: 1]
13:44:07: | | flush - [cpu time: avg 0.061 ms, total 249.6 ms] [avg calls per frame: 1]
13:44:07: | | CopyResource - [cpu time: avg 0.007 ms, total 31.201 ms] [avg calls per frame: 1]
13:44:07: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 31.2 ms] [avg calls per frame: 1]
13:44:07: Convert444Threads - [cpu time: avg 0.185 ms, total 3010.82 ms] [avg calls per frame: 4]
13:44:07: | Convert444toNV12 - [cpu time: avg 0.182 ms, total 2964.02 ms] [avg calls per frame: 4]
13:44:07: encoder thread frame - [cpu time: avg 0.041 ms, total 202.801 ms] [avg calls per frame: 1]
13:44:07: ==============================================================
13:44:07: 
13:44:07: =====Stream End: 2014-01-18, 13:44:07=================================================
13:48:58: Settings::Video: Enabling Aero
13:49:00: Using fixed low latency mode, factor 20
13:49:00: =====Stream Start: 2014-01-18, 13:49:00===============================================
13:49:00:   Multithreaded optimizations: On
13:49:00:   Base resolution: 1366x768
13:49:00:   Output resolution: 680x384
13:49:00: ------------------------------------------
13:49:00: Loading up D3D10 on NVIDIA GeForce GTX 650 (Adapter 1)...
13:49:01: ------------------------------------------
13:49:01: Audio Format: 48000hz
13:49:01: Playback device {0.0.1.00000000}.{b5417a4f-a1a1-496d-bb7a-daaedfcba2e2}
13:49:01: ------------------------------------------
13:49:01: Using desktop audio input: Micrófono (2- VIA High Definition Audio)
13:49:01: ------------------------------------------
13:49:01: Using auxilary audio input: Micrófono (2- VIA High Definition Audio)
13:49:01: ------------------------------------------
13:49:01: Audio Encoding: AAC
13:49:01:     bitrate: 128
13:49:01: Using Monitor Capture
13:49:01: Scene buffering time set to 400
13:49:01: ------------------------------------------
13:49:01: Video Encoding: x264
13:49:01:     fps: 30
13:49:01:     width: 680, height: 384
13:49:01:     preset: veryfast
13:49:01:     profile: main
13:49:01:     keyint: 60
13:49:01:     CBR: yes
13:49:01:     CFR: yes
13:49:01:     max bitrate: 218
13:49:01:     buffer size: 218
13:49:01: ------------------------------------------
13:49:01: MMDeviceAudioSource: Frequency for device 'Micrófono (2- VIA High Definition Audio)' is 384000, samples per sec is 48000
13:49:01: MMDeviceAudioSource: Frequency for device 'Micrófono (2- VIA High Definition Audio)' is 384000, samples per sec is 48000
13:49:02: Using RTMP service: Twitch / Justin.tv
13:49:02:   Server selection: rtmp://live.justin.tv/app
13:49:02:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
13:49:03: Completed handshake with rtmp://live.justin.tv/app in 315 ms.
13:49:04: SO_SNDBUF was at 8192
13:49:04: SO_SNDBUF is now 65536
13:49:37: Settings::Video: Enabling Aero
13:50:13: Total frames encoded: 2147, total frames duplicated: 290 (13.51%)
13:50:13: Total frames rendered: 1882, number of late frames: 272 (14.45%) (it's okay for some frames to be late)
13:50:13: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10038
13:50:13: Average send payload: 2205 bytes, average send interval: 50 ms
13:50:13: Number of times waited to send: 0, Waited for a total of 0 bytes
13:50:13: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
13:50:13: Number of bytes sent: 3008921
13:50:13: 
13:50:13: Profiler time results:
13:50:13: 
13:50:13: ==============================================================
13:50:13: video thread frame - [100%] [avg time: 37.029 ms] [children: 97.7%] [unaccounted: 2.29%]
13:50:13: | scene->Preprocess - [97.4%] [avg time: 36.072 ms]
13:50:13: | GPU download and conversion - [0.294%] [avg time: 0.109 ms] [children: 0.227%] [unaccounted: 0.0675%]
13:50:13: | | flush - [0.13%] [avg time: 0.048 ms]
13:50:13: | | CopyResource - [0.0621%] [avg time: 0.023 ms]
13:50:13: | | conversion to 4:2:0 - [0.0351%] [avg time: 0.013 ms]
13:50:13: Convert444Threads - [100%] [avg time: 0.135 ms] [children: 93.3%] [unaccounted: 6.67%]
13:50:13: | Convert444toNV12 - [93.3%] [avg time: 0.126 ms]
13:50:13: encoder thread frame - [100%] [avg time: 0.498 ms]
13:50:13: ==============================================================
13:50:13: 
13:50:13: 
13:50:13: Profiler CPU results:
13:50:13: 
13:50:13: ==============================================================
13:50:13: video thread frame - [cpu time: avg 4.956 ms, total 9328.86 ms] [avg calls per frame: 1]
13:50:13: | scene->Preprocess - [cpu time: avg 4.119 ms, total 7753.25 ms] [avg calls per frame: 1]
13:50:13: | GPU download and conversion - [cpu time: avg 0.041 ms, total 78 ms] [avg calls per frame: 1]
13:50:13: | | flush - [cpu time: avg 0.016 ms, total 31.2 ms] [avg calls per frame: 1]
13:50:13: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:50:13: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:50:13: Convert444Threads - [cpu time: avg 0.081 ms, total 608.402 ms] [avg calls per frame: 4]
13:50:13: | Convert444toNV12 - [cpu time: avg 0.079 ms, total 592.802 ms] [avg calls per frame: 4]
13:50:13: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:50:13: ==============================================================
13:50:13: 
13:50:13: =====Stream End: 2014-01-18, 13:50:13=================================================
14:12:44: Using fixed low latency mode, factor 20
14:12:44: =====Stream Start: 2014-01-18, 14:12:44===============================================
14:12:44:   Multithreaded optimizations: On
14:12:44:   Base resolution: 1366x768
14:12:44:   Output resolution: 1092x614
14:12:44: ------------------------------------------
14:12:44: Loading up D3D10 on NVIDIA GeForce GTX 650 (Adapter 1)...
14:12:45: ------------------------------------------
14:12:45: Audio Format: 48000hz
14:12:45: Playback device {0.0.1.00000000}.{b5417a4f-a1a1-496d-bb7a-daaedfcba2e2}
14:12:45: ------------------------------------------
14:12:45: Using desktop audio input: Micrófono (2- VIA High Definition Audio)
14:12:45: ------------------------------------------
14:12:45: Using auxilary audio input: Micrófono (2- VIA High Definition Audio)
14:12:45: ------------------------------------------
14:12:45: Audio Encoding: AAC
14:12:45:     bitrate: 128
14:12:45: Using Monitor Capture
14:12:45: Scene buffering time set to 400
14:12:45: ------------------------------------------
14:12:45: Video Encoding: x264
14:12:45:     fps: 30
14:12:45:     width: 1092, height: 614
14:12:45:     preset: veryfast
14:12:45:     profile: main
14:12:45:     keyint: 60
14:12:45:     CBR: yes
14:12:45:     CFR: yes
14:12:45:     max bitrate: 218
14:12:45:     buffer size: 218
14:12:45: ------------------------------------------
14:12:45: MMDeviceAudioSource: Frequency for device 'Micrófono (2- VIA High Definition Audio)' is 384000, samples per sec is 48000
14:12:45: MMDeviceAudioSource: Frequency for device 'Micrófono (2- VIA High Definition Audio)' is 384000, samples per sec is 48000
14:12:46: Using RTMP service: Twitch / Justin.tv
14:12:46:   Server selection: rtmp://live-lax.justin.tv/app
14:12:47:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
14:12:47: Completed handshake with rtmp://live-lax.justin.tv/app in 297 ms.
14:12:48: SO_SNDBUF was at 8192
14:12:48: SO_SNDBUF is now 65536
14:15:34: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
14:15:34:   New Scene
14:15:35: Using graphics capture
14:15:53: Using graphics capture
14:15:53: SharedTexCapture hooked
14:18:10: Total frames encoded: 9738, total frames duplicated: 457 (4.69%)
14:18:10: Total frames rendered: 9398, number of late frames: 331 (3.52%) (it's okay for some frames to be late)
14:18:10: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10038
14:18:10: Average send payload: 2207 bytes, average send interval: 50 ms
14:18:10: Number of times waited to send: 0, Waited for a total of 0 bytes
14:18:10: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:18:10: Number of bytes sent: 14180242
14:18:10: 
14:18:10: Profiler time results:
14:18:10: 
14:18:10: ==============================================================
14:18:10: video thread frame - [100%] [avg time: 15.772 ms] [children: 97.2%] [unaccounted: 2.82%]
14:18:10: | scene->Preprocess - [95.9%] [avg time: 15.125 ms]
14:18:10: | GPU download and conversion - [1.29%] [avg time: 0.203 ms] [children: 0.78%] [unaccounted: 0.507%]
14:18:10: | | flush - [0.564%] [avg time: 0.089 ms]
14:18:10: | | CopyResource - [0.133%] [avg time: 0.021 ms]
14:18:10: | | conversion to 4:2:0 - [0.0824%] [avg time: 0.013 ms]
14:18:10: Convert444Threads - [100%] [avg time: 0.344 ms] [children: 96.5%] [unaccounted: 3.49%]
14:18:10: | Convert444toNV12 - [96.5%] [avg time: 0.332 ms]
14:18:10: encoder thread frame - [100%] [avg time: 1.032 ms]
14:18:10: ==============================================================
14:18:10: 
14:18:10: 
14:18:10: Profiler CPU results:
14:18:10: 
14:18:10: ==============================================================
14:18:10: video thread frame - [cpu time: avg 2.322 ms, total 21824.5 ms] [avg calls per frame: 1]
14:18:10: | scene->Preprocess - [cpu time: avg 2.035 ms, total 19125.7 ms] [avg calls per frame: 1]
14:18:10: | GPU download and conversion - [cpu time: avg 0.059 ms, total 561.607 ms] [avg calls per frame: 1]
14:18:10: | | flush - [cpu time: avg 0.026 ms, total 249.604 ms] [avg calls per frame: 1]
14:18:10: | | CopyResource - [cpu time: avg 0.019 ms, total 187.2 ms] [avg calls per frame: 1]
14:18:10: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 15.6 ms] [avg calls per frame: 1]
14:18:10: Convert444Threads - [cpu time: avg 0.174 ms, total 6552.04 ms] [avg calls per frame: 4]
14:18:10: | Convert444toNV12 - [cpu time: avg 0.172 ms, total 6489.64 ms] [avg calls per frame: 4]
14:18:10: encoder thread frame - [cpu time: avg 0.554 ms, total 5397.64 ms] [avg calls per frame: 1]
14:18:10: ==============================================================
14:18:10: 
14:18:10: =====Stream End: 2014-01-18, 14:18:10=================================================


Last game capture log:
2014-01-18, 14:15:53: we're booting up: 
14:15:53: CaptureThread: attached to process NFS13.exe
14:15:53: DXGI Present
14:15:53: (half life scientist) everything..  seems to be in order
14:15:53: DXGI: Found D3D 11
14:15:53: setting up d3d11 data
14:15:53: ---------------------- Cleared D3D11 Capture ----------------------
14:15:53: found dxgi format (dx11) of: 28, size: {1366, 768}, multisampled: false
14:15:53: DoD3D11Hook: success
14:15:53: successfully capturing d3d11 frames via GPU
14:18:10: stop requested, terminating d3d11 capture
14:18:10: ---------------------- Cleared D3D11 Capture ----------------------
 

Sapiens

Forum Moderator
1 - Stop using monitor capture, it's the worst capture method in Windows 7. Use window capture (with Aero enabled) or game capture instead.

2 - You'll need to downscale further or your stream is going to be a blurry mess at 400 Kbps. Experiment to find out what looks acceptable to you, but I'd start at around 2.00 (682x384) and go from there.

3 - Because your streaming resolution is pretty low, using more compression won't impact your CPU as much. Try changing from veryfast to fast, or maybe even medium. Again you'll need to experiment to verify that game performance is still acceptable, and if it isn't then take the preset back a notch and try again.
 
Top