Bug Report FPS LOSS please help.

Kwskii

New Member
Hey guys,
I've started to use obs for 1 week now, and i can't get the settings right.
I stream mainly League of Legends and in-game i get about 57-60 fps which is perfect, this while streaming. But when i go to my stream i see it with fps loss, i think it's better to see it for yourselves no?
http://pt.twitch.tv/kwskiipt/b/351235900

Net:
8mb/s upload

Settings:

Encoding -

Video
Quality 10
Max bitrate 3500
Buffer size 3500

Audio
Codec AAC
Bitrate 320

Video -
Resolution 1680x1050
Fps - 60
No downscale

Advanced -

General
Priority High

Video
x264 Preset SuperFast

Audio
Use higher quality resampling

Computer specs:
Untitled.png
 

Kwskii

New Member
Log file
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
CPU Speed: 3258MHz
Physical Memory: 4094MB Total, 2030MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.2 Build 9200
Aero is Enabled
------------------------------------------
Adapter 1
Video Adapter: ATI Radeon HD 5700 Series
Video Adapter Dedicated Video Memory: 1063890944
Video Adapter Shared System Memory: 1878026240
------------------------------------------
Adapter 2
Video Adapter: Microsoft Basic Render Driver
Video Adapter Dedicated Video Memory: 0
Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
Video Encoding: x264
fps: 45
width: 1680, height: 1050
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
Total frames rendered: 103, number of frames that lagged: 1 (0.97%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
Video Encoding: x264
fps: 45
width: 1680, height: 1050
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 2152, outputRateWindowTime: 1000, dropThreshold: 2652
------------------------------------------
device: Microsoft® LifeCam VX-7000,
device id \\?\usb#vid_045e&pid_0723&mi_00#7&11abf43b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: MJPG, usingFourCC: false, res: 1280x1024 - 1280x1024, fps: 7.5-7.5, fourCC: 'MJPG'

Using directshow input
RTMPPublisher::BufferedSend: Buffer is full (486676 / 488448 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (486676 / 488448 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (487954 / 488448 bytes), waiting to send 1410 bytes
RTMPPublisher::BufferedSend: Buffer is full (486184 / 488448 bytes), waiting to send 4104 bytes
Total frames rendered: 136259, number of frames that lagged: 37897 (27.81%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 246 (0.069%), Number of p-frames dropped: 210 (0.059%), Total 456 (0.13%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
device: Microsoft® LifeCam VX-7000,
device id \\?\usb#vid_045e&pid_0723&mi_00#7&11abf43b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: MJPG, usingFourCC: false, res: 1280x1024 - 1280x1024, fps: 7.5-7.5, fourCC: 'MJPG'

Using directshow input
------------------------------------------
Video Encoding: x264
fps: 60
width: 1680, height: 1050
preset: superfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 1956, outputRateWindowTime: 1000, dropThreshold: 2456
Using Window Capture
Using text output
RTMPPublisher::BufferedSend: Buffer is full (484410 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (484410 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (488385 / 488448 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (486555 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
Total frames rendered: 265847, number of frames that lagged: 31584 (11.88%) (it's okay for some frames to lag)
Number of b-frames dropped: 251 (0.05%), Number of p-frames dropped: 167 (0.033%), Total 418 (0.084%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
device: Microsoft® LifeCam VX-7000,
device id \\?\usb#vid_045e&pid_0723&mi_00#7&1519ac53&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: MJPG, usingFourCC: false, res: 1280x1024 - 1280x1024, fps: 7.5-7.5, fourCC: 'MJPG'

Using directshow input
Using text output
------------------------------------------
Video Encoding: x264
fps: 60
width: 1680, height: 1050
preset: superfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 2046, outputRateWindowTime: 1000, dropThreshold: 2546
RTMPPublisher::BufferedSend: Buffer is full (488206 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (488206 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (485347 / 488448 bytes), waiting to send 4097 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
Total frames rendered: 6632, number of frames that lagged: 343 (5.17%) (it's okay for some frames to lag)
Number of b-frames dropped: 69 (0.6%), Number of p-frames dropped: 0 (0%), Total 69 (0.6%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
device: Microsoft® LifeCam VX-7000,
device id \\?\usb#vid_045e&pid_0723&mi_00#7&1519ac53&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: MJPG, usingFourCC: false, res: 1280x1024 - 1280x1024, fps: 7.5-7.5, fourCC: 'MJPG'

Using directshow input
Using text output
------------------------------------------
Video Encoding: x264
fps: 60
width: 1680, height: 1050
preset: superfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 1446, outputRateWindowTime: 1000, dropThreshold: 1946
RTMPPublisher::BufferedSend: Buffer is full (487297 / 488448 bytes), waiting to send 4057 bytes
RTMPPublisher::BufferedSend: Buffer is full (487297 / 488448 bytes), waiting to send 4057 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
Total frames rendered: 843, number of frames that lagged: 89 (10.56%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
device: Microsoft® LifeCam VX-7000,
device id \\?\usb#vid_045e&pid_0723&mi_00#7&1519ac53&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: MJPG, usingFourCC: false, res: 1280x1024 - 1280x1024, fps: 7.5-7.5, fourCC: 'MJPG'

Using directshow input
Using text output
------------------------------------------
Video Encoding: x264
fps: 60
width: 1680, height: 1050
preset: superfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 2229, outputRateWindowTime: 1000, dropThreshold: 2729
RTMPPublisher::BufferedSend: Buffer is full (485463 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (485463 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
Total frames rendered: 3184, number of frames that lagged: 656 (20.60%) (it's okay for some frames to lag)
Number of b-frames dropped: 49 (0.79%), Number of p-frames dropped: 18 (0.29%), Total 67 (1.1%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using text output
------------------------------------------
device: Microsoft® LifeCam VX-7000,
device id \\?\usb#vid_045e&pid_0723&mi_00#7&1519ac53&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: MJPG, usingFourCC: false, res: 1280x1024 - 1280x1024, fps: 7.5-7.5, fourCC: 'MJPG'

Using directshow input
Using text output
------------------------------------------
Video Encoding: x264
fps: 60
width: 1680, height: 1050
preset: superfast
CBR: no
max bitrate: 3500
buffer size: 3500
quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 2266, outputRateWindowTime: 1000, dropThreshold: 2766
RTMPPublisher::BufferedSend: Buffer is full (484738 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (484738 / 488448 bytes), waiting to send 4104 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
Number of b-frames dropped: 47 (0.13%), Number of p-frames dropped: 0 (0%), Total 47 (0.13%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
bitrate: 320
 

micechal

Member
Have you tried using Game Capture? You can also try disabling Aero. What about your CPU and GPU (see GPU-Z) usage when streaming?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
You need to post a complete log file if possible. A complete log file will have profiler information at the bottom.
 

Kwskii

New Member
Second log
Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
CPU Speed: 3258MHz
Physical Memory:  4094MB Total, 1725MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5700 Series
  Video Adapter Dedicated Video Memory: 1063890944
  Video Adapter Shared System Memory: 1878026240
------------------------------------------
Adapter 2
  Video Adapter: Microsoft Basic Render Driver
  Video Adapter Dedicated Video Memory: 0
  Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using graphics capture
Using Window Capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: faster
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 10
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Using Window Capture
Using text output
------------------------------------------
------------------------------------------
Using Monitor Capture
Total frames rendered: 4423, number of frames that lagged: 83 (1.88%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1680, height: 1050
    preset: faster
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 10
------------------------------------------
Total frames rendered: 2992, number of frames that lagged: 820 (27.41%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1680, height: 1050
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 10
------------------------------------------
Total frames rendered: 2312, number of frames that lagged: 782 (33.82%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1680, height: 1050
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 10
------------------------------------------
Total frames rendered: 215, number of frames that lagged: 35 (16.28%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1680, height: 1050
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 2109, outputRateWindowTime: 1000, dropThreshold: 2609
Total frames rendered: 20413, number of frames that lagged: 9959 (48.79%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 34.013 ms] [avg calls per frame: 1] [children: 96.3%] [unaccounted: 3.72%]
| scene->Preprocess - [0.876%] [avg time: 0.298 ms] [avg calls per frame: 1]
| video encoding and uploading - [95.4%] [avg time: 32.449 ms] [avg calls per frame: 1] [children: 90.4%] [unaccounted: 4.97%]
| | CopyResource - [0.179%] [avg time: 0.061 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.176%] [avg time: 0.06 ms] [avg calls per frame: 0]
| | call to encoder - [90%] [avg time: 30.605 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0941%] [avg time: 0.032 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Seems it's taking all it's time at the encoder for you. It's causing frame lag. You may be using too much CPU, because you're encoding a fairly high resolution stream at 60 FPS.

You may have to either 1.) turn down your FPS, or 2.) use a downscale. I'm willing to bet one or both of those options will greatly improve the situation.

By the way, going to move this to Questions and Help because I don't think this is anything bug-related.
 

Kwskii

New Member
Wouldnt downscale remove some of my stream quality?

EDIT: Did dowsncale to 1.5x and lowered fps to 45 frames per second. still stuttering http://pt.twitch.tv/kwskiipt/b/351346713
Log
Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
CPU Speed: 3258MHz
Physical Memory:  4094MB Total, 1842MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5700 Series
  Video Adapter Dedicated Video Memory: 1063890944
  Video Adapter Shared System Memory: 1878026240
------------------------------------------
Adapter 2
  Video Adapter: Microsoft Basic Render Driver
  Video Adapter Dedicated Video Memory: 0
  Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1120, height: 700
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 10
------------------------------------------
Total frames rendered: 79, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1120, height: 700
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 10
------------------------------------------
Total frames rendered: 189, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
------------------------------------------
------------------------------------------
Using Monitor Capture
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1120, height: 700
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 10
------------------------------------------
SO_SNDBUF already at 65536
bufferTime: 2110, outputRateWindowTime: 1000, dropThreshold: 2610
Total frames rendered: 21598, number of frames that lagged: 1134 (5.25%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.62 ms] [avg calls per frame: 1] [children: 86.2%] [unaccounted: 13.8%]
| scene->Preprocess - [2.94%] [avg time: 0.224 ms] [avg calls per frame: 1]
| video encoding and uploading - [83.3%] [avg time: 6.346 ms] [avg calls per frame: 1] [children: 66.8%] [unaccounted: 16.5%]
| | CopyResource - [0.328%] [avg time: 0.025 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.394%] [avg time: 0.03 ms] [avg calls per frame: 0]
| | call to encoder - [65.5%] [avg time: 4.99 ms] [avg calls per frame: 0]
| | sending stuff out - [0.591%] [avg time: 0.045 ms] [avg calls per frame: 0]
==============================================================
 

R1CH

Forum Admin
Developer
Well yes, that's the point. Your CPU can't maintain the quality you are trying to do now.
 

R1CH

Forum Admin
Developer
You should keep your preset on veryfast too, you're still getting some lagged frames. You really shouldn't change the preset at all.
 

Kwskii

New Member
I got it sorta working, but the stream now has a little of blur and it feels as not as good quality as before can i do something to improve it without taking my cpu?
 
Top