Question / Help Reason for frames dropped?

werto

New Member
Hi there all!
I am almost sure that it must be justintv fault...but maybe its just sth wrong with my settings.

First some info:
I use OBS on my laptop with sc2 and sc2 hots beta. I belive for more detailed specs u can see my log file.
My bandwidth is aprox 90mbps down/80mbps up with really small variations eg 80down/70+up. Since i HAD some variations on my upload speed i changed MTU size on my router to 999 (from 1500 default) and now i am almost sure that my innternet speed is really fast AND reliable.
I use v0.467a (test 2) version of OBS.

Now, here are the problems that i encountered:
Dropped Frames (Not all times but once every 3-4 streams)
Log file example:

Code:
Open Broadcaster Software v0.467a (test 2) - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
CPU Speed: 2395MHz
Physical Memory:  8088MB Total, 6468MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 33554432
  Video Adapter Shared System Memory: 1711276032
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GT 640M
  Video Adapter Dedicated Video Memory: 2091712512
  Video Adapter Shared System Memory: 2147479552
------------------------------------------
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: 1366x768
  Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 64
Using bitmap image
Using Slide Show
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1364, height: 768
    preset: veryfast
    CBR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
curTime: 217483, timeOffset: 9
newTimestamp: 217496, actualTimestamp: 217502, offset: 6
newTimestamp: 217506, actualTimestamp: 217512, offset: 6
vidTimestamp: 217518, actualTimestamp: 217522, offset: 4
etc etc............................................................................

vidTimestamp: 220454, actualTimestamp: 220452, offset: 2
newTimestamp: 220464, actualTimestamp: 220462, offset: 2
newTimestamp: 220474, actualTimestamp: 220472, offset: 2
newTimestamp: 220484, actualTimestamp: 220482, offset: 2
vidTimestamp: 220487, actualTimestamp: 220493, offset: 6
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 2484, outputRateWindowTime: 1000, dropThreshold: 2984
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using Window Capture
Using Window Capture
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using bitmap image
Using bitmap image
Using bitmap image
Using bitmap image
Using Window Capture
Using Window Capture
Using bitmap image
Using bitmap image
Using bitmap image
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
Using Window Capture
Using Slide Show
RTMPPublisher::BufferedSend: Buffer is full (389960 / 392192 bytes), waiting to send 2755 bytes
RTMPPublisher::BufferedSend: Buffer is full (389960 / 392192 bytes), waiting to send 2755 bytes
RTMPPublisher::BufferedSend: Buffer is full (389124 / 392192 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (390160 / 392192 bytes), waiting to send 3364 bytes
RTMPPublisher::BufferedSend: Buffer is full (388239 / 392192 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (388239 / 392192 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (391221 / 392192 bytes), waiting to send 2514 bytes
etc etc..................................................................................

RTMPPublisher::BufferedSend: Buffer is full (391091 / 392192 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (392189 / 392192 bytes), waiting to send 4097 bytes
Total frames rendered: 119951, number of frames that lagged: 4 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 12921 (4.4%), Number of p-frames dropped: 19758 (6.8%), Total 32679 (11%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1366x768
  Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (2- Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 64
Using bitmap image
Using Slide Show
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1364, height: 768
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
curTime: 4278062, timeOffset: 9
newTimestamp: 4278070, actualTimestamp: 4278078, offset: 8
newTimestamp: 4278080, actualTimestamp: 4278089, offset: 9

etc etc..................................................................

vidTimestamp: 4281055, actualTimestamp: 4281059, offset: 4
newTimestamp: 4281065, actualTimestamp: 4281068, offset: 3
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 2485, outputRateWindowTime: 1000, dropThreshold: 2985
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using Slide Show
Using Slide Show
Using Slide Show
Using Slide Show
Using Slide Show
Using Slide Show
Using bitmap image
Using Window Capture
Using Window Capture
RTMPPublisher::BufferedSend: Buffer is full (326456 / 327680 bytes), waiting to send 2165 bytes
RTMPPublisher::BufferedSend: Buffer is full (326456 / 327680 bytes), waiting to send 2165 bytes
RTMPPublisher::BufferedSend: Buffer is full (326954 / 327680 bytes), waiting to send 2663 bytes
etc etc.....................................................

RTMPPublisher::BufferedSend: Buffer is full (327151 / 327680 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (323633 / 327680 bytes), waiting to send 4097 bytes
Total frames rendered: 62314, number of frames that lagged: 6 (0.01%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 6151 (4.1%), Number of p-frames dropped: 8487 (5.6%), Total 14638 (9.7%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.557 ms] [avg calls per frame: 1] [children: 89.1%] [unaccounted: 10.9%]
| scene->Preprocess - [10.6%] [avg time: 0.801 ms] [avg calls per frame: 1]
| video encoding and uploading - [78.5%] [avg time: 5.929 ms] [avg calls per frame: 1] [children: 27.2%] [unaccounted: 51.2%]
| | CopyResource - [1.32%] [avg time: 0.1 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.119%] [avg time: 0.009 ms] [avg calls per frame: 0]
| | call to encoder - [25.7%] [avg time: 1.939 ms] [avg calls per frame: 0]
| | sending stuff out - [0.146%] [avg time: 0.011 ms] [avg calls per frame: 0]
==============================================================



As you can see lots of frames were dropped and my stream was laggy. Sound didnt have any issues.

A second problem that i encountered are some random but RARE freezes during my sc2 games. Only sc2 freezes and opening the task manager solves the issue (i dont have to stop sc2.....just open the task manager!). This happens only when OBS is active...but unfortunatelly i wasnt wise enouph to keep the log file.

Third problem is that when i sometimes set my stream at a bitrate of 2500-2500 insted of 3000.....twitchtv wont show my stream (but it will record it normally). Maybe it was just a coincidence but using 3000 never does that. I know this is a justintv bug....but can it be the bitrate?

So....what do u think? CPU, OBS settings. bandwidth or just justintv problem?
 
Top