Question / Help Grainy Stream, not sure what else to try.

k4ywalsk

New Member
I've been trying a few different things to get rid of the grainy video I get when streaming, but am at my wit's end. I have a pretty powerful PC, and a decent connection so my expectations are high, it seems that when things are moving quickly in-game, that's when I get that grainy video.

LOG:
Code:
21:29:58: Open Broadcaster Software v0.591b - 64bit ( ^ω^)
21:29:58: -------------------------------
21:29:58: CPU Name: Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
21:29:58: CPU Speed: 3399MHz
21:29:58: Physical Memory:  8142MB Total, 5589MB Free
21:29:58: stepping id: 4, model 62, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 12, total cores 6
21:29:58: monitor 1: pos={0, 0}, size={1920, 1080}
21:29:58: monitor 2: pos={1920, 0}, size={1280, 1024}
21:29:58: Windows Version: 6.1 Build 7601 S
21:29:58: Aero is Disabled
21:29:58: -------------------------------
21:29:58: OBS Modules:
21:29:58: Base Address     Module
21:29:58: 000000003FD40000 OBS.exe
21:29:58: 00000000E4AB0000 OBSApi.dll
21:29:58: 00000000F7D80000 DShowPlugin.dll
21:29:58: 00000000F7D50000 GraphicsCapture.dll
21:29:58: 00000000F7C60000 NoiseGate.dll
21:29:58: 00000000F7C40000 PSVPlugin.dll
21:29:58: ------------------------------------------
21:29:58: Adapter 1
21:29:58:   Video Adapter: AMD Radeon HD 7900 Series
21:29:58:   Video Adapter Dedicated Video Memory: 3202392064
21:29:58:   Video Adapter Shared System Memory: 4000583680
21:29:58:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:29:58:   Video Adapter Output 2: pos={1920, 0}, size={1280, 1024}, attached=true
21:29:58: =====Stream Start: 2013-12-20, 21:29:58===============================================
21:29:58:   Multithreaded optimizations: On
21:29:58:   Base resolution: 1920x1080
21:29:58:   Output resolution: 1920x1080
21:29:58: ------------------------------------------
21:29:58: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
21:29:58: ------------------------------------------
21:29:58: Audio Format: 48000hz
21:29:58: Playback device Default
21:29:58: ------------------------------------------
21:29:58: Using desktop audio input: Speakers (USB Multi-Channel Audio Device)
21:29:58: Using 7.1 surround speaker setup
21:29:58: ------------------------------------------
21:29:58: Using auxilary audio input: Microphone (Yeti Stereo Microphone)
21:29:58: ------------------------------------------
21:29:58: Audio Encoding: AAC
21:29:58:     bitrate: 128
21:29:58: Using graphics capture
21:29:58: Scene buffering time set to 700
21:29:58: ------------------------------------------
21:29:58: Video Encoding: x264
21:29:58:     fps: 30
21:29:58:     width: 1920, height: 1080
21:29:58:     preset: faster
21:29:58:     profile: main
21:29:58:     keyint: 60
21:29:58:     CBR: yes
21:29:58:     CFR: yes
21:29:58:     max bitrate: 3500
21:29:58:     buffer size: 3500
21:29:58: ------------------------------------------
21:29:58: MMDeviceAudioSource: Frequency for device 'Speakers (USB Multi-Channel Audio Device)' is 1411200, samples per sec is 44100
21:29:58: MMDeviceAudioSource: Frequency for device 'Microphone (Yeti Stereo Microphone)' is 384000, samples per sec is 48000
21:31:40: Total frames encoded: 3034, total frames duplicated: 0 (0.00%)
21:31:40: Total frames rendered: 3038, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
21:31:40: 
21:31:40: Profiler time results:
21:31:40: 
21:31:40: ==============================================================
21:31:40: video thread frame - [100%] [avg time: 0.459 ms] [children: 32.2%] [unaccounted: 67.8%]
21:31:40: | scene->Preprocess - [0.218%] [avg time: 0.001 ms]
21:31:40: | GPU download and conversion - [32%] [avg time: 0.147 ms] [children: 29.8%] [unaccounted: 2.18%]
21:31:40: | | flush - [27.2%] [avg time: 0.125 ms]
21:31:40: | | CopyResource - [1.96%] [avg time: 0.009 ms]
21:31:40: | | conversion to 4:2:0 - [0.654%] [avg time: 0.003 ms]
21:31:40: Convert444Threads - [100%] [avg time: 0.7 ms] [children: 99.4%] [unaccounted: 0.571%]
21:31:40: | Convert444toNV12 - [99.4%] [avg time: 0.696 ms]
21:31:40: encoder thread frame - [100%] [avg time: 2.231 ms]
21:31:40: ==============================================================
21:31:40: 
21:31:40: 
21:31:40: Profiler CPU results:
21:31:40: 
21:31:40: ==============================================================
21:31:40: video thread frame - [cpu time: avg 0.02 ms, total 62.4 ms] [avg calls per frame: 1]
21:31:40: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:31:40: | GPU download and conversion - [cpu time: avg 0.01 ms, total 31.2 ms] [avg calls per frame: 1]
21:31:40: | | flush - [cpu time: avg 0.01 ms, total 31.2 ms] [avg calls per frame: 1]
21:31:40: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:31:40: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:31:40: Convert444Threads - [cpu time: avg 0.807 ms, total 9734.46 ms] [avg calls per frame: 4]
21:31:40: | Convert444toNV12 - [cpu time: avg 0.794 ms, total 9578.46 ms] [avg calls per frame: 4]
21:31:40: encoder thread frame - [cpu time: avg 1.698 ms, total 5116.83 ms] [avg calls per frame: 1]
21:31:40: ==============================================================
21:31:40: 
21:31:40: =====Stream End: 2013-12-20, 21:31:40=================================================
21:33:29: =====Stream Start: 2013-12-20, 21:33:29===============================================
21:33:29:   Multithreaded optimizations: On
21:33:29:   Base resolution: 1920x1080
21:33:29:   Output resolution: 1920x1080
21:33:29: ------------------------------------------
21:33:29: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
21:33:29: ------------------------------------------
21:33:29: Audio Format: 48000hz
21:33:29: Playback device Default
21:33:29: ------------------------------------------
21:33:29: Using desktop audio input: Speakers (USB Multi-Channel Audio Device)
21:33:29: Using 7.1 surround speaker setup
21:33:29: ------------------------------------------
21:33:29: Using auxilary audio input: Microphone (Yeti Stereo Microphone)
21:33:29: ------------------------------------------
21:33:29: Audio Encoding: AAC
21:33:29:     bitrate: 128
21:33:29: Using graphics capture
21:33:29: Scene buffering time set to 700
21:33:29: ------------------------------------------
21:33:29: Video Encoding: x264
21:33:29:     fps: 30
21:33:29:     width: 1920, height: 1080
21:33:29:     preset: faster
21:33:29:     profile: main
21:33:29:     keyint: 60
21:33:29:     CBR: yes
21:33:29:     CFR: yes
21:33:29:     max bitrate: 3500
21:33:29:     buffer size: 3500
21:33:29: ------------------------------------------
21:33:29: MMDeviceAudioSource: Frequency for device 'Speakers (USB Multi-Channel Audio Device)' is 1411200, samples per sec is 44100
21:33:29: MMDeviceAudioSource: Frequency for device 'Microphone (Yeti Stereo Microphone)' is 384000, samples per sec is 48000
21:33:32: Using RTMP service: Twitch / Justin.tv
21:33:32:   Server selection: rtmp://live-ord.justin.tv/app
21:33:33:   Interface: Broadcom NetLink (TM) Gigabit Ethernet (ethernet, 1000 mbps)
21:33:33: Completed handshake with rtmp://live-ord.justin.tv/app in 185 ms.
21:33:34: SO_SNDBUF was at 8192
21:33:34: SO_SNDBUF is now 65536
21:33:55: Total frames encoded: 734, total frames duplicated: 0 (0.00%)
21:33:55: Total frames rendered: 739, number of late frames: 1 (0.14%) (it's okay for some frames to be late)
21:33:55: RTMPPublisher::SocketLoop: Graceful loop exit
21:33:55: Average send payload: 9076 bytes, average send interval: 20 ms
21:33:55: Number of times waited to send: 0, Waited for a total of 0 bytes
21:33:55: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:33:55: Number of bytes sent: 9122156
21:33:55: 
21:33:55: Profiler time results:
21:33:55: 
21:33:55: ==============================================================
21:33:55: video thread frame - [100%] [avg time: 0.529 ms] [children: 31.2%] [unaccounted: 68.8%]
21:33:55: | scene->Preprocess - [0.189%] [avg time: 0.001 ms]
21:33:55: | GPU download and conversion - [31%] [avg time: 0.164 ms] [children: 25.7%] [unaccounted: 5.29%]
21:33:55: | | flush - [23.4%] [avg time: 0.124 ms]
21:33:55: | | CopyResource - [1.7%] [avg time: 0.009 ms]
21:33:55: | | conversion to 4:2:0 - [0.567%] [avg time: 0.003 ms]
21:33:55: Convert444Threads - [100%] [avg time: 0.736 ms] [children: 99.5%] [unaccounted: 0.543%]
21:33:55: | Convert444toNV12 - [99.5%] [avg time: 0.732 ms]
21:33:55: encoder thread frame - [100%] [avg time: 2.463 ms]
21:33:55: ==============================================================
21:33:55: 
21:33:55: 
21:33:55: Profiler CPU results:
21:33:55: 
21:33:55: ==============================================================
21:33:55: video thread frame - [cpu time: avg 0.042 ms, total 31.2 ms] [avg calls per frame: 1]
21:33:55: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:33:55: | GPU download and conversion - [cpu time: avg 0.021 ms, total 15.6 ms] [avg calls per frame: 1]
21:33:55: | | flush - [cpu time: avg 0.021 ms, total 15.6 ms] [avg calls per frame: 1]
21:33:55: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:33:55: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:33:55: Convert444Threads - [cpu time: avg 0.928 ms, total 2652.02 ms] [avg calls per frame: 4]
21:33:55: | Convert444toNV12 - [cpu time: avg 0.917 ms, total 2620.82 ms] [avg calls per frame: 4]
21:33:55: encoder thread frame - [cpu time: avg 2.034 ms, total 1450.81 ms] [avg calls per frame: 1]
21:33:55: ==============================================================
21:33:55: 
21:33:55: =====Stream End: 2013-12-20, 21:33:55=================================================
21:34:51: =====Stream Start: 2013-12-20, 21:34:51===============================================
21:34:51:   Multithreaded optimizations: On
21:34:51:   Base resolution: 1920x1080
21:34:51:   Output resolution: 1920x1080
21:34:51: ------------------------------------------
21:34:51: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
21:34:51: ------------------------------------------
21:34:51: Audio Format: 48000hz
21:34:51: Playback device Default
21:34:51: ------------------------------------------
21:34:51: Using desktop audio input: Speakers (USB Multi-Channel Audio Device)
21:34:51: Using 7.1 surround speaker setup
21:34:51: ------------------------------------------
21:34:51: Using auxilary audio input: Microphone (Yeti Stereo Microphone)
21:34:51: ------------------------------------------
21:34:51: Audio Encoding: AAC
21:34:51:     bitrate: 128
21:34:51: Using graphics capture
21:34:51: Scene buffering time set to 700
21:34:51: ------------------------------------------
21:34:51: Video Encoding: x264
21:34:51:     fps: 30
21:34:51:     width: 1920, height: 1080
21:34:51:     preset: faster
21:34:51:     profile: main
21:34:51:     keyint: 60
21:34:51:     CBR: yes
21:34:51:     CFR: yes
21:34:51:     max bitrate: 3500
21:34:51:     buffer size: 3500
21:34:51: ------------------------------------------
21:34:51: MMDeviceAudioSource: Frequency for device 'Speakers (USB Multi-Channel Audio Device)' is 1411200, samples per sec is 44100
21:34:51: MMDeviceAudioSource: Frequency for device 'Microphone (Yeti Stereo Microphone)' is 384000, samples per sec is 48000
21:34:51: SharedTexCapture hooked
21:34:54: Using RTMP service: Twitch / Justin.tv
21:34:54:   Server selection: rtmp://live-ord.justin.tv/app
21:34:54:   Interface: Broadcom NetLink (TM) Gigabit Ethernet (ethernet, 1000 mbps)
21:34:54: Completed handshake with rtmp://live-ord.justin.tv/app in 185 ms.
21:34:55: SO_SNDBUF was at 8192
21:34:55: SO_SNDBUF is now 65536
21:34:57: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 108125 / 463872)
21:34:57: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 124790 / 463872)
21:49:40: Total frames encoded: 26637, total frames duplicated: 0 (0.00%)
21:49:40: Total frames rendered: 26642, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
21:49:40: RTMPPublisher::SocketLoop: Graceful loop exit
21:49:40: Average send payload: 9357 bytes, average send interval: 20 ms
21:49:40: Number of times waited to send: 0, Waited for a total of 0 bytes
21:49:40: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:49:40: Number of bytes sent: 401600562
21:49:40: 
21:49:40: Profiler time results:
21:49:40: 
21:49:40: ==============================================================
21:49:40: video thread frame - [100%] [avg time: 0.397 ms] [children: 28.7%] [unaccounted: 71.3%]
21:49:40: | scene->Preprocess - [0.252%] [avg time: 0.001 ms]
21:49:40: | GPU download and conversion - [28.5%] [avg time: 0.113 ms] [children: 24.9%] [unaccounted: 3.53%]
21:49:40: | | flush - [22.4%] [avg time: 0.089 ms]
21:49:40: | | CopyResource - [1.76%] [avg time: 0.007 ms]
21:49:40: | | conversion to 4:2:0 - [0.756%] [avg time: 0.003 ms]
21:49:40: Convert444Threads - [100%] [avg time: 0.658 ms] [children: 99.4%] [unaccounted: 0.608%]
21:49:40: | Convert444toNV12 - [99.4%] [avg time: 0.654 ms]
21:49:40: encoder thread frame - [100%] [avg time: 1.62 ms]
21:49:40: ==============================================================
21:49:40: 
21:49:40: 
21:49:40: Profiler CPU results:
21:49:40: 
21:49:40: ==============================================================
21:49:40: video thread frame - [cpu time: avg 0.009 ms, total 249.6 ms] [avg calls per frame: 1]
21:49:40: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:49:40: | GPU download and conversion - [cpu time: avg 0.008 ms, total 234 ms] [avg calls per frame: 1]
21:49:40: | | flush - [cpu time: avg 0.008 ms, total 218.4 ms] [avg calls per frame: 1]
21:49:40: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:49:40: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
21:49:40: Convert444Threads - [cpu time: avg 0.429 ms, total 45755.1 ms] [avg calls per frame: 4]
21:49:40: | Convert444toNV12 - [cpu time: avg 0.422 ms, total 44959.5 ms] [avg calls per frame: 4]
21:49:40: encoder thread frame - [cpu time: avg 1.013 ms, total 26988.2 ms] [avg calls per frame: 1]
21:49:40: ==============================================================
21:49:40: 
21:49:40: =====Stream End: 2013-12-20, 21:49:40=================================================

