Question / Help frames drop on stream (not in game)

Status
Not open for further replies.

melancholyx3

New Member
Hello,

I have tried multiple settings on OBS, but apparently my frames keep dropping on stream and there are these lag spikes.

My specs:
AMD FX-4100 Quad Core 3.6GHz
4 GB Ram
AMD HD Radeon 6670

my previous broadcast on twitch:
http://www.twitch.tv/melancholyx3/video ... broadcasts

Down/Up based on http://testmy.net/

3.2 / 1.8


Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD FX(tm)-4100 Quad-Core Processor
CPU Speed: 3616MHz
Physical Memory:  4093MB Total, 1488MB Free
stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6670
  Video Adapter Dedicated Video Memory: 1064005632
  Video Adapter Shared System Memory: 1877766144
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 800x450
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C310)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using text output
Using bitmap image
Using bitmap image
Using Monitor Capture
Using Window Capture
Using Window Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 3.0
------------------------------------------
Video Encoding: x264
    fps: 24
    width: 800, height: 450
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1500
    buffer size: 1500
    quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1414, outputRateWindowTime: 1000, dropThreshold: 1914
Total frames rendered: 421, number of frames that lagged: 93 (22.09%) (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%)
x264: frame I:2     Avg QP:23.37  size: 69909
x264: frame P:146   Avg QP:26.94  size: 10423
x264: frame B:239   Avg QP:33.09  size:  2013
x264: consecutive B-frames:  2.3% 31.8% 39.2% 26.7%
x264: mb I  I16..4:  2.7%  6.5% 90.8%
x264: mb P  I16..4:  1.0%  0.8%  1.1%  P16..4: 37.3% 18.6%  9.1%  0.0%  0.0%    skip:32.1%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8: 11.4%  4.8%  0.6%  direct: 4.4%  skip:78.7%  L0:35.8% L1:47.7% BI:16.5%
x264: 8x8 transform intra:19.8% inter:19.7%
x264: coded y,uvDC,uvAC intra: 84.3% 86.9% 68.3% inter: 10.9% 13.5% 7.5%
x264: i16 v,h,dc,p: 12% 49% 30%  9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 16% 34%  4%  8%  6%  7%  5%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 25% 15%  7%  8%  8%  8%  7%  9%
x264: i8c dc,h,v,p: 48% 30% 12%  9%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:926.87
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 43.427 ms] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.205%]
| scene->Preprocess - [96.6%] [avg time: 41.957 ms] [avg calls per frame: 1]
| video encoding and uploading - [3.18%] [avg time: 1.381 ms] [avg calls per frame: 1] [children: 3.02%] [unaccounted: 0.161%]
| | CopyResource - [0.0276%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.00691%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [2.84%] [avg time: 1.233 ms] [avg calls per frame: 0]
| | sending stuff out - [0.145%] [avg time: 0.063 ms] [avg calls per frame: 0]
==============================================================
 
I see you have 2 Window Captures and a Monitor capture. Those are probably slowing you down, since Window Capture performs very poorly when Aero is disabled. Try converting them all to Monitor captures, assuming you need different captures in one scene.
 
Hey, I deleted 2 of my window captures and is just using a monitor capture now. I tried streaming, and it's a lot better but I do notice a little freeze, nothing major. Here is a video of it: http://www.twitch.tv/melancholyx3/b/385138933 and the following is the log:

Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD FX(tm)-4100 Quad-Core Processor
CPU Speed: 3616MHz
Physical Memory:  4093MB Total, 2023MB Free
stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6670
  Video Adapter Dedicated Video Memory: 1064005632
  Video Adapter Shared System Memory: 1877766144
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1600x900
  Output resolution: 1600x900
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (HD Webcam C310)
------------------------------------------
Audio Encoding: AAC
    bitrate: 64
Using text output
Using bitmap image
Using bitmap image
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 24
    width: 1600, height: 900
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1530
    buffer size: 1530
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1411, outputRateWindowTime: 1000, dropThreshold: 1911
Total frames rendered: 1778, number of frames that lagged: 20 (1.12%) (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%)
x264: frame I:7     Avg QP:32.51  size: 59848
x264: frame P:533   Avg QP:31.96  size: 15455
x264: frame B:1203  Avg QP:40.40  size:  4749
x264: consecutive B-frames:  4.1%  4.6% 21.0% 70.4%
x264: mb I  I16..4: 44.5% 35.9% 19.6%
x264: mb P  I16..4:  5.2%  2.5%  1.0%  P16..4: 16.4%  3.4%  1.5%  0.0%  0.0%    skip:70.1%
x264: mb B  I16..4:  0.3%  0.1%  0.1%  B16..8:  3.6%  1.4%  0.2%  direct: 4.6%  skip:89.6%  L0:39.7% L1:48.0% BI:12.3%
x264: 8x8 transform intra:29.1% inter:18.1%
x264: coded y,uvDC,uvAC intra: 43.4% 64.3% 40.4% inter: 2.9% 7.6% 4.6%
x264: i16 v,h,dc,p: 34% 29% 28%  9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 13% 45%  4%  7%  5%  5%  4%  6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 20% 25%  7%  7%  7%  7%  6%  6%
x264: i8c dc,h,v,p: 55% 21% 18%  6%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:1531.33
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 26.414 ms] [avg calls per frame: 1] [children: 99.7%] [unaccounted: 0.333%]
| scene->Preprocess - [59.5%] [avg time: 15.72 ms] [avg calls per frame: 1]
| video encoding and uploading - [40.2%] [avg time: 10.606 ms] [avg calls per frame: 1] [children: 20.7%] [unaccounted: 19.4%]
| | CopyResource - [6.04%] [avg time: 1.596 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0151%] [avg time: 0.004 ms] [avg calls per frame: 0]
| | call to encoder - [14.5%] [avg time: 3.829 ms] [avg calls per frame: 0]
| | sending stuff out - [0.17%] [avg time: 0.045 ms] [avg calls per frame: 0]
==============================================================
 
You'll probably get better performance using Game Capture to capture LoL instead of Monitor Capture. If you want to capture the pre-game client, too, you can make another scene with Monitor capture and use the Simple Scene Switcher to switch back and forth between scenes when you get into the game so you won't have to do it manually.
 
Read through the thread where the plugin was posted and as your question about it there.
 
I do have the same problem. My stream is experiencing frame drops,
while my game is just playing at the same frames.
I've looked almost at every forum I could find, tried a lot of settings,
but can't manage to find the problem.

It keeps saying High CPU usage, and stuff.
Is there any way I can make my stream work the
way it suppose to work?


I am running a AMD 5600k Processor,
HyperX Fury 8 gigs of Ram
graphics card: Nvidia GeForce GTX 260( I know, still need an upgrade)

Looking up here, I am only running one Window Capture, and maybe some
tekst, but nothing special.

Looking at Speedtest.net

My download is: 44.88 mbps
My upload is: 18.44 mbps

Can some one please help me with this?

I am willing to stream World of Warcraft gameplay
 
Status
Not open for further replies.
Back
Top