Question / Help Optimal settings for streaming?

Exort

New Member
Hello, I am new to streaming, trying to set one up to stream starcraft 2 games.
I used the OBS feature to find optimal settings but viewers still get heavy FPS lag while watching the stream.
Here's the log folder:
Code:
------------------------------------------
Open Broadcaster Software v0.51b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory:  3058MB Total, 1398MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce 9500 GT
  Video Adapter Dedicated Video Memory: 1056505856
  Video Adapter Shared System Memory: 1335072768
=====Stream Start: 2013-04-28, 23:49:39===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
librtmp error: RTMP_ReadPacket, failed to read RTMP packet header
Connection to rtmp://live-lhr.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
Total frames rendered: 100, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End: 2013-04-28, 23:49:42=================================================
=====Stream Start: 2013-04-28, 23:49:53===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
librtmp error: RTMP_ReadPacket, failed to read RTMP packet header
Connection to rtmp://live-lhr.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
Total frames rendered: 90, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End: 2013-04-28, 23:49:56=================================================
=====Stream Start: 2013-04-28, 23:50:00===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 220, number of frames that lagged: 11 (5.00%) (it's okay for some frames to lag)
=====Stream End: 2013-04-28, 23:50:08=================================================
=====Stream Start: 2013-04-28, 23:50:09===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
librtmp error: RTMP_ReadPacket, failed to read RTMP packet header
Connection to rtmp://live-lhr.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
Total frames rendered: 87, number of frames that lagged: 3 (3.45%) (it's okay for some frames to lag)
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End: 2013-04-28, 23:50:12=================================================
=====Stream Start: 2013-04-28, 23:50:16===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 372, number of frames that lagged: 17 (4.57%) (it's okay for some frames to lag)
=====Stream End: 2013-04-28, 23:50:31=================================================
=====Stream Start: 2013-04-28, 23:50:32===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
SharedTexCapture hooked
SharedTexCapture hooked
librtmp error: RTMP_ReadPacket, failed to read RTMP packet header
Connection to rtmp://live-lhr.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
Total frames rendered: 64, number of frames that lagged: 10 (15.63%) (it's okay for some frames to lag)
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End: 2013-04-28, 23:50:35=================================================
=====Stream Start: 2013-04-28, 23:50:42===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
SharedTexCapture hooked
librtmp error: RTMP_ReadPacket, failed to read RTMP packet header
Connection to rtmp://live-lhr.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
Total frames rendered: 84, number of frames that lagged: 7 (8.33%) (it's okay for some frames to lag)
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End: 2013-04-28, 23:50:46=================================================
------------------------------------------
------------------------------------------
=====Stream Start: 2013-04-28, 23:54:16===============================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Altavoces (Dispositivo de High Definition Audio)
------------------------------------------
Using auxilary audio input: Micrófono (Dispositivo de High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 23274, number of frames that lagged: 14348 (61.65%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 31, Waited for a total of 122855 bytes
Number of b-frames dropped: 727 (3.1%), Number of p-frames dropped: 247 (1.1%), Total 974 (4.2%)
=====Stream End: 2013-04-29, 00:56:42=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 148.784 ms] [avg calls per frame: 1] [children: 99.3%] [unaccounted: 0.696%]
| scene->Preprocess - [0.000672%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [99.3%] [avg time: 147.747 ms] [avg calls per frame: 1] [children: 99.2%] [unaccounted: 0.078%]
| | CopyResource - [96.7%] [avg time: 143.929 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0155%] [avg time: 0.023 ms] [avg calls per frame: 0]
| | call to encoder - [2.34%] [avg time: 3.483 ms] [avg calls per frame: 0]
| | sending stuff out - [0.132%] [avg time: 0.196 ms] [avg calls per frame: 0]
==============================================================

I'd be very grateful if you could help me out to find the necessary settings to stream.
Let me know if there's anything else I need to post.

Thank you!
 

hilalpro

Member
Your graphics card is the bottleneck by the looks of it. since you currently have aero enabled leave it at that and lower the in game graphic then switch the game to full screen windowed mode. delete the game capture source and create window capture for starcraft instead.
 

Exort

New Member
Ok, so you think I should buy a better graphics card?
I can't lower the in game graphics more than what they're at right now, and when I switch the game to full screen windowed mode for some reason I get FPS lag on my mouse cursor.
 

Krazy

Town drunk
560ti/660ti would be about all you need. You can even bump up the graphics with that GPU.

You also seem to be dropping some frames, you may consider lowering your bitrate. You don't really need 4000 for that resolution/FPS. 3000 should be sufficient, especially for SC2
 
Top