Question / Help FPS drops in the stream but ingame fps is fine?

Sebastian

New Member
So as the title says. The FPS on the stream seems to drop all the time. Sometimes it goes very smoothly and sometimes it drops annoyingly. Is there anything I could do about the matter? I know that my PC setup isn't the strongest around but I mean, my FPS ingame is still fine while streaming so what might be the problem in this case? Is my setup just limiting the streaming capabilities simply too much? I've played with the settings. Lowering them and whatnot but it doesn't seem to make difference. It says that FPS is set to 40 for some reason though I had lowered it to 30.


Log ---v


13:08:26: Open Broadcaster Software v0.613b - 32bit (´・ω・`)
13:08:26: -------------------------------
13:08:26: CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
13:08:26: CPU Speed: 2400MHz
13:08:26: Physical Memory: 4094MB Total, 1911MB Free
13:08:26: stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
13:08:26: monitor 1: pos={0, 0}, size={1920, 1080}
13:08:26: Windows Version: 6.1 Build 7601 S
13:08:26: Aero is Enabled
13:08:26: -------------------------------
13:08:26: OBS Modules:
13:08:26: Base Address Module
13:08:26: 011F0000 OBS.exe
13:08:26: 629A0000 OBSApi.dll
13:08:26: 6FEE0000 DShowPlugin.dll
13:08:26: 73870000 GraphicsCapture.dll
13:08:26: 705E0000 NoiseGate.dll
13:08:26: 705A0000 PSVPlugin.dll
13:08:26: ------------------------------------------
13:08:26: Adapter 1
13:08:26: Video Adapter: AMD Radeon HD 6800 Series
13:08:26: Video Adapter Dedicated Video Memory: 1065041920
13:08:26: Video Adapter Shared System Memory: 1878257664
13:08:26: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
13:08:26: =====Stream Start: 2014-03-28, 13:08:26===============================================
13:08:26: Multithreaded optimizations: On
13:08:26: Base resolution: 1920x1080
13:08:26: Output resolution: 1280x720
13:08:26: ------------------------------------------
13:08:26: Loading up D3D10 on AMD Radeon HD 6800 Series (Adapter 1)...
13:08:26: ------------------------------------------
13:08:26: Audio Format: 48000 Hz
13:08:26: ------------------------------------------
13:08:26: Audio Channels: 2 Ch
13:08:26: Playback device Default
13:08:26: ------------------------------------------
13:08:26: Using desktop audio input: Kaiuttimet (G510 Gaming Keyboard)
13:08:26: ------------------------------------------
13:08:26: Using auxilary audio input: Mikrofoni (G510 Gaming Keyboard)
13:08:26: ------------------------------------------
13:08:26: Audio Encoding: AAC
13:08:26: bitrate: 128
13:08:26: Using graphics capture
13:08:26: Using bitmap image
13:08:26: Scene buffering time set to 400
13:08:27: ------------------------------------------
13:08:27: Video Encoding: x264
13:08:27: fps: 40
13:08:27: width: 1280, height: 720
13:08:27: preset: veryfast
13:08:27: profile: high
13:08:27: keyint: 80
13:08:27: CBR: yes
13:08:27: CFR: yes
13:08:27: max bitrate: 1200
13:08:27: buffer size: 1200
13:08:27: ------------------------------------------
13:08:27: Audio timestamp for device 'Mikrofoni (G510 Gaming Keyboard)' was behind target timestamp by 7542170
13:08:28: Using RTMP service: Twitch / Justin.tv
13:08:28: Server selection: rtmp://live-fra.justin.tv/app
13:08:28: Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
13:08:28: Completed handshake with rtmp://live-fra.justin.tv/app in 462 ms.
13:08:30: SO_SNDBUF was at 32767
13:08:30: SO_SNDBUF is now 65536
13:08:33: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 315 / 169984)
13:08:36: SharedTexCapture hooked
13:15:00: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
13:15:00: Failed loading CUDA dll
13:15:08: Settings::Video: Enabling Aero
13:15:11: Total frames encoded: 16148, total frames duplicated: 135 (0.84%)
13:15:11: Number of frames skipped due to encoder lag: 57 (0.35%)
13:15:11: Total frames rendered: 16085, number of late frames: 7 (0.04%) (it's okay for some frames to be late)
13:15:11: RTMPPublisher::SocketLoop: Graceful loop exit
13:15:11: Average send payload: 3740 bytes, average send interval: 22 ms
13:15:11: Number of times waited to send: 0, Waited for a total of 0 bytes
13:15:11: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
13:15:11: Number of bytes sent: 66963896
13:15:11:
13:15:11: Profiler time results:
13:15:11:
13:15:11: ==============================================================
13:15:11: video thread frame - [100%] [avg time: 1.128 ms] [children: 53%] [unaccounted: 47%]
13:15:11: | scene->Preprocess - [0.355%] [avg time: 0.004 ms]
13:15:11: | GPU download and conversion - [52.7%] [avg time: 0.594 ms] [children: 48.1%] [unaccounted: 4.52%]
13:15:11: | | flush - [45.7%] [avg time: 0.515 ms]
13:15:11: | | CopyResource - [1.86%] [avg time: 0.021 ms]
13:15:11: | | conversion to 4:2:0 - [0.621%] [avg time: 0.007 ms]
13:15:11: Convert444Threads - [100%] [avg time: 1.809 ms] [children: 99%] [unaccounted: 0.995%]
13:15:11: | Convert444toNV12 - [99%] [avg time: 1.791 ms]
13:15:11: encoder thread frame - [100%] [avg time: 3.014 ms] [children: 1.86%] [unaccounted: 98.1%]
13:15:11: | sending stuff out - [1.86%] [avg time: 0.056 ms]
13:15:11: ==============================================================
13:15:11:
13:15:11:
13:15:11: Profiler CPU results:
13:15:11:
13:15:11: ==============================================================
13:15:11: video thread frame - [cpu time: avg 0.166 ms, total 2683.22 ms] [avg calls per frame: 1]
13:15:11: | scene->Preprocess - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
13:15:11: | GPU download and conversion - [cpu time: avg 0.079 ms, total 1279.21 ms] [avg calls per frame: 1]
13:15:11: | | flush - [cpu time: avg 0.061 ms, total 982.807 ms] [avg calls per frame: 1]
13:15:11: | | CopyResource - [cpu time: avg 0.007 ms, total 124.802 ms] [avg calls per frame: 1]
13:15:11: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 31.2 ms] [avg calls per frame: 1]
13:15:11: Convert444Threads - [cpu time: avg 1.564 ms, total 50279.1 ms] [avg calls per frame: 2]
13:15:11: | Convert444toNV12 - [cpu time: avg 1.558 ms, total 50060.7 ms] [avg calls per frame: 2]
13:15:11: encoder thread frame - [cpu time: avg 2.223 ms, total 35864.6 ms] [avg calls per frame: 1]
13:15:11: | sending stuff out - [cpu time: avg 0.019 ms, total 312.003 ms] [avg calls per frame: 1]
13:15:11: ==============================================================
13:15:11:
13:15:11: =====Stream End: 2014-03-28, 13:15:11=================================================
13:15:20: =====Stream Start: 2014-03-28, 13:15:20===============================================
13:15:20: Multithreaded optimizations: On
13:15:20: Base resolution: 1920x1080
13:15:20: Output resolution: 1280x720
13:15:20: ------------------------------------------
13:15:20: Loading up D3D10 on AMD Radeon HD 6800 Series (Adapter 1)...
13:15:20: ------------------------------------------
13:15:20: Audio Format: 48000 Hz
13:15:20: ------------------------------------------
13:15:20: Audio Channels: 2 Ch
13:15:20: Playback device Default
13:15:20: ------------------------------------------
13:15:20: Using desktop audio input: Kaiuttimet (G510 Gaming Keyboard)
13:15:20: ------------------------------------------
13:15:20: Using auxilary audio input: Mikrofoni (G510 Gaming Keyboard)
13:15:20: ------------------------------------------
13:15:20: Audio Encoding: AAC
13:15:20: bitrate: 128
13:15:20: Using graphics capture
13:15:20: Using bitmap image
13:15:20: Scene buffering time set to 400
13:15:20: ------------------------------------------
13:15:20: Video Encoding: x264
13:15:20: fps: 30
13:15:20: width: 1280, height: 720
13:15:20: preset: veryfast
13:15:20: profile: high
13:15:20: keyint: 60
13:15:20: CBR: yes
13:15:20: CFR: yes
13:15:20: max bitrate: 1200
13:15:20: buffer size: 1200
13:15:20: ------------------------------------------
13:15:20: SharedTexCapture hooked
13:15:22: Using RTMP service: Twitch / Justin.tv
13:15:22: Server selection: rtmp://live-fra.justin.tv/app
13:15:22: Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
13:15:22: Completed handshake with rtmp://live-fra.justin.tv/app in 464 ms.
13:15:23: SO_SNDBUF was at 32767
13:15:23: SO_SNDBUF is now 65536
13:15:24: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 169984)
13:15:28: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 169984)
 

dacoder

Member
How are you viewing your FPS output? From OBS, or from Twitch.tv's flash player? OBS should tell you the correct output.

You SHOULD have OBS on a higher priority (pretty much always) than your game. So set OBS to high, and game to normal. After that, if you lose ingame fps, turn down your CPU Preset in OBS.
 

Jack0r

The Helping Squad
The log is unfortunately incomplete, please try to upload the new one, after your test. For the priority stuff dacoder mentioned, it is normally never necessary to do this. And touching the preset is the very LAST option to try.

Seeing that your CPU is not the most powerful anymore you could downscale one more step or two. (In the cut off part of the log you already lowered the fps to 30, keep it at that)
 

vbdkv

Member
I've only seen this happening with the 32bit version, which you seem to be using. Try the 64bit version instead, it's in the OBS\64bit folder.
 

Sebastian

New Member
The log is unfortunately incomplete, please try to upload the new one, after your test. For the priority stuff dacoder mentioned, it is normally never necessary to do this. And touching the preset is the very LAST option to try.

Seeing that your CPU is not the most powerful anymore you could downscale one more step or two. (In the cut off part of the log you already lowered the fps to 30, keep it at that)

I shall. I actually tried streaming on hitbox.tv and my stream is smoother there. Also I put the actual resolution to 1280x720 and no downscaling at all. It seems do good to the stream as well. I'll see if I can put the full log of that and you can see how it looks?

I've only seen this happening with the 32bit version, which you seem to be using. Try the 64bit version instead, it's in the OBS\64bit folder.

I'll actually download 64bit version and see if it improves something. I've always wondered why I was using 32bit. :P
 

Sebastian

New Member
Sure, just post us a complete log after you stopped streaming :)

I believe this should be a full log? o: I went back to 45 FPS because I think the stream feels a bit smoother with it and it doesn't seem to affect my FPS ingame. If it does, then just slightly. Anything worth mentioning on the log? What about the bitrates? I think I had like 4,6 Upload when I checked it on the so claimed better site to check the upload speed.


http://pastebin.ca/2688563 <- That should be the full log, no? Had to upload to pastebin since couldn't post the whole log in here.
 

Jack0r

The Helping Squad
Yea it looks quite a bit better. You sometimes still have a duplicate frames, but they shouldnt be too noticeable.
 

vbdkv

Member
Total frames encoded: 3480, total frames duplicated: 117(3.36%) is a problem. I suggest lowering your fps to 30 because your CPU obviously can't keep up.
Total frames encoded: 38433, total frames duplicated: 1244(3.24%) That's quite a lot in the long run.

Example:
Total frames encoded: 139820, total frames duplicated: 16 (0.01%) would be ok.


Bitrate, if you have the bandwidth for it, should really be around 2500 at 720p just to get a decent looking stream. Of course it largely depends on the game you play. For instance I can stream Fear 2 at 1300kbps and it still looks amazing even at 720p. If I switch to Civ 5 for instance, it'll look absolutely awful using 1300kbps. So yeah, depends on the game :)
 
Last edited:

Sebastian

New Member
Thanks for the replies once again. I'll be going with 30 FPS. Having constant FPS is always better than having any significant drops. c:
 
Top