Question / Help Stream Issue, Blockiness

superglucose

New Member
I'm having a weird blockiness issue that I don't quite understand. On a small scale, about once a second, the screen will suddenly become just a hair blockier than normal and slowly go back to normal. It's barely noticeable but it drives me nuts and I'm sure the people trying to watch it don't appreciate it either. Any help would be nice!
 

superglucose

New Member
Code:
21:04:54: Open Broadcaster Software v0.624b - 64bit ( ^ω^)
21:04:54: -------------------------------
21:04:54: CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
21:04:54: CPU Speed: 3492MHz
21:04:54: Physical Memory:  16365MB Total, 10037MB Free
21:04:54: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
21:04:54: monitor 1: pos={0, 0}, size={1920, 1080}
21:04:54: monitor 2: pos={-1920, 0}, size={1920, 1080}
21:04:54: Windows Version: 6.1 Build 7601 S
21:04:54: Aero is Disabled
21:04:54: -------------------------------
21:04:54: OBS Modules:
21:04:54: Base Address     Module
21:04:54: 000000003F3C0000 OBS.exe
21:04:54: 00000000E5090000 OBSApi.dll
21:04:54: 00000000F50E0000 DShowPlugin.dll
21:04:54: 00000000F8A40000 GraphicsCapture.dll
21:04:54: 00000000F8440000 NoiseGate.dll
21:04:54: 00000000F7210000 PSVPlugin.dll
21:04:54: ------------------------------------------
21:04:54: Adapter 1
21:04:54:   Video Adapter: AMD Radeon HD 6700 Series
21:04:54:   Video Adapter Dedicated Video Memory: 1053655040
21:04:54:   Video Adapter Shared System Memory: 4016846848
21:04:54:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:04:54:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
21:04:54: =====Stream Start: 2014-05-25, 21:04:54===============================================
21:04:54:   Multithreaded optimizations: On
21:04:54:   Base resolution: 1920x1080
21:04:54:   Output resolution: 1280x720
21:04:54: ------------------------------------------
21:04:54: Loading up D3D10 on AMD Radeon HD 6700 Series (Adapter 1)...
21:04:54: ------------------------------------------
21:04:54: Audio Format: 48000 Hz
21:04:54: ------------------------------------------
21:04:54: Audio Channels: 2 Ch
21:04:54: Playback device Default
21:04:54: ------------------------------------------
21:04:54: Using desktop audio input: Speakers (5- Logitech USB Headset)
21:04:54: Global Audio time adjust: 0
21:04:54: ------------------------------------------
21:04:54: Audio Encoding: AAC
21:04:54:     bitrate: 320
21:04:54: Using Monitor Capture
21:04:54: Scene buffering time set to 700
21:04:54: ------------------------------------------
21:04:54: Video Encoding: x264
21:04:54:     fps: 30
21:04:54:     width: 1280, height: 720
21:04:54:     preset: veryfast
21:04:54:     profile: main
21:04:54:     keyint: 60
21:04:54:     CBR: no
21:04:54:     CFR: yes
21:04:54:     max bitrate: 300
21:04:54:     buffer size: 300
21:04:54:     quality: 6
21:04:54: ------------------------------------------
21:04:56: Using RTMP service: Twitch / Justin.tv
21:04:56:   Server selection: rtmp://live.justin.tv/app
21:04:57:   Interface: NETGEAR WNA1100 N150 Wireless USB Adapter (802.11, 65 mbps)
21:04:57: Completed handshake with rtmp://live.justin.tv/app in 84 ms.
21:04:57: SO_SNDBUF was at 8192
21:04:57: SO_SNDBUF is now 65536
00:18:16: Total frames encoded: 348032, total frames duplicated: 16242 (4.67%)
00:18:16: Total frames rendered: 348034, number of late frames: 1 (0.00%) (it's okay for some frames to be late)
00:18:16: RTMPPublisher::SocketLoop: Graceful loop exit
00:18:16: Average send payload: 1093 bytes, average send interval: 32 ms
00:18:16: Number of times waited to send: 0, Waited for a total of 0 bytes
00:18:16: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:18:16: Number of bytes sent: 392631348
00:18:16: 
00:18:16: Profiler time results:
00:18:16: 
00:18:16: ==============================================================
00:18:16: video thread frame - [100%] [avg time: 6.74 ms] [children: 82.6%] [unaccounted: 17.4%]
00:18:16: | scene->Preprocess - [77.3%] [avg time: 5.211 ms]
00:18:16: | GPU download and conversion - [5.33%] [avg time: 0.359 ms] [children: 5.12%] [unaccounted: 0.208%]
00:18:16: | | flush - [4.96%] [avg time: 0.334 ms]
00:18:16: | | CopyResource - [0.134%] [avg time: 0.009 ms]
00:18:16: | | conversion to 4:2:0 - [0.0297%] [avg time: 0.002 ms]
00:18:16: Convert444Threads - [100%] [avg time: 0.457 ms] [children: 99.3%] [unaccounted: 0.656%]
00:18:16: | Convert444toNV12 - [99.3%] [avg time: 0.454 ms]
00:18:16: encoder thread frame - [100%] [avg time: 0.861 ms] [children: 1.74%] [unaccounted: 98.3%]
00:18:16: | sending stuff out - [1.74%] [avg time: 0.015 ms]
00:18:16: ==============================================================
00:18:16: 
00:18:16: 
00:18:16: Profiler CPU results:
00:18:16: 
00:18:16: ==============================================================
00:18:16: video thread frame - [cpu time: avg 3.686 ms, total 1.28303e+006 ms] [avg calls per frame: 1]
00:18:16: | scene->Preprocess - [cpu time: avg 2.955 ms, total 1.02856e+006 ms] [avg calls per frame: 1]
00:18:16: | GPU download and conversion - [cpu time: avg 0.055 ms, total 19156.9 ms] [avg calls per frame: 1]
00:18:16: | | flush - [cpu time: avg 0.026 ms, total 9188.45 ms] [avg calls per frame: 1]
00:18:16: | | CopyResource - [cpu time: avg 0.012 ms, total 4383.62 ms] [avg calls per frame: 1]
00:18:16: | | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 1279.21 ms] [avg calls per frame: 1]
00:18:16: Convert444Threads - [cpu time: avg 0.466 ms, total 325013 ms] [avg calls per frame: 2]
00:18:16: | Convert444toNV12 - [cpu time: avg 0.465 ms, total 323749 ms] [avg calls per frame: 2]
00:18:16: encoder thread frame - [cpu time: avg 0.083 ms, total 29078.6 ms] [avg calls per frame: 1]
00:18:16: | sending stuff out - [cpu time: avg 0.006 ms, total 2308.82 ms] [avg calls per frame: 1]
00:18:16: ==============================================================
00:18:16: 
00:18:16: =====Stream End: 2014-05-26, 00:18:16=================================================


