Question / Help 96.18% frames that lagged

Hamsandwich

New Member
Hi, great software! I got my stream up and running. I have watched my past broadcasts on twitch and it seems to be working fine but I noticed in the log file that it says

Total frames rendered: 74184, number of frames that lagged: 71352 (96.18%) (it's okay for some frames to lag)

Is this a bandwidth issue? I only have < 1mb upload. or is there something else I can do do fix it?

Streaming the LOTRO game directx 9 on Windows 8

LOG file
Open Broadcaster Software v0.448a - 32bit
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 650 Ti
Video Adapeter Dedicated Video Memory: 1020985344
Video Adapeter Shared System Memory: 3221221376
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics
Video Adapeter Dedicated Video Memory: 33554432
Video Adapeter Shared System Memory: 1711276032
------------------------------------------
Adapter 3
Video Adapter: Microsoft Basic Render Driver
Video Adapeter Dedicated Video Memory: 0
Video Adapeter Shared System Memory: 268435456
Send Buffer Size: 1460
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 852x480
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Headset Microphone (3- Microsoft LifeChat LX-3000 )
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 25
width: 852, height: 480
quality: 6
preset: veryfast
i444: no
max bitrate: 700
buffer size: 700
------------------------------------------
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
Total frames rendered: 73248, number of frames that lagged: 70880 (96.77%) (it's okay for some frames to lag)
Number of b-frames dropped: 166, Number of p-frames dropped: 0
=====Stream End=======================================================================
Send Buffer Size: 1460
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 852x480
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Headset Microphone (3- Microsoft LifeChat LX-3000 )
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 25
width: 852, height: 480
quality: 6
preset: veryfast
i444: no
max bitrate: 700
buffer size: 700
------------------------------------------
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
Total frames rendered: 74184, number of frames that lagged: 71352 (96.18%) (it's okay for some frames to lag)
Number of b-frames dropped: 283, Number of p-frames dropped: 0
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 49.931 ms] [avg calls per frame: 1] [children: 97.7%] [unaccounted: 2.3%]
| scene->Preprocess - [94.5%] [avg time: 47.2 ms] [avg calls per frame: 1]
| video encoding and uploading - [3.17%] [avg time: 1.581 ms] [avg calls per frame: 1] [children: 1.79%] [unaccounted: 1.37%]
| | CopyResource - [0.0701%] [avg time: 0.035 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.00601%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [1.72%] [avg time: 0.857 ms] [avg calls per frame: 0]
==============================================================
 

R1CH

Forum Admin
Developer
Please update your OBS. Lagged frames mean a source is taking too long to generate frames.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Update, but also, what sources are you using? Seems like you're using game capture but I'm not entirely sure why it would be taking so long in scene->Preprocess as it does almost nothing there, so I have to assume that you have more than one source. What other sources do you have in the scene?
 

Hamsandwich

New Member
Jim said:
Update, but also, what sources are you using?
I updated the version and redid the sources and it is only 0.03% lagged now.

Yes I was using game capture and software capture and I was trying to have a fullscreen image to hide my desktop so I think i had

1. game capture
2. fullscreen image
3. software capture

I redid my sources when I realized that sources on the bottom appear on top of the other sources. This seems totally backwards and confusing to me.

Also im getting a 35.1% for "unaccounted" is that something to worry about?

Log file 3 hr stream
Open Broadcaster Software v0.452a - 32bit (´????)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 650 Ti
Video Adapter Dedicated Video Memory: 1020985344
Video Adapter Shared System Memory: 3221221376
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics
Video Adapter Dedicated Video Memory: 33554432
Video Adapter Shared System Memory: 1711276032
------------------------------------------
Adapter 3
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: 1920x1080
Output resolution: 852x480
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Headset Microphone (3- Microsoft LifeChat LX-3000 )
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 25
width: 852, height: 480
preset: veryfast
CBR: no
max bitrate: 700
buffer size: 700
quality: 7
------------------------------------------
using shared texture capture
Using Send Buffer Size: 1460
SO_SNDBUF already at 65536
bufferTime: 3738, outputRateWindowTime: 1000, dropThreshold: 4238
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
Total frames rendered: 295147, number of frames that lagged: 89 (0.03%) (it's okay for some frames to lag)
Number of b-frames dropped: 814 (0.1%), Number of p-frames dropped: 436 (0.054%), Total 1250 (0.15%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 2.574 ms] [avg calls per frame: 1] [children: 64.9%] [unaccounted: 35.1%]
| scene->Preprocess - [0.0777%] [avg time: 0.002 ms] [avg calls per frame: 1]
| video encoding and uploading - [64.8%] [avg time: 1.669 ms] [avg calls per frame: 1] [children: 38.3%] [unaccounted: 26.6%]
| | CopyResource - [0.855%] [avg time: 0.022 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.699%] [avg time: 0.018 ms] [avg calls per frame: 0]
| | call to encoder - [34.2%] [avg time: 0.881 ms] [avg calls per frame: 0]
| | sending stuff out - [2.49%] [avg time: 0.064 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
it's not anything to worry about. Also those repeated messages are fine. everything looks good now. 2.5ms frame time.. that's quite fast :)
 
Top