Question / Help In-game jitter while streaming

Switchy

New Member
I've been streaming off and on for a fair while using monitor capture with aero off. I decided to try out the Log Analyzer posted here to see if I could make any improvements to my stream quality. When I first ran it I had several "issues". Around 6 or 7 of them. Namely enabling aero and using game capture. I turned aero back on and setup game capture. After starting my stream my FPS (around 150) was appearing to be stable but during movement I got a lot of jittering while FPS (still 150 during jitter) was still "stable".

I do have fairly low upload (2mb according to my ISP, I get around 1.7mb from a 50mb upload test on testmy.net). My in-game ping is fairly stable streaming at 1445 bitrate and the quality is some what passable.

For hardware I'm running an FX-8350 and XFX-7850.

And here's a log file:
Code:
14:58:16: Settings::Video: Enabling Aero
14:58:23: Open Broadcaster Software v0.554b - 32bit (´・ω・`)
14:58:23: -------------------------------
14:58:23: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
14:58:23: CPU Speed: 4334MHz
14:58:23: Physical Memory:  4095MB Total, 2520MB Free
14:58:23: stepping id: 0, model 2, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
14:58:23: monitor 1: pos={0, 0}, size={1920, 1080}
14:58:23: monitor 2: pos={-1360, 249}, size={1360, 768}
14:58:23: Windows Version: 6.1 Build 7601 S
14:58:23: Aero is Enabled
14:58:23: -------------------------------
14:58:23: OBS Modules:
14:58:23: Base Address     Module
14:58:23: 01290000         OBS.exe
14:58:23: 54F40000         OBSApi.dll
14:58:23: 59750000         DShowPlugin.dll
14:58:23: 5E1B0000         GraphicsCapture.dll
14:58:23: 5A0F0000         NoiseGate.dll
14:58:23: 595B0000         PSVPlugin.dll
14:58:23: ------------------------------------------
14:58:23: Adapter 1
14:58:23:   Video Adapter: AMD Radeon HD 7800 Series
14:58:23:   Video Adapter Dedicated Video Memory: 2128793600
14:58:23:   Video Adapter Shared System Memory: 2166108160
14:58:23: Using fixed low latency mode, factor 20
14:58:23: =====Stream Start: 2013-09-24, 14:58:23===============================================
14:58:23:   Multithreaded optimizations: On
14:58:23:   Base resolution: 1920x1080
14:58:23:   Output resolution: 1280x720
14:58:23: ------------------------------------------
14:58:23: Loading up D3D10 on AMD Radeon HD 7800 Series...
14:58:23: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
14:58:23: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
14:58:23: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DownscaleBilinear1YUV.pShader.blob
14:58:23: Playback device Default
14:58:23: ------------------------------------------
14:58:23: Using desktop audio input: Speakers (Logitech G35 Headset)
14:58:23: Using 7.1 surround speaker setup
14:58:23: ------------------------------------------
14:58:23: Using auxilary audio input: Microphone (Logitech G35 Headset)
14:58:23: ------------------------------------------
14:58:23: Audio Encoding: AAC
14:58:23:     bitrate: 80
14:58:23: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
14:58:23: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
14:58:23: Using Monitor Capture
14:58:23: ------------------------------------------
14:58:23: Video Encoding: x264
14:58:23:     fps: 25
14:58:23:     width: 1280, height: 720
14:58:23:     preset: fast
14:58:23:     CBR: yes
14:58:23:     CFR: yes
14:58:23:     max bitrate: 1445
14:58:23:     buffer size: 1445
14:58:23: ------------------------------------------
14:58:23: MMDeviceAudioSource: Frequency for device 'Speakers (Logitech G35 Headset)' is 1411200, samples per sec is 44100
14:58:23: MMDeviceAudioSource: Frequency for device 'Microphone (Logitech G35 Headset)' is 176400, samples per sec is 44100
14:58:26: Using RTMP service: Twitch / Justin.tv
14:58:26:   Server selection: rtmp://live-lax-backup.justin.tv/app
14:58:26:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
14:58:27: SO_SNDBUF was at 8192
14:58:27: SO_SNDBUF is now 65536
14:58:55: Total frames rendered: 313, number of late frames: 312 (99.68%) (it's okay for some frames to be late)
14:58:55: Total duplicated frames to ensure constant framerate: 487 (155.59%)
14:58:56: RTMPPublisher::SocketLoop: Graceful loop exit
14:58:56: Number of times waited to send: 0, Waited for a total of 0 bytes
14:58:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:58:56: 
14:58:56: Profiler results:
14:58:56: 
14:58:56: ==============================================================
14:58:56: frame - [100%] [avg time: 103.273 ms (cpu time: avg 11.812 ms, total 3697.22 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.00484%]
14:58:56: | frame preprocessing and rendering - [95.3%] [avg time: 98.437 ms (cpu time: avg 7.924 ms, total 2480.42 ms)] [avg calls per frame: 1] [children: 94.8%] [unaccounted: 0.509%]
14:58:56: | | scene->Preprocess - [94.8%] [avg time: 97.911 ms (cpu time: avg 7.625 ms, total 2386.82 ms)] [avg calls per frame: 1]
14:58:56: | video encoding and uploading - [4.68%] [avg time: 4.831 ms (cpu time: avg 3.837 ms, total 1201.2 ms)] [avg calls per frame: 1] [children: 4.61%] [unaccounted: 0.0678%]
14:58:56: | | flush - [0.588%] [avg time: 0.607 ms (cpu time: avg 0.049 ms, total 15.6 ms)] [avg calls per frame: 1]
14:58:56: | | CopyResource - [0.00968%] [avg time: 0.01 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
14:58:56: | | conversion to 4:2:0 - [0.0378%] [avg time: 0.039 ms (cpu time: avg 0.049 ms, total 15.6 ms)] [avg calls per frame: 0]
14:58:56: | | call to encoder - [3.86%] [avg time: 3.986 ms (cpu time: avg 3.638 ms, total 1138.8 ms)] [avg calls per frame: 2]
14:58:56: | | sending stuff out - [0.115%] [avg time: 0.119 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 2]
14:58:56: | Convert444Threads - [196%] [avg time: 202.785 ms (cpu time: avg 1.445 ms, total 452.402 ms)] [avg calls per frame: 1]
14:58:56: ==============================================================
14:58:56: 
14:58:56: =====Stream End: 2013-09-24, 14:58:56=================================================
14:59:43: Using fixed low latency mode, factor 20
14:59:43: =====Stream Start: 2013-09-24, 14:59:43===============================================
14:59:43:   Multithreaded optimizations: On
14:59:43:   Base resolution: 1920x1080
14:59:43:   Output resolution: 1280x720
14:59:43: ------------------------------------------
14:59:43: Loading up D3D10 on AMD Radeon HD 7800 Series...
14:59:43: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
14:59:43: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
14:59:43: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DownscaleBilinear1YUV.pShader.blob
14:59:43: Playback device Default
14:59:43: ------------------------------------------
14:59:43: Using desktop audio input: Speakers (Logitech G35 Headset)
14:59:43: Using 7.1 surround speaker setup
14:59:43: ------------------------------------------
14:59:43: Using auxilary audio input: Microphone (Logitech G35 Headset)
14:59:43: ------------------------------------------
14:59:43: Audio Encoding: AAC
14:59:43:     bitrate: 80
14:59:43: Using graphics capture
14:59:43: Using graphics capture
14:59:43: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
14:59:43: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
14:59:43: ------------------------------------------
14:59:43: Video Encoding: x264
14:59:43:     fps: 25
14:59:43:     width: 1280, height: 720
14:59:43:     preset: fast
14:59:43:     CBR: yes
14:59:43:     CFR: yes
14:59:43:     max bitrate: 1445
14:59:43:     buffer size: 1445
14:59:43: ------------------------------------------
14:59:43: MMDeviceAudioSource: Frequency for device 'Speakers (Logitech G35 Headset)' is 1411200, samples per sec is 44100
14:59:43: MMDeviceAudioSource: Frequency for device 'Microphone (Logitech G35 Headset)' is 176400, samples per sec is 44100
14:59:43: SharedTexCapture hooked
14:59:43: SharedTexCapture hooked
14:59:46: Using RTMP service: Twitch / Justin.tv
14:59:46:   Server selection: rtmp://live-lax-backup.justin.tv/app
14:59:46:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
14:59:47: SO_SNDBUF was at 8192
14:59:47: SO_SNDBUF is now 65536
15:01:22: Exit signal received, terminating capture
15:40:01: Capture window 0x004A07FC invalid or changing, terminating capture
15:40:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:40:24:   New Scene
15:40:24: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
15:40:24: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
15:40:24: Using Monitor Capture
15:40:24: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 194560)
16:18:53: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:18:53:   New Scene
16:18:53: Using graphics capture
16:18:53: Using graphics capture
16:18:53: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
16:18:53: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
16:19:04: Using graphics capture
16:19:04: C:/Users/Snuggles/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
16:19:05: SharedTexCapture hooked
16:22:10: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:22:10:   New Scene
16:22:47: Total frames rendered: 99395, number of late frames: 38224 (38.46%) (it's okay for some frames to be late)
16:22:47: Total duplicated frames to ensure constant framerate: 25563 (25.72%)
16:22:48: RTMPPublisher::SocketLoop: Graceful loop exit
16:22:48: Number of times waited to send: 0, Waited for a total of 0 bytes
16:22:48: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
16:22:48: 
16:22:48: Profiler results:
16:22:48: 
16:22:48: ==============================================================
16:22:48: frame - [100%] [avg time: 27.269 ms (cpu time: avg 5.464 ms, total 543180 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.022%]
16:22:48: | frame preprocessing and rendering - [90%] [avg time: 24.548 ms (cpu time: avg 3.347 ms, total 332688 ms)] [avg calls per frame: 1] [children: 88.2%] [unaccounted: 1.84%]
16:22:48: | | scene->Preprocess - [88.2%] [avg time: 24.045 ms (cpu time: avg 3.046 ms, total 302782 ms)] [avg calls per frame: 1]
16:22:48: | video encoding and uploading - [9.96%] [avg time: 2.715 ms (cpu time: avg 2.115 ms, total 210243 ms)] [avg calls per frame: 1] [children: 9.62%] [unaccounted: 0.334%]
16:22:48: | | flush - [1.68%] [avg time: 0.457 ms (cpu time: avg 0.059 ms, total 5943.63 ms)] [avg calls per frame: 1]
16:22:48: | | CopyResource - [0.0403%] [avg time: 0.011 ms (cpu time: avg 0.011 ms, total 1107.61 ms)] [avg calls per frame: 0]
16:22:48: | | conversion to 4:2:0 - [0.0403%] [avg time: 0.011 ms (cpu time: avg 0.009 ms, total 904.803 ms)] [avg calls per frame: 0]
16:22:48: | | call to encoder - [7.68%] [avg time: 2.095 ms (cpu time: avg 1.981 ms, total 196982 ms)] [avg calls per frame: 1]
16:22:48: | | sending stuff out - [0.183%] [avg time: 0.05 ms (cpu time: avg 0.029 ms, total 2948.42 ms)] [avg calls per frame: 1]
16:22:48: | Convert444Threads - [368%] [avg time: 100.272 ms (cpu time: avg 1.428 ms, total 141977 ms)] [avg calls per frame: 1]
16:22:48: ==============================================================
16:22:48: 
16:22:48: =====Stream End: 2013-09-24, 16:22:48=================================================


Last game capture log:
2013-09-24, 16:19:04: we're booting up: 
16:19:04: D3D9 Present
16:19:04: DXGI Present
16:19:05: D3D9EndScene called
16:19:05: D3DPRESENT_PARAMETERS {
16:19:05: 	BackBufferWidth: 1920
16:19:05: 	BackBufferHeight: 1080
16:19:05: 	BackBufferFormat: D3DFMT_X8R8G8B8
16:19:05: 	BackBufferCount: 1
16:19:05: 	MultiSampleType: D3DMULTISAMPLE_NONE
16:19:05: 16:19:05: 	MultiSampleQuality: 0
NV Capture available16:19:05: 	SwapEffect: D3DSWAPEFFECT_DISCARD

16:19:05: 	hDeviceWindow: 4720772
16:19:05: 	Windowed: true
16:19:05: 	EnableAutoDepthStencil: true
16:19:05: 	AutoDepthStencilFormat: D3DFMT_D24S8
16:19:05: FBO available
16:19:05: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
16:19:05: 	FullScreen_RefreshRateInHz: 0
16:19:05: 	PresentationInterval: 2147483648
16:19:05: };
16:19:05: successfully set up d3d9 hooks
16:19:05: D3D9Present called
16:19:05: GL Present
16:19:05: (half life scientist) everything..  seems to be in order
16:19:05: DoD3D9GPUHook: success
16:19:05: D3DSURFACE_DESC {
16:19:05: 	Format: D3DFMT_X8R8G8B8
16:19:05: 	Type: D3DRTYPE_SURFACE
16:19:05: 	Usage: D3DUSAGE_RENDERTARGET 
16:19:05: 	Pool: D3DPOOL_DEFAULT
16:19:05: 	MultiSampleType: D3DMULTISAMPLE_NONE
16:19:05: 	MultiSampleQuality: 0
16:19:05: 	Width: 1920
16:19:05: 	Height: 1080
16:19:05: };
16:19:05: successfully capturing d3d9 frames via GPU
16:22:10: ---------------------- Cleared D3D9 Capture ----------------------
16:22:10: D3D9EndScene called
16:22:10: D3D9Present called
 

dodgepong

Administrator
Community Helper
That must be a bug in the log analyzer, because if you use Monitor capture, you want to have Aero disabled. Enabling Aero with monitor capture will make you have significantly worse performance. Really, you shouldn't be using Monitor capture at all if you can afford it. Window capture with Aero enabled gives far better performance.

What game are you streaming?
 

Switchy

New Member
I had been streaming monitor capture with Aero disabled up until I had tried earlier with Aero enabled and using game capture.

I've been streaming Final Fantasy 14, osu! and League of Legends primarily.
 
Top