Last game capture log:
2013-12-19, 18:35:02: we're booting up: 
18:35:02: CaptureThread: attached to process LolClient.exe
18:35:02: D3D9 Present
18:35:02: (half life scientist) everything..  seems to be in order
18:35:02: D3D9EndScene called
18:35:02: D3DPRESENT_PARAMETERS {
18:35:02:     BackBufferWidth: 16
18:35:02:     BackBufferHeight: 16
18:35:02:     BackBufferFormat: D3DFMT_X8R8G8B8
18:35:02:     BackBufferCount: 1
18:35:02:     MultiSampleType: D3DMULTISAMPLE_NONE
18:35:02:     MultiSampleQuality: 0
18:35:02:     SwapEffect: D3DSWAPEFFECT_COPY
18:35:02:     hDeviceWindow: 394160
18:35:02:     Windowed: true
18:35:02:     EnableAutoDepthStencil: false
18:35:02:     AutoDepthStencilFormat: D3DFMT_UNKNOWN
18:35:02:     Flags: None
18:35:02:     FullScreen_RefreshRateInHz: 0
18:35:02:     PresentationInterval: 0
18:35:02: };
18:35:02: successfully set up d3d9 hooks
18:35:02: D3D9SwapPresent called
18:35:02: DoD3D9GPUHook: success
18:35:02: D3DSURFACE_DESC {
18:35:02:     Format: D3DFMT_X8R8G8B8
18:35:02:     Type: D3DRTYPE_SURFACE
18:35:02:     Usage: D3DUSAGE_RENDERTARGET 
18:35:02:     Pool: D3DPOOL_DEFAULT
18:35:02:     MultiSampleType: D3DMULTISAMPLE_NONE
18:35:02:     MultiSampleQuality: 0
18:35:02:     Width: 1280
18:35:02:     Height: 800
18:35:02: };
18:35:02: successfully capturing d3d9 frames via GPU
18:36:23: ---------------------- Cleared D3D9 Capture ----------------------
18:36:24: D3D9EndScene called
18:36:24: D3D9SwapPresent called
19:20:02: D3D9Reset called
19:20:02: ---------------------- Cleared D3D9 Capture ----------------------
19:20:02: D3DPRESENT_PARAMETERS {
19:20:02:     BackBufferWidth: 16
19:20:02:     BackBufferHeight: 16
19:20:02:     BackBufferFormat: D3DFMT_X8R8G8B8
19:20:02:     BackBufferCount: 1
19:20:02:     MultiSampleType: D3DMULTISAMPLE_NONE
19:20:02:     MultiSampleQuality: 0
19:20:02:     SwapEffect: D3DSWAPEFFECT_COPY
19:20:02:     hDeviceWindow: 394160
19:20:02:     Windowed: true
19:20:02:     EnableAutoDepthStencil: false
19:20:02:     AutoDepthStencilFormat: D3DFMT_UNKNOWN
19:20:02:     Flags: None
19:20:02:     FullScreen_RefreshRateInHz: 0
19:20:02:     PresentationInterval: 0
19:20:02: };
19:20:02: successfully set up d3d9 hooks
19:20:02: D3D9EndScene called
19:20:02: D3D9SwapPresent called
19:21:23: D3D9Reset called
19:21:23: ---------------------- Cleared D3D9 Capture ----------------------
19:21:23: successfully set up d3d9 hooks
19:21:23: D3D9EndScene called
19:21:23: D3D9SwapPresent called
12:48:04: D3D9Reset called
12:48:04: ---------------------- Cleared D3D9 Capture ----------------------
12:48:04: successfully set up d3d9 hooks
12:48:04: D3D9EndScene called
12:48:04: D3D9SwapPresent called
13:02:49: D3D9Reset called
13:02:49: ---------------------- Cleared D3D9 Capture ----------------------
13:02:49: successfully set up d3d9 hooks
13:02:49: D3D9EndScene called
13:02:49: D3D9SwapPresent called
13:04:49: D3D9Reset called
13:04:49: ---------------------- Cleared D3D9 Capture ----------------------
13:04:49: failed to get d3d9 swap chain to initialize hooks
 

Sapiens

Forum Moderator
How much upstream bandwidth do you have to work with? 300 Kbps is incredibly low for live streaming, even for something like 360p content. At 720p it's no wonder that it looks terrible, and for that resolution you would probably want to allocate at least five times as much bandwidth.
 

superglucose

New Member
I bumped it to 600 and it seems to be running well according to other people I've checked with. You can close this it's been resolved... that little button where it says "analyze" is a pretty damn nifty feature of this forum. Can you pass my compliments to whomever designed that? That's sweet.
 
Top