Speedtest: http://www.speedtest.net/my-result/3178484565 (note, my up is usually 10, not sure what's going on tonight)

And finally, the quality I'm currently getting: http://www.twitch.tv/k4ywalsk/b/489035090


Any help or suggestions would be greatly appreciated, thanks in advance!
 

dodgepong

Administrator
Community Helper
DayZ is particularly bad for streaming, due ti its high-motion nature, especially with the grass. I recommend downscaling to 720p rather than use 1080p, so that your bit rate can be uses to improve the quality of lower-resolution frames rather than be spread out over high resolution frames.
 

k4ywalsk

New Member
dodgepong said:
DayZ is particularly bad for streaming, due ti its high-motion nature, especially with the grass. I recommend downscaling to 720p rather than use 1080p, so that your bit rate can be uses to improve the quality of lower-resolution frames rather than be spread out over high resolution frames.



I'll give that a try and report back, thanks.


EDIT:

http://www.twitch.tv/k4ywalsk/b/489077010 It's not grainy anymore, so that's a step in the right direction, but it's not exactly crystal clear either.
 

alpinlol

Active Member
thats what you pay for going down ... at some point there isnt much to do anymore you already got to this point thats what you get for liveencoding
 

k4ywalsk

New Member
So you're telling me there's nothing I can do about it now? I see a lot of streams that are so clear it looks like I could be playing the game myself. Are those people using capture cards, then?

EDIT: What about perhaps 60FPS? I would assume that if you're not getting 60FPS in-game that streaming it wouldn't help either, there are certain points in DayZ where the FPS is pretty low due to no client optimizations yet (still in alpha) how would streaming @60FPS work in those cases?
 
Top