Bug Report 0.48.003 | Ping issues

ball2hi

Member
Code:
Open Broadcaster Software v0.48.003b (experimental test build) - 64bit ( ^ω^)
-------------------------------
CPU Name: AMD Athlon(tm) II X4 635 Processor
CPU Speed: 3291MHz
Physical Memory:  4094MB Total, 2725MB Free
stepping id: 2, model 5, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5670
  Video Adapter Dedicated Video Memory: 1066237952
  Video Adapter Shared System Memory: 1878257664
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 852x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 852, height: 480
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1650
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lax-backup.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 13172, number of frames that lagged: 1 (0.01%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 852x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 852, height: 480
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1550
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lax-backup.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 2105, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
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 times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 852x480
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 25
    width: 852, height: 480
    preset: faster
    CBR: yes
    CFR: no
    max bitrate: 1650
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lax.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 8692, number of frames that lagged: 2 (0.02%) (it's okay for some frames to lag)
Total duplicated frames: 1 (0.01%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of times waited to send: 0, Waited for a total of 0 bytes
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: 1.641 ms] [avg calls per frame: 1] [children: 87.2%] [unaccounted: 12.8%]
| scene->Preprocess - [0.305%] [avg time: 0.005 ms] [avg calls per frame: 1]
| video encoding and uploading - [86.9%] [avg time: 1.426 ms] [avg calls per frame: 1] [children: 81.8%] [unaccounted: 5.12%]
| | CopyResource - [0.975%] [avg time: 0.016 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.41%] [avg time: 0.056 ms] [avg calls per frame: 0]
| | call to encoder - [75%] [avg time: 1.231 ms] [avg calls per frame: 0]
| | sending stuff out - [2.38%] [avg time: 0.039 ms] [avg calls per frame: 0]
==============================================================
With the new recent build, I dropped my FPS from 30 to 25 (Still very smooth, less work on my CPU) but have been having terrible latency issues. My steam seems to reach a constant 2050 KBP/s even though I have CBR of 1650, or even 1550. This is making gaming very difficult since my ping pretty much increases by at least 250ms.

Would like some help, trying to solve it on my own but haven't gotten any results.
 

ball2hi

Member
hilalpro said:
At that resolution and fps you can afford to drop the bitrate a bit more without sacrificing much quality.
How much is a bit more?

Also, not really what I'm asking. I didn't have this issue earlier this morning, it never peaked that high. Ever since I tried to mess with 540 (Due to the new changes) I've been lagging hardcore trying to stream.
 

hilalpro

Member
If you want your ping problem to go away drop your bitrate/bufsize down to 1200 at a 10 quality (disable cbr). if you're asking about why a constant bitrate is spiking then yes even cbr is not a real flat bitrate. the encoder cannot simply force each frame to be at the exact same size.
 

ball2hi

Member
It seems to have fixed my ping issue dropping the bitrate that low, and not even noticing any quality loss. Is there a quick guide or something I can look at for bitrate calculations for set res/fps or something.
 

ball2hi

Member
I was moreso looking for a set bitrate for res/fps kind of like Hilalpro's signature. Reason being is I'm thinking about trying out 540.

I think I've settled on 480 ~6 1400/1400. I play high-moving FPS games, so I'm not sure if I should change something.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If your game's ping is being affected by the stream, use "minimize network impact" in broadcast settings
 

ball2hi

Member
Okay so I've settled on 1550 KB/s with 96 KB/s audio. Quality of 10, veryfast.

@432
@480

What I'm trying to accomplish here is, least amount of pixelation while at the same time, keeping text readable in-game. If you notice throughout the streams I shoot my bot team mates to test the "Black-Red" box which displays kills and Incapacitation. Problem being though, the text becomes very unreadable on bright maps and there is a lot more pixelation on these maps and similar maps with lots of bright colors. I can't increase bit-rate, and changing from "veryfast" to "faster" gets me close to 99% cpu usage, but never over 95%.

Also for some reason, I can stream at a higher bitrate (Say, 1700 or even 1800) but after a while of streaming OBS seems to go out of control and tries to use all 2100 of my upload for every fast-pace scene. So I've had to settle on 1550, so even when the stream gets out of control it won't reach my bandwidth cap.
 
Top