Question / Help Twitch optimization,streaming looks like boring kaleidoscope

vexon

New Member
Hi everyone,

TL:dr Made some changes and now my stream looks terrible, did some trouble shooting still no luck . posting logfile after reboot of machine

So as I am sure a lot of you know Twitch has set some standards for streamers and so i decided why not make my stream compliant.

So i toggled the settings and now when i stream kerbal space program its more pixelated then before and is not enjoyable.

i went through some troubleshooting with bit rates and other settings and nothing seems to have worked. So with your help i would love to do what ever it takes to make it look better or at the very least enjoyable.


-vex-
 

vexon

New Member
Re: Twitch optimization,streaming looks like boring kaleidos

http://www.twitch.tv/vexon13/c/2766790 - vid example


log file

Code:
12:00:09: Open Broadcaster Software v0.551b - 32bit (´・ω・`)
12:00:09: -------------------------------
12:00:09: CPU Name: AMD Phenom(tm) II X4 B55 Processor
12:00:09: CPU Speed: 3210MHz
12:00:09: Physical Memory:  4095MB Total, 4095MB Free
12:00:09: stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 3, total cores 3
12:00:09: monitor 1: pos={0, 0}, size={1920, 1080}
12:00:09: monitor 2: pos={1920, 0}, size={1366, 768}
12:00:09: Windows Version: 6.1 Build 7601 S
12:00:09: Aero is Disabled
12:00:09: -------------------------------
12:00:09: OBS Modules:
12:00:09: Base Address     Module
12:00:09: 001B0000         OBS.exe
12:00:09: 5BB50000         OBSApi.dll
12:00:09: 5B450000         DShowPlugin.dll
12:00:09: 5B430000         GraphicsCapture.dll
12:00:09: 5B410000         NoiseGate.dll
12:00:09: 5B3F0000         PSVPlugin.dll
12:00:09: ------------------------------------------
12:00:09: Adapter 1
12:00:09:   Video Adapter: AMD Radeon HD 6700 Series
12:00:09:   Video Adapter Dedicated Video Memory: 1057849344
12:00:09:   Video Adapter Shared System Memory: 3237052416
12:00:09: =====Stream Start: 2013-08-17, 12:00:09===============================================
12:00:09:   Multithreaded optimizations: On
12:00:09:   Base resolution: 1920x1080
12:00:09:   Output resolution: 960x540
12:00:09: ------------------------------------------
12:00:09: Loading up D3D10 on AMD Radeon HD 6700 Series...
12:00:09: Playback device {0.0.0.00000000}.{2f86c6d5-c277-4b1b-b68c-ce97c1131d83}
12:00:09: ------------------------------------------
12:00:09: Using desktop audio input: Speakers (Razer Banshee)
12:00:09: ------------------------------------------
12:00:09: Using auxilary audio input: US-122 A:B (US-122 WDM Interface)
12:00:09: ------------------------------------------
12:00:09: Audio Encoding: AAC
12:00:09:     bitrate: 64
12:00:09: Using Window Capture
12:00:09: Using custom x264 settings: "keyint=X where X is their framerate * 2"
12:00:09: The custom x264 command 'keyint=X' failed
12:00:09: ------------------------------------------
12:00:09: Video Encoding: x264
12:00:09:     fps: 25
12:00:09:     width: 960, height: 540
12:00:09:     preset: veryfast
12:00:09:     CBR: yes
12:00:09:     CFR: no
12:00:09:     max bitrate: 850
12:00:09: ------------------------------------------
12:00:09: MMDeviceAudioSource: Frequency for device 'Speakers (Razer Banshee)' is 352800, samples per sec is 44100
12:00:09: MMDeviceAudioSource: Frequency for device 'US-122 A:B (US-122 WDM Interface)' is 352800, samples per sec is 44100
12:00:11: Using RTMP service: Twitch / Justin.tv
12:00:11:   Server selection: rtmp://live-iad.justin.tv/app
12:00:11:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
12:00:13: SO_SNDBUF was at 8192
12:00:13: SO_SNDBUF is now 65536
12:00:14: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 131072)
12:04:42: Using graphics capture
12:04:45: SharedTexCapture hooked
12:04:52: GraphicsCaptureSource::NewCapture:  eliminating old capture
12:04:52: SharedTexCapture hooked
12:06:31: GraphicsCaptureSource::NewCapture:  eliminating old capture
12:06:31: SharedTexCapture hooked
12:06:51: SharedTexCapture hooked
12:07:00: GraphicsCaptureSource::NewCapture:  eliminating old capture
12:07:00: SharedTexCapture hooked
12:07:04: GraphicsCaptureSource::NewCapture:  eliminating old capture
12:07:04: SharedTexCapture hooked
12:07:06: GraphicsCaptureSource::NewCapture:  eliminating old capture
12:07:06: SharedTexCapture hooked
12:09:44: Total frames rendered: 13997, number of late frames: 372 (2.66%) (it's okay for some frames to be late)
12:09:54: RTMPPublisher::SocketLoop: Graceful loop exit
12:09:56: Number of times waited to send: 457, Waited for a total of 1682702 bytes
12:09:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:09:56: 
12:09:56: Profiler results:
12:09:56: 
12:09:56: ==============================================================
12:09:56: frame - [100%] [avg time: 9.156 ms (cpu time: avg 2.172 ms, total 30404.6 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.131%]
12:09:56: | frame preprocessing and rendering - [56.5%] [avg time: 5.174 ms (cpu time: avg 1.107 ms, total 15506.5 ms)] [avg calls per frame: 1] [children: 43.4%] [unaccounted: 13.1%]
12:09:56: | | scene->Preprocess - [43.4%] [avg time: 3.976 ms (cpu time: avg 0.734 ms, total 10280.5 ms)] [avg calls per frame: 1]
12:09:56: | video encoding and uploading - [43.4%] [avg time: 3.97 ms (cpu time: avg 1.058 ms, total 14820.1 ms)] [avg calls per frame: 1] [children: 25.2%] [unaccounted: 18.2%]
12:09:56: | | flush - [11.7%] [avg time: 1.068 ms (cpu time: avg 0.025 ms, total 358.802 ms)] [avg calls per frame: 1]
12:09:56: | | CopyResource - [0.197%] [avg time: 0.018 ms (cpu time: avg 0.007 ms, total 109.202 ms)] [avg calls per frame: 0]
12:09:56: | | conversion to 4:2:0 - [0.153%] [avg time: 0.014 ms (cpu time: avg 0.005 ms, total 78 ms)] [avg calls per frame: 0]
12:09:56: | | call to encoder - [12.6%] [avg time: 1.154 ms (cpu time: avg 0.97 ms, total 13587.7 ms)] [avg calls per frame: 0]
12:09:56: | | sending stuff out - [0.535%] [avg time: 0.049 ms (cpu time: avg 0.018 ms, total 265.201 ms)] [avg calls per frame: 0]
12:09:56: | Convert444Threads - [447%] [avg time: 40.951 ms (cpu time: avg 0.891 ms, total 12480.1 ms)] [avg calls per frame: 0]
12:09:56: ==============================================================
12:09:56: 
12:09:56: =====Stream End: 2013-08-17, 12:09:56=================================================
12:09:56: =====Stream Start: 2013-08-17, 12:09:56===============================================
12:09:56:   Multithreaded optimizations: On
12:09:56:   Base resolution: 396x351
12:09:56:   Output resolution: 196x174
12:09:56: ------------------------------------------
12:09:56: Loading up D3D10 on AMD Radeon HD 6700 Series...
12:09:56: Playback device {0.0.0.00000000}.{2f86c6d5-c277-4b1b-b68c-ce97c1131d83}
12:09:56: ------------------------------------------
12:09:56: Using desktop audio input: Speakers (Razer Banshee)
12:09:56: ------------------------------------------
12:09:56: Using auxilary audio input: US-122 A:B (US-122 WDM Interface)
12:09:56: ------------------------------------------
12:09:56: Audio Encoding: AAC
12:09:56:     bitrate: 64
12:09:56: Using graphics capture
12:09:56: Using custom x264 settings: "keyint=X where X is their framerate * 2"
12:09:56: The custom x264 command 'keyint=X' failed
12:09:56: ------------------------------------------
12:09:56: Video Encoding: x264
12:09:56:     fps: 25
12:09:56:     width: 196, height: 174
12:09:56:     preset: veryfast
12:09:56:     CBR: yes
12:09:56:     CFR: no
12:09:56:     max bitrate: 850
12:09:56: ------------------------------------------
12:09:56: MMDeviceAudioSource: Frequency for device 'Speakers (Razer Banshee)' is 352800, samples per sec is 44100
12:09:56: MMDeviceAudioSource: Frequency for device 'US-122 A:B (US-122 WDM Interface)' is 352800, samples per sec is 44100
12:09:56: SharedTexCapture hooked
12:09:58: Using RTMP service: Twitch / Justin.tv
12:09:58:   Server selection: rtmp://live-iad.justin.tv/app
12:09:58:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
12:10:00: SO_SNDBUF was at 8192
12:10:00: SO_SNDBUF is now 65536
12:10:08: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 131072)
12:11:47: Total frames rendered: 2745, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
12:11:53: RTMPPublisher::SocketLoop: Graceful loop exit
12:11:56: Number of times waited to send: 68, Waited for a total of 275004 bytes
12:11:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:11:57: 
12:11:57: Profiler results:
12:11:57: 
12:11:57: ==============================================================
12:11:57: frame - [100%] [avg time: 0.938 ms (cpu time: avg 0.545 ms, total 1497.61 ms)] [avg calls per frame: 1] [children: 98.9%] [unaccounted: 1.07%]
12:11:57: | frame preprocessing and rendering - [59.2%] [avg time: 0.555 ms (cpu time: avg 0.244 ms, total 670.805 ms)] [avg calls per frame: 1] [children: 0.213%] [unaccounted: 59%]
12:11:57: | | scene->Preprocess - [0.213%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
12:11:57: | video encoding and uploading - [39.8%] [avg time: 0.373 ms (cpu time: avg 0.289 ms, total 795.606 ms)] [avg calls per frame: 1] [children: 35.8%] [unaccounted: 3.94%]
12:11:57: | | flush - [12.9%] [avg time: 0.121 ms (cpu time: avg 0.022 ms, total 62.4 ms)] [avg calls per frame: 1]
12:11:57: | | CopyResource - [1.17%] [avg time: 0.011 ms (cpu time: avg 0.022 ms, total 62.4 ms)] [avg calls per frame: 0]
12:11:57: | | conversion to 4:2:0 - [0.64%] [avg time: 0.006 ms (cpu time: avg 0.011 ms, total 31.2 ms)] [avg calls per frame: 0]
12:11:57: | | call to encoder - [19%] [avg time: 0.178 ms (cpu time: avg 0.176 ms, total 483.604 ms)] [avg calls per frame: 0]
12:11:57: | | sending stuff out - [2.13%] [avg time: 0.02 ms (cpu time: avg 0.028 ms, total 78.001 ms)] [avg calls per frame: 0]
12:11:57: | Convert444Threads - [4.24e+003%] [avg time: 39.794 ms (cpu time: avg 0.079 ms, total 218.401 ms)] [avg calls per frame: 0]
12:11:57: ==============================================================
12:11:57: 
12:11:57: =====Stream End: 2013-08-17, 12:11:57=================================================


Last game capture log:
2013-08-17, 12:04:42: we're booting up: 
12:04:42: D3D9 Present
12:04:43: NV Capture available
12:04:43: FBO available
12:04:43: GL Present
12:04:43: (half life scientist) everything..  seems to be in order
12:04:45: D3D9EndScene called
12:04:45: D3DPRESENT_PARAMETERS {
12:04:45: 	BackBufferWidth: 1920
12:04:45: 	BackBufferHeight: 1080
12:04:45: 	BackBufferFormat: D3DFMT_A8R8G8B8
12:04:45: 	BackBufferCount: 1
12:04:45: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:04:45: 	MultiSampleQuality: 0
12:04:45: 	SwapEffect: D3DSWAPEFFECT_DISCARD
12:04:45: 	hDeviceWindow: 197444
12:04:45: 	Windowed: false
12:04:45: 	EnableAutoDepthStencil: false
12:04:45: 	AutoDepthStencilFormat: D3DFMT_D24S8
12:04:45: 	Flags: None
12:04:45: 	FullScreen_RefreshRateInHz: 60
12:04:45: 	PresentationInterval: 1
12:04:45: };
12:04:45: successfully set up d3d9 hooks
12:04:45: D3D9Present called
12:04:45: DoD3D9GPUHook: success
12:04:45: D3DSURFACE_DESC {
12:04:45: 	Format: D3DFMT_A8R8G8B8
12:04:45: 	Type: D3DRTYPE_SURFACE
12:04:45: 	Usage: D3DUSAGE_RENDERTARGET 
12:04:45: 	Pool: D3DPOOL_DEFAULT
12:04:45: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:04:45: 	MultiSampleQuality: 0
12:04:45: 	Width: 1920
12:04:45: 	Height: 1080
12:04:45: };
12:04:45: successfully capturing d3d9 frames via GPU
12:04:52: D3D9Reset called
12:04:52: ---------------------- Cleared D3D9 Capture ----------------------
12:04:52: failed to get d3d9 swap chain to initialize hooks
12:04:52: D3D9Reset called
12:04:52: ---------------------- Cleared D3D9 Capture ----------------------
12:04:52: successfully set up d3d9 hooks
12:04:52: D3D9EndScene called
12:04:52: D3D9Present called
12:04:52: DoD3D9GPUHook: success
12:04:52: D3DSURFACE_DESC {
12:04:52: 	Format: D3DFMT_A8R8G8B8
12:04:52: 	Type: D3DRTYPE_SURFACE
12:04:52: 	Usage: D3DUSAGE_RENDERTARGET 
12:04:52: 	Pool: D3DPOOL_DEFAULT
12:04:52: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:04:52: 	MultiSampleQuality: 0
12:04:52: 	Width: 1920
12:04:52: 	Height: 1080
12:04:52: };
12:04:52: successfully capturing d3d9 frames via GPU
12:06:31: D3D9Reset called
12:06:31: ---------------------- Cleared D3D9 Capture ----------------------
12:06:31: successfully set up d3d9 hooks
12:06:31: D3D9EndScene called
12:06:31: D3D9Present called
12:06:31: DoD3D9GPUHook: success
12:06:31: D3DSURFACE_DESC {
12:06:31: 	Format: D3DFMT_A8R8G8B8
12:06:31: 	Type: D3DRTYPE_SURFACE
12:06:31: 	Usage: D3DUSAGE_RENDERTARGET 
12:06:31: 	Pool: D3DPOOL_DEFAULT
12:06:31: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:06:31: 	MultiSampleQuality: 0
12:06:31: 	Width: 1920
12:06:31: 	Height: 1080
12:06:31: };
12:06:31: successfully capturing d3d9 frames via GPU
12:06:51: D3D9Reset called
12:06:51: ---------------------- Cleared D3D9 Capture ----------------------
12:06:51: failed to get d3d9 swap chain to initialize hooks
12:06:51: D3D9Reset called
12:06:51: ---------------------- Cleared D3D9 Capture ----------------------
12:06:51: successfully set up d3d9 hooks
12:06:51: D3D9EndScene called
12:06:51: D3D9Present called
12:06:51: ---------------------- Cleared D3D9 Capture ----------------------
12:06:51: received restart event, capturing
12:06:51: DoD3D9GPUHook: success
12:06:51: D3D9EndScene called
12:06:51: D3D9Present called
12:06:51: D3DSURFACE_DESC {
12:06:51: 	Format: D3DFMT_A8R8G8B8
12:06:51: 	Type: D3DRTYPE_SURFACE
12:06:51: 	Usage: D3DUSAGE_RENDERTARGET 
12:06:51: 	Pool: D3DPOOL_DEFAULT
12:06:51: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:06:51: 	MultiSampleQuality: 0
12:06:51: 	Width: 1920
12:06:51: 	Height: 1080
12:06:51: };
12:06:51: successfully capturing d3d9 frames via GPU
12:07:00: D3D9Reset called
12:07:00: ---------------------- Cleared D3D9 Capture ----------------------
12:07:00: failed to get d3d9 swap chain to initialize hooks
12:07:00: D3D9Reset called
12:07:00: ---------------------- Cleared D3D9 Capture ----------------------
12:07:00: successfully set up d3d9 hooks
12:07:00: D3D9EndScene called
12:07:00: D3D9Present called
12:07:00: DoD3D9GPUHook: success
12:07:00: D3DSURFACE_DESC {
12:07:00: 	Format: D3DFMT_A8R8G8B8
12:07:00: 	Type: D3DRTYPE_SURFACE
12:07:00: 	Usage: D3DUSAGE_RENDERTARGET 
12:07:00: 	Pool: D3DPOOL_DEFAULT
12:07:00: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:07:00: 	MultiSampleQuality: 0
12:07:00: 	Width: 1920
12:07:00: 	Height: 1080
12:07:00: };
12:07:00: successfully capturing d3d9 frames via GPU
12:07:04: D3D9Reset called
12:07:04: ---------------------- Cleared D3D9 Capture ----------------------
12:07:04: successfully set up d3d9 hooks
12:07:04: D3D9EndScene called
12:07:04: D3D9Present called
12:07:04: DoD3D9GPUHook: success
12:07:04: D3DSURFACE_DESC {
12:07:04: 	Format: D3DFMT_A8R8G8B8
12:07:04: 	Type: D3DRTYPE_SURFACE
12:07:04: 	Usage: D3DUSAGE_RENDERTARGET 
12:07:04: 	Pool: D3DPOOL_DEFAULT
12:07:04: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:07:04: 	MultiSampleQuality: 0
12:07:04: 	Width: 1920
12:07:04: 	Height: 1080
12:07:04: };
12:07:04: successfully capturing d3d9 frames via GPU
12:07:05: D3D9Reset called
12:07:05: ---------------------- Cleared D3D9 Capture ----------------------
12:07:05: successfully set up d3d9 hooks
12:07:06: D3D9EndScene called
12:07:06: D3D9Present called
12:07:06: DoD3D9GPUHook: success
12:07:06: D3DSURFACE_DESC {
12:07:06: 	Format: D3DFMT_A8R8G8B8
12:07:06: 	Type: D3DRTYPE_SURFACE
12:07:06: 	Usage: D3DUSAGE_RENDERTARGET 
12:07:06: 	Pool: D3DPOOL_DEFAULT
12:07:06: 	MultiSampleType: D3DMULTISAMPLE_2_SAMPLES
12:07:06: 	MultiSampleQuality: 0
12:07:06: 	Width: 1920
12:07:06: 	Height: 1080
12:07:06: };
12:07:06: successfully capturing d3d9 frames via GPU
12:09:47: ---------------------- Cleared D3D9 Capture ----------------------
12:09:47: received restart event, capturing
12:09:47: DoD3D9GPUHook: success

(Jim: code tags are nice btw)
 

alpinlol

Active Member
Re: Twitch optimization,streaming looks like boring kaleidos

what did you suspect to get out of this resolution and bitrate?
 

vexon

New Member
Re: Twitch optimization,streaming looks like boring kaleidos

the down scaled resolution should be much lower then ?

i was messing with the different resolutions and did not seem to be getting results will test out lower ones now.
 

vexon

New Member
Re: Twitch optimization,streaming looks like boring kaleidos

alpinlol said:
what did you suspect to get out of this resolution and bitrate?

i only have 1mbps up - so i know i have serious limitations but i would setting for something that is not so grainy even at a lower resolution and frame rate .

but im having hard time optimizing for it.

i think there are somethings im not understanding .

am i so limited by my upload rate?
 

alpinlol

Active Member
Re: Twitch optimization,streaming looks like boring kaleidos

but viewers are bitches.... as soon as you dont have 720p they bitch if you dont have 1080p they also bitch about it ... so you have to be partnered in the opinion of the viewers no matter what. since your upload is so freaking horrible you are doomed because they dont like to watch something like 480p'ish just to get any watchable content instead of pixels only
 

XeiZ

Member
Re: Twitch optimization,streaming looks like boring kaleidos

12:00:09: Using custom x264 settings: "keyint=X where X is their framerate * 2"
12:00:09: The custom x264 command 'keyint=X' failed

You might think about what you copy and pasted there. BUT it doesnt matter anyway since the newest version has this option as a field under advanced now, just set it to 2.
 

vexon

New Member
Re: Twitch optimization,streaming looks like boring kaleidos

XeiZ said:
12:00:09: Using custom x264 settings: "keyint=X where X is their framerate * 2"
12:00:09: The custom x264 command 'keyint=X' failed

You might think about what you copy and pasted there. BUT it doesnt matter anyway since the newest version has this option as a field under advanced now, just set it to 2.

I was looking up my ISP it looks like i cant get a free jump to 3mbps/up so hopefully i can rock that better. and i will change that error thingy
 
Top