Question / Help Fine performance ingame, stream ~1fps

carnifex

New Member
Thoroughly searched, can't find anything related to this.

When playing the game, getting constantly 60fps (vsync), streaming or not streaming. When streaming, cpu usage is about 25% from obs and 40% from the game so it's pretty much not taxed at all.

The stream, however, is extremely choppy, both on preview and on watching the actual stream. Like, 1fps choppy. This only happens with game capture - window or monitor capture is absolutely fine.

The strangest thing though is that I can't show you what it looks like on the stream, because for some reason playing back recorded videos of my stream on twitch, they're absolutely fine. It's just live that they're horrible.



Code:
12:03:24: Open Broadcaster Software v0.542b - 64bit ( ^ω^)
12:03:24: -------------------------------
12:03:24: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
12:03:24: CPU Speed: 3400MHz
12:03:24: Physical Memory:  8145MB Total, 4080MB Free
12:03:24: stepping id: 3, model 12, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
12:03:24: monitor 1: pos={0, 0}, size={2560, 1440}
12:03:24: monitor 2: pos={2560, 0}, size={1440, 900}
12:03:24: Windows Version: 6.2 Build 9200 
12:03:24: Aero is Enabled
12:03:24: -------------------------------
12:03:24: OBS Modules:
12:03:24: Base Address     Module
12:03:24: 00000000CCFA0000 OBS.exe
12:03:24: 0000000031D10000 OBSApi.dll
12:03:24: 0000000034430000 DShowPlugin.dll
12:03:24: 00000000350C0000 GraphicsCapture.dll
12:03:24: 0000000034E30000 NoiseGate.dll
12:03:24: 0000000034B70000 PSVPlugin.dll
12:03:24: ------------------------------------------
12:03:24: Adapter 1
12:03:24:   Video Adapter: NVIDIA GeForce GTX 770
12:03:24:   Video Adapter Dedicated Video Memory: 2087383040
12:03:24:   Video Adapter Shared System Memory: 2147807232
12:03:24: Using fixed low latency mode, factor 20
12:03:24: =====Stream Start: 2013-08-09, 12:03:24===============================================
12:03:24:   Multithreaded optimizations: On
12:03:24:   Base resolution: 2560x1440
12:03:24:   Output resolution: 1024x576
12:03:24: ------------------------------------------
12:03:24: Loading up D3D10...
12:03:24: Playback device Default
12:03:24: ------------------------------------------
12:03:24: Using desktop audio input: Line 1/2 (M-Audio Delta Audiophile)
12:03:24: ------------------------------------------
12:03:24: Using auxilary audio input: Monitor (M-Audio Delta Audiophile)
12:03:24: ------------------------------------------
12:03:24: Audio Encoding: MP3
12:03:24:     bitrate: 192
12:03:24: Using graphics capture
12:03:24: ------------------------------------------
12:03:24: Video Encoding: x264
12:03:24:     fps: 60
12:03:24:     width: 1024, height: 576
12:03:24:     preset: veryfast
12:03:24:     CBR: yes
12:03:24:     CFR: no
12:03:24:     max bitrate: 2500
12:03:24: ------------------------------------------
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
12:03:24: SharedTexCapture hooked
12:03:25: Using RTMP service: Twitch / Justin.tv
12:03:25:   Server selection: rtmp://live-lhr.justin.tv/app
12:03:26: GraphicsCaptureSource::NewCapture:  eliminating old capture
12:03:26: SharedTexCapture hooked
12:03:27: SO_SNDBUF was at 65536
12:03:27: SO_SNDBUF is now 65536
12:03:40: Total frames rendered: 930, number of frames that lagged: 2 (0.22%) (it's okay for some frames to lag)
12:03:40: RTMPPublisher::SocketLoop: Aborting due to loop exit
12:03:40: Number of times waited to send: 0, Waited for a total of 0 bytes
12:03:40: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:03:40: =====Stream End: 2013-08-09, 12:03:40=================================================
12:03:41: 
12:03:41: Profiler results:
12:03:41: 
12:03:41: ==============================================================
12:03:41: frame - [100%] [avg time: 1.464 ms (cpu time: avg 0.756 ms, total 703.125 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.205%]
12:03:41: | frame preprocessing and rendering - [38.2%] [avg time: 0.559 ms (cpu time: avg 0.285 ms, total 265.625 ms)] [avg calls per frame: 1] [children: 0.0683%] [unaccounted: 38.1%]
12:03:41: | | scene->Preprocess - [0.0683%] [avg time: 0.001 ms (cpu time: avg 0.016 ms, total 15.625 ms)] [avg calls per frame: 1]
12:03:41: | video encoding and uploading - [61.6%] [avg time: 0.902 ms (cpu time: avg 0.47 ms, total 437.5 ms)] [avg calls per frame: 1] [children: 54.5%] [unaccounted: 7.1%]
12:03:41: | | flush - [15.2%] [avg time: 0.222 ms (cpu time: avg 0.016 ms, total 15.625 ms)] [avg calls per frame: 1]
12:03:41: | | CopyResource - [1.57%] [avg time: 0.023 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
12:03:41: | | conversion to 4:2:0 - [1.57%] [avg time: 0.023 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
12:03:41: | | call to encoder - [35.7%] [avg time: 0.522 ms (cpu time: avg 0.453 ms, total 421.875 ms)] [avg calls per frame: 0]
12:03:41: | | sending stuff out - [0.546%] [avg time: 0.008 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
12:03:41: | Convert444Threads - [2.22e+003%] [avg time: 32.493 ms (cpu time: avg 0.52 ms, total 484.375 ms)] [avg calls per frame: 1]
12:03:41: ==============================================================
12:03:41:
 

Kharay

Member
If the recording is absolutely fine then most likely the stream actually is fine. Maybe not for you but have you asked your viewers? It could simply be that for some reason or another actually watching your own stream is choppy for you. Which, in and of itself is a situation that needs addressing. But still, if the recording is fine then the stream should be fine. There is no conceivable or logical way in which a broadcast somehow gets corrected post-stream.

It's Twitch, not Youtube.
 

carnifex

New Member
wow it never even occurred to me to check on another pc. i had watched it on a second monitor and had the same problem, but on another pc its absolutely fine.

weird
 

Kharay

Member
Which browser are you using to watch it on your own PC? I think you may have a (Flash) misconfiguration going on there somewhere.
 

carnifex

New Member
chrome 29

i can watch other streams fine, and my own when its monitor/window capture. its just game capture that's had this problem
 

Kharay

Member
Well, in a way that does make sense. Well, to me anyhow. ;) Anyhow, have you applied any peculiar and advanced settings to Chrome in chrome://flags ?
 

carnifex

New Member
nope, that's all standard.

this apparently affects all video on the second monitor when theres a game capture going on
 

Kharay

Member
Is hardware acceleration enabled for Flash? Rightclick any flash object (easiest choice would obviously be your stream) and in Settings (not Global Settings) make sure Hardware Acceleration is checked.
 
Top