Question / Help My stream lag (twitch.tv)

t0nniz1

Member
My Stream lag, can you say why they are doing like this.
Stream Broadcast program I use the OBS.

My Internet is: 100/100

Code:
Here is a little log:
9 frames via GPU
16:00:20: Server Ping plugin strings not found, dynamically loading 24 strings
16:00:23: Open Broadcaster Software v0.625b - 32bit (´・ω・`)
16:00:23: -------------------------------
16:00:23: CPU Name: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
16:00:23: CPU Speed: 4622MHz
16:00:23: Physical Memory:  4095MB Total, 4095MB Free
16:00:23: stepping id: 7, model 45, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
16:00:23: monitor 1: pos={0, 0}, size={1680, 1050}
16:00:23: monitor 2: pos={-1920, 0}, size={1920, 1080}
16:00:23: Windows Version: 6.2 Build 9200
16:00:23: Aero is Enabled
16:00:23: -------------------------------
16:00:23: OBS Modules:
16:00:23: Base Address  Module
16:00:23: 00280000  OBS.exe
16:00:23: 0FDC0000  OBSApi.dll
16:00:23: 67DF0000  DShowPlugin.dll
16:00:23: 678A0000  GraphicsCapture.dll
16:00:23: 67870000  NoiseGate.dll
16:00:23: 67840000  PSVPlugin.dll
16:00:23: 67820000  ServerPingPlugin.dll
16:00:23: ------------------------------------------
16:00:23: Adapter 1
16:00:23:  Video Adapter: AMD Radeon HD 7900 Series
16:00:23:  Video Adapter Dedicated Video Memory: 3194105856
16:00:23:  Video Adapter Shared System Memory: 1100795904
16:00:23:  Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
16:00:23:  Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
16:00:23: =====Stream Start: 2014-06-27, 16:00:23===============================================
16:00:23:  Multithreaded optimizations: On
16:00:23:  Base resolution: 1280x720
16:00:23:  Output resolution: 1280x720
16:00:23: ------------------------------------------
16:00:23: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
16:00:23: ------------------------------------------
16:00:23: Audio Format: 48000 Hz
16:00:23: ------------------------------------------
16:00:23: Audio Channels: 2 Ch
16:00:23: Playback device Default
16:00:23: ------------------------------------------
16:00:23: Using desktop audio input: Speakers (Realtek High Definition Audio)
16:00:23: Global Audio time adjust: 0
16:00:23: ------------------------------------------
16:00:23: Using auxilary audio input: Microphone (Realtek High Definition Audio)
16:00:23: Mic time offset: 0
16:00:23: ------------------------------------------
16:00:23: Audio Encoding: AAC
16:00:23:  bitrate: 128
16:00:23: Using text output
16:00:23: Using text output
16:00:23: Using bitmap image
16:00:23: Using bitmap image
16:00:23: Scene buffering time set to 700
16:00:23: x264: MB rate (432000) > level limit (245760)
16:00:23: ------------------------------------------
16:00:23: Video Encoding: x264
16:00:23:  fps: 120
16:00:23:  width: 1280, height: 720
16:00:23:  preset: veryfast
16:00:23:  profile: main
16:00:23:  keyint: 240
16:00:23:  CBR: yes
16:00:23:  CFR: yes
16:00:23:  max bitrate: 3500
16:00:23:  buffer size: 3500
16:00:23: ------------------------------------------
16:00:25: Using RTMP service: Twitch / Justin.tv
16:00:25:  Server selection: rtmp://live-arn.justin.tv/app
16:00:25:  Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
16:00:26: Completed handshake with rtmp://live-arn.justin.tv/app in 1021 ms.
16:00:27: SO_SNDBUF was at 65536
16:00:30: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 463872)
16:03:26: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:03:26:  New Scene
16:03:26: Using graphics capture
16:03:26: Using anti-cheat hooking for game capture
16:03:26: Trying to hook process: csgo.exe
16:03:30: SharedTexCapture hooked
16:03:31: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 463872)
16:03:41: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:03:41: SharedTexCapture hooked
16:04:11: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:04:11: SharedTexCapture hooked
16:06:52: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:06:52: SharedTexCapture hooked
16:08:31: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:08:31: SharedTexCapture hooked
16:09:49: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:09:49: SharedTexCapture hooked
16:24:00: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:24:00: SharedTexCapture hooked
16:28:21: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:28:21: SharedTexCapture hooked
16:30:15: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:30:15: SharedTexCapture hooked
16:30:57: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:30:57: SharedTexCapture hooked
16:44:22: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:44:22: SharedTexCapture hooked
16:47:57: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:47:57: SharedTexCapture hooked
16:51:30: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:51:30:  New Scene
16:51:30: Using text output
16:51:30: Using text output
16:51:30: Using bitmap image
16:51:30: Using bitmap image
16:52:56: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
16:52:56: Failed loading CUDA dll
17:03:51: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:03:51:  New Scene
17:03:51: Using graphics capture
17:03:51: Using anti-cheat hooking for game capture
17:03:51: Trying to hook process: csgo.exe
17:03:51: SharedTexCapture hooked
17:03:55: GraphicsCaptureSource::NewCapture:  eliminating old capture
17:03:55: SharedTexCapture hooked
17:05:59: GraphicsCaptureSource::NewCapture:  eliminating old capture
17:05:59: SharedTexCapture hooked
17:15:44: GraphicsCaptureSource::NewCapture:  eliminating old capture
17:15:44: SharedTexCapture hooked
17:19:46: Capture window 0x006904A2 invalid or changing, terminating capture
17:19:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:19:48:  New Scene
17:19:48: Using text output
17:19:48: Using text output
17:19:48: Using bitmap image
17:19:48: Using bitmap image
17:20:33: Total frames encoded: 577066, total frames duplicated: 3605 (0.62%)
17:20:33: Number of frames skipped due to encoder lag: 41 (0.01%)
17:20:33: Total frames rendered: 575191, number of late frames: 251 (0.04%) (it's okay for some frames to be late)
17:20:33: RTMPPublisher::SocketLoop: Graceful loop exit
17:20:33: Average send payload: 5606 bytes, average send interval: 12 ms
17:20:33: Number of times waited to send: 0, Waited for a total of 0 bytes
17:20:33: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:20:33: Number of bytes sent: 2189099999
17:20:33:
17:20:33: Profiler time results:
17:20:33:
17:20:33: ==============================================================
17:20:33: video thread frame - [100%] [avg time: 0.585 ms] [children: 16.6%] [unaccounted: 83.4%]
17:20:33: | scene->Preprocess - [0.342%] [avg time: 0.002 ms]
17:20:33: | GPU download and conversion - [16.2%] [avg time: 0.095 ms] [children: 13.7%] [unaccounted: 2.56%]
17:20:33: | | flush - [11.1%] [avg time: 0.065 ms]
17:20:33: | | CopyResource - [2.05%] [avg time: 0.012 ms]
17:20:33: | | conversion to 4:2:0 - [0.513%] [avg time: 0.003 ms]
17:20:33: Convert444Threads - [100%] [avg time: 0.333 ms] [children: 97.9%] [unaccounted: 2.1%]
17:20:33: | Convert444toNV12 - [97.9%] [avg time: 0.326 ms]
17:20:33: encoder thread frame - [100%] [avg time: 0.865 ms] [children: 1.85%] [unaccounted: 98.2%]
17:20:33: | sending stuff out - [1.85%] [avg time: 0.016 ms]
17:20:33: ==============================================================
17:20:33:
17:20:33:
17:20:33: Profiler CPU results:
17:20:33:
17:20:33: ==============================================================
17:20:33: video thread frame - [cpu time: avg 0.027 ms, total 15703.1 ms] [avg calls per frame: 1]
17:20:33: | scene->Preprocess - [cpu time: avg 0 ms, total 31.25 ms] [avg calls per frame: 1]
17:20:33: | GPU download and conversion - [cpu time: avg 0.007 ms, total 4343.75 ms] [avg calls per frame: 1]
17:20:33: | | flush - [cpu time: avg 0.004 ms, total 2687.5 ms] [avg calls per frame: 1]
17:20:33: | | CopyResource - [cpu time: avg 0.001 ms, total 625 ms] [avg calls per frame: 1]
17:20:33: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 234.375 ms] [avg calls per frame: 1]
17:20:33: Convert444Threads - [cpu time: avg 0.102 ms, total 118344 ms] [avg calls per frame: 2]
17:20:33: | Convert444toNV12 - [cpu time: avg 0.101 ms, total 116172 ms] [avg calls per frame: 2]
17:20:33: encoder thread frame - [cpu time: avg 0.101 ms, total 58515.6 ms] [avg calls per frame: 1]
17:20:33: | sending stuff out - [cpu time: avg 0.008 ms, total 4890.63 ms] [avg calls per frame: 1]
17:20:33: ==============================================================
17:20:33:
17:20:33: =====Stream End: 2014-06-27, 17:20:33=================================================
17:20:34: Server Ping plugin instance deleted; removing dynamically loaded localization strings
 
The website's analyzer shows your settings are way out of whack.

With decent internet ("100/100"), try streaming 30 frames per second, 1280x720 resolution, at 2000kbps bitrate and see how that works.

Or use the estimator.
 

dodgepong

Administrator
Forum Admin
Why are you trying to record at 120fps? That is outrageously unnecessary and extremely demanding on your computer. You have absolutely no need to do that. Nobody will be able to watch a 120fps stream. You should only every stream at 60fps max.
 

t0nniz1

Member
Why are you trying to record at 120fps? That is outrageously unnecessary and extremely demanding on your computer. You have absolutely no need to do that. Nobody will be able to watch a 120fps stream. You should only every stream at 60fps max.
but still lag 60 fps
 

t0nniz1

Member
Help me!

https://gist.github.com/anonymous/c320a02241afaf8c09d2

lag between http://www.twitch.tv/tonni92/b/542990703

OBS analyce is say:

Possible slow server

The server you are streaming to (rtmp://live-lhr.justin.tv/app) took 786 ms to connect. This may mean your connection or the server is slow, or the server is far away from you. If you are using twitch.tv, you may want to try using JTVPing to find an optimal server.

Slow sources detected

Some of your sources are taking a very long time to start or stop when changing scenes. If you use video devices such as a webcam, capture card, etc, add them as global sources to prevent this.

Connection stalls detected

Your connection is stalling while sending data. This can result in frame drops, stream freezes and disconnects. Try changing the server you are streaming to, or lowering your bitrate

3 issues found (2 major, 1 minor).

And

I use enable CBR Padding and
i use CFR?
 
Last edited:

dodgepong

Administrator
Forum Admin
Yes, you should use CFR.

It looks like you're dropping a lot of frames, and the game hook is resetting itself a lot. Make sure you are running OBS as administrator, and try lowering your bit rate a bit.
 

t0nniz1

Member
The picture quality looks fine to me.
ok, thanks..

Currently these settings:
1280x720
30 fps
bitrate: 2500

I thought that if I could, but this raises a ton of reading to 60 fps, but then again it lag, described the last time began to lag

Can I / Should I set the bitrate to 3500?
 

Hopewithinchaos

Forum Moderator
I'm not sure what you're complaining about. That is very good quality. It's not going to be absolutely perfect, like you're watching the game being played in front of you, rather than on a stream. for 60fps at 3500 for such a fast paced game, that looked great.
 

t0nniz1

Member
My stream is pixels,

i testing 1800 and 2500 but pixels

My settings now:
Base resolution: 1920x1080
Output resolution: 1280x720

Bitrate: 2500
FPS: 30

Screenshots:
http://i.imgur.com/jWfQvd0.jpg
http://i.imgur.com/xG92Y0y.jpg

Hmm, i Change fps 60?

I'm not sure what you're complaining about. That is very good quality. It's not going to be absolutely perfect, like you're watching the game being played in front of you, rather than on a stream. for 60fps at 3500 for such a fast paced game, that looked great.

and in this you are wrong.

Yes it may be even to good quality, zander not setup correctly but I do not ymmärä why this is a pixel garbage, every single thing I tried Regulation
 
Last edited:
Top