Question / Help Losing frames

Gaskin

New Member
For some reason i'm losing ALOT of frames.
My internet connection seems to be more than i need for the bitrate i use and i have no idea how can i fix it.

Testmy.net
Code:
:::.. Upload Speed Test Results ..:::
Upload Connection Speed:: 2599 Kbps or 2.6 Mbps 
Upload Speed Test Size:: 33 MB or 33792 kB or 34603008 bytes
Upload Binary File Transfer Speed:: 325 kB/s
Tested At:: http://TestMy.net Version 13
Validation:: http://testmy.net/db/ZzqJxmA
More Stats:: http://testmy.net/compID/76678457467 
Test Time:: 2013-02-15 00:57:54 Local Time 
Location:: Grodzisk Mazowiecki, PL, PL
1MB Upload in 3.15 Seconds - 1GB Upload in ~54 Minutes - 46X faster than 56K
This test of exactly 33792 kB took 106.496 seconds to complete
Running at 530% of hosts average (Neostrada Plus)
User Agent:: Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.14 [!]


Log from OBS:
Code:
Open Broadcaster Software v0.47a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Duo CPU     T6600  @ 2.20GHz
CPU Speed: 2194MHz
Physical Memory:  2045MB Total, 375MB Free
stepping id: 10, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 2, total cores 2
Windows Version: 6.1 Build 7600 
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GT 240M 
  Video Adapter Dedicated Video Memory: 1026031616
  Video Adapter Shared System Memory: 804247552
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Alpha)
------------------------------------------
Using auxilary audio input: Microphone (Samson GoMic)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 1280, height: 720
    preset: ultrafast
    CBR: no
    CFR: no
    max bitrate: 1300
    buffer size: 1500
    quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2499, outputRateWindowTime: 1000, dropThreshold: 2999
RTMPPublisher::BufferedSend: Socket buffer is full (181712 / 182272 bytes), waiting to send 1163 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181712 / 182272 bytes), waiting to send 1163 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179731 / 182272 bytes), waiting to send 3565 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179731 / 182272 bytes), waiting to send 3565 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179742 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179742 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182152 / 182272 bytes), waiting to send 1580 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (180822 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181504 / 182272 bytes), waiting to send 3109 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182199 / 182272 bytes), waiting to send 365 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (180733 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182164 / 182272 bytes), waiting to send 1344 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (180860 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181557 / 182272 bytes), waiting to send 871 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181298 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179395 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181418 / 182272 bytes), waiting to send 2573 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182219 / 182272 bytes), waiting to send 336 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181468 / 182272 bytes), waiting to send 1581 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179659 / 182272 bytes), waiting to send 3078 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179659 / 182272 bytes), waiting to send 3078 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179123 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (179744 / 182272 bytes), waiting to send 3603 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182120 / 182272 bytes), waiting to send 417 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182205 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (180534 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (182174 / 182272 bytes), waiting to send 3700 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (180935 / 182272 bytes), waiting to send 1528 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (180112 / 182272 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (181490 / 182272 bytes), waiting to send 975 bytes
...
LOTS OF THOSE ^
...

Total frames rendered: 53228, number of frames that lagged: 5737 (10.78%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 14058 (9%), Total 14058 (9%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 28.523 ms] [avg calls per frame: 1] [children: 98.2%] [unaccounted: 1.83%]
| scene->Preprocess - [47.3%] [avg time: 13.505 ms] [avg calls per frame: 1]
| video encoding and uploading - [50.8%] [avg time: 14.495 ms] [avg calls per frame: 1] [children: 26.4%] [unaccounted: 24.4%]
| | CopyResource - [7.3%] [avg time: 2.082 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.445%] [avg time: 0.127 ms] [avg calls per frame: 0]
| | call to encoder - [18.5%] [avg time: 5.27 ms] [avg calls per frame: 0]
| | sending stuff out - [0.186%] [avg time: 0.053 ms] [avg calls per frame: 0]
==============================================================
 

Gaskin

New Member
Tried out server with lowest ping. Lowered graphic settings and stuff. Losing around 10% of frames all the time.
 

hilalpro

Member
you're also lagging a bit of frames but that doesn't matter much. first update to the latest test build, then turn off automatic low latency from advanced just use (minimize network impact) that is available on broadcasting settings instead.

use 1408 bitrate and buffer leave the audio at 128.
 
Top