Question / Help CPU 100% working when streaming

Termoxin

New Member
Hello,
I have problem with OBS. When I play without streaming, game is nice smooth and my processor is running on 20%. But when I start streaming, CPU work on 100%.

Code:
Open Broadcaster Software v0.51b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz
CPU Speed: 2666MHz
Physical Memory:  4095MB Total, 1540MB Free
stepping id: 10, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 550 Ti
  Video Adapter Dedicated Video Memory: 1025179648
  Video Adapter Shared System Memory: 1878618112
=====Stream Start: 2013-05-04, 14:02:50===============================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Headset Microphone (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Audio Encoding: AAC
    bitrate: 48
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1920, height: 1080
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1500
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
SharedTexCapture hooked
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
------------------------------------------
Total frames rendered: 718, number of frames that lagged: 77 (10.72%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 14, Waited for a total of 46054 bytes
Number of b-frames dropped: 115 (20%), Number of p-frames dropped: 146 (25%), Total 261 (45%)
=====Stream End: 2013-05-04, 14:03:22=================================================
=====Stream Start: 2013-05-04, 14:03:26===============================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Headset Microphone (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Audio Encoding: AAC
    bitrate: 48
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1280, height: 720
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1500
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
SharedTexCapture hooked
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 823, number of frames that lagged: 9 (1.09%) (it's okay for some frames to lag)
okay, this is strange
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 18, Waited for a total of 72230 bytes
Number of b-frames dropped: 83 (12%), Number of p-frames dropped: 117 (17%), Total 200 (29%)
=====Stream End: 2013-05-04, 14:03:59=================================================
------------------------------------------
=====Stream Start: 2013-05-04, 14:04:51===============================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Headset Microphone (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Audio Encoding: AAC
    bitrate: 48
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1280, height: 720
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1500
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 3490, number of frames that lagged: 28 (0.80%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 88, Waited for a total of 322624 bytes
Number of b-frames dropped: 638 (19%), Number of p-frames dropped: 871 (26%), Total 1509 (45%)
=====Stream End: 2013-05-04, 14:07:13=================================================
=====Stream Start: 2013-05-04, 14:07:25===============================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Headset Microphone (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Audio Encoding: AAC
    bitrate: 48
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1280, height: 720
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1000
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
SharedTexCapture hooked
Total frames rendered: 2151, number of frames that lagged: 16 (0.74%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 30, Waited for a total of 78606 bytes
Number of b-frames dropped: 94 (4.7%), Number of p-frames dropped: 195 (9.7%), Total 289 (14%)
=====Stream End: 2013-05-04, 14:08:53=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 8.291 ms] [avg calls per frame: 1] [children: 82.1%] [unaccounted: 17.9%]
| scene->Preprocess - [0.0241%] [avg time: 0.002 ms] [avg calls per frame: 1]
| video encoding and uploading - [82.1%] [avg time: 6.803 ms] [avg calls per frame: 1] [children: 76.4%] [unaccounted: 5.61%]
| | CopyResource - [0.495%] [avg time: 0.041 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.33%] [avg time: 0.11 ms] [avg calls per frame: 0]
| | call to encoder - [73.9%] [avg time: 6.127 ms] [avg calls per frame: 0]
| | sending stuff out - [0.724%] [avg time: 0.06 ms] [avg calls per frame: 0]
==============================================================

Here is my log. I don't know why is my stream laggy, but I don't think because of low power of my hardware.

Sorry for bad english, I hope you understand.
Thanks.
 

Jack0r

The Helping Squad
Its because of your low power hardware. The older Core2Quad barely can run 1080p on very fast, you are trying to run it on faster even. Use very fast and you should be good to go unless you play a very cpu heavy game like BF3/Crysis or something.
 

hilalpro

Member
Change the preset back to veryfast and downscale by 2.00. you also want to use the 64bit version if possible for little more increase in performance.

Your current bitrate is causing you to drop frames. you wanna lower that a bit also and try different twitch servers.
 
Top