Question / Help Stream is lagging ..

FLoPJEHZ

New Member
Hello,
So im streaming now for quite some time, but sometimes my stream is just lagging and i tried to fix it by myself but somehow i totally got it worse now. I will give you my Settings now:

Intel core i5-4570 CPU 3.20 GHz
Nvidia GeForce GTX 760
Windows 8 64 bit
8 GB RAM

19:03:23: Open Broadcaster Software v0.652b - 32bit (´・ω・`)

19:03:23: -------------------------------

19:03:23: CPU Name: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz

19:03:23: CPU Speed: 3193MHz

19:03:23: Physical Memory: 4095MB Total, 4095MB Free

19:03:23: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4

19:03:23: monitor 1: pos={0, 0}, size={1920, 1080}

19:03:23: monitor 2: pos={1920, 0}, size={1920, 1080}

19:03:23: Windows Version: 6.2 Build 9200

19:03:23: Aero is Enabled

19:03:23: -------------------------------

19:03:23: OBS Modules:

19:03:23: Base Address Module

19:03:23: 01010000 OBS.exe

19:03:23: 634B0000 OBSApi.dll

19:03:23: 63950000 DShowPlugin.dll

19:03:23: 63420000 GraphicsCapture.dll

19:03:23: 633F0000 NoiseGate.dll

19:03:23: 62FE0000 PSVPlugin.dll

19:03:23: 62FC0000 scenesw.dll

19:03:23: ------------------------------------------

19:03:23: Adapter 1

19:03:23: Video Adapter: NVIDIA GeForce GTX 760

19:03:23: Video Adapter Dedicated Video Memory: 2083188736

19:03:23: Video Adapter Shared System Memory: 2147807232

19:03:23: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true

19:03:23: Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true

19:03:23: =====Stream Start: 2015-07-16, 19:03:23===============================================

19:03:23: Multithreaded optimizations: On

19:03:23: Base resolution: 1920x1080

19:03:23: Output resolution: 1920x1080

19:03:23: ------------------------------------------

19:03:23: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...

19:03:23: ------------------------------------------

19:03:23: Audio Format: 48000 Hz

19:03:23: ------------------------------------------

19:03:23: Audio Channels: 2 Ch

19:03:23: Playback device Default

19:03:23: ------------------------------------------

19:03:23: Using desktop audio input: Speakers (Realtek High Definition Audio)

19:03:23: Global Audio time adjust: 0

19:03:23: ------------------------------------------

19:03:23: Using auxilary audio input: Microphone (Realtek High Definition Audio)

19:03:23: Mic time offset: 0

19:03:23: ------------------------------------------

19:03:23: Audio Encoding: AAC

19:03:23: bitrate: 96

19:03:23: ------------------------------------------

19:03:23: device: Logitech Webcam C210,

19:03:23: device id \\?\usb#vid_046d&pid_0819&mi_00#6&3664578b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},

19:03:23: chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000

19:03:23: use buffering: false - 0, fourCC: 'I420'

19:03:23: audio device: Disable,

19:03:23: audio device id Disabled,

19:03:23: audio time offset 0,

19:03:23:

19:03:23: Using directshow input

19:03:23: Using Monitor Capture

19:03:24: Scene buffering time set to 400

19:03:24: ------------------------------------------

19:03:24: Video Encoding: x264

19:03:24: fps: 30

19:03:24: width: 1920, height: 1080

19:03:24: preset: veryfast

19:03:24: profile: main

19:03:24: keyint: 60

19:03:24: CBR: yes

19:03:24: CFR: no

19:03:24: max bitrate: 1800

19:03:24: buffer size: 2000

19:03:24: ------------------------------------------

19:03:26: Using RTMP service: Twitch

19:03:26: Server selection: rtmp://live-fra.twitch.tv/app

19:03:26: Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)

19:03:26: librtmp error: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10054 (Eine vorhandene Verbindung wurde vom Remotehost geschlossen.)

19:03:26: librtmp error: RTMP_Connect1, handshake failed.

19:03:26: Connection to rtmp://live-fra.twitch.tv/app failed: Could not connect to server

19:03:26:

19:03:26: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10054 (Eine vorhandene Verbindung wurde vom Remotehost geschlossen.)

19:03:26: RTMP_Connect1, handshake failed.

19:03:26:

19:03:27: Total frames encoded: 77, total frames duplicated: 0 (0.00%)

19:03:27: Total frames rendered: 93, number of late frames: 0 (0.00%) (it's okay for some frames to be late)

19:03:27: ~RTMPPublisher: Packet flush completed in 0 ms

19:03:27: Number of times waited to send: 0, Waited for a total of 0 bytes

19:03:27: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)

19:03:27: Number of bytes sent: 0

19:03:27:

19:03:27: Profiler time results:

19:03:27:

19:03:27: ==============================================================

19:03:27: video thread frame - [100%] [avg time: 2.419 ms] [children: 33.6%] [unaccounted: 66.4%]

19:03:27: | scene->Preprocess - [24.3%] [avg time: 0.588 ms]

19:03:27: | GPU download and conversion - [9.3%] [avg time: 0.225 ms] [children: 7.03%] [unaccounted: 2.27%]

19:03:27: | | flush - [5.91%] [avg time: 0.143 ms]

19:03:27: | | CopyResource - [0.992%] [avg time: 0.024 ms]

19:03:27: | | conversion to 4:2:0 - [0.124%] [avg time: 0.003 ms]

19:03:27: Convert444Threads - [100%] [avg time: 1.219 ms] [children: 98.9%] [unaccounted: 1.07%]

19:03:27: | Convert444toNV12 - [98.9%] [avg time: 1.206 ms]

19:03:27: encoder thread frame - [100%] [avg time: 2.469 ms] [children: 0.81%] [unaccounted: 99.2%]

19:03:27: | sending stuff out - [0.81%] [avg time: 0.02 ms]

19:03:27: ==============================================================

19:03:27:

19:03:27:

19:03:27: Profiler CPU results:

19:03:27:

19:03:27: ==============================================================

19:03:27: video thread frame - [cpu time: avg 1.176 ms, total 109.375 ms] [avg calls per frame: 1]

19:03:27: | scene->Preprocess - [cpu time: avg 0.168 ms, total 15.625 ms] [avg calls per frame: 1]

19:03:27: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: Convert444Threads - [cpu time: avg 1.602 ms, total 250 ms] [avg calls per frame: 2]

19:03:27: | Convert444toNV12 - [cpu time: avg 1.602 ms, total 250 ms] [avg calls per frame: 2]

19:03:27: encoder thread frame - [cpu time: avg 1.826 ms, total 140.625 ms] [avg calls per frame: 1]

19:03:27: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: ==============================================================

19:03:27:

19:03:27: =====Stream End: 2015-07-16, 19:03:27=================================================

19:03:30: =====Stream Start: 2015-07-16, 19:03:30===============================================

19:03:30: Multithreaded optimizations: On

19:03:30: Base resolution: 1920x1080

19:03:30: Output resolution: 1920x1080

19:03:30: ------------------------------------------

19:03:30: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...

19:03:30: ------------------------------------------

19:03:30: Audio Format: 48000 Hz

19:03:30: ------------------------------------------

19:03:30: Audio Channels: 2 Ch

19:03:30: Playback device Default

19:03:30: ------------------------------------------

19:03:30: Using desktop audio input: Speakers (Realtek High Definition Audio)

19:03:30: Global Audio time adjust: 0

19:03:30: ------------------------------------------

19:03:30: Using auxilary audio input: Microphone (Realtek High Definition Audio)

19:03:30: Mic time offset: 0

19:03:30: ------------------------------------------

19:03:30: Audio Encoding: AAC

19:03:30: bitrate: 96

19:03:30: ------------------------------------------

19:03:30: device: Logitech Webcam C210,

19:03:30: device id \\?\usb#vid_046d&pid_0819&mi_00#6&3664578b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},

19:03:30: chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000

19:03:30: use buffering: false - 0, fourCC: 'I420'

19:03:30: audio device: Disable,

19:03:30: audio device id Disabled,

19:03:30: audio time offset 0,

19:03:30:

19:03:30: Using directshow input

19:03:30: Using Monitor Capture

19:03:31: Scene buffering time set to 400



Hopefully you guys can help me!
 
Hello,
So im streaming now for quite some time, but sometimes my stream is just lagging and i tried to fix it by myself but somehow i totally got it worse now. I will give you my Settings now:

Intel core i5-4570 CPU 3.20 GHz
Nvidia GeForce GTX 760
Windows 8 64 bit
8 GB RAM

19:03:23: Open Broadcaster Software v0.652b - 32bit (´・ω・`)

19:03:23: -------------------------------

19:03:23: CPU Name: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz

19:03:23: CPU Speed: 3193MHz

19:03:23: Physical Memory: 4095MB Total, 4095MB Free

19:03:23: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4

19:03:23: monitor 1: pos={0, 0}, size={1920, 1080}

19:03:23: monitor 2: pos={1920, 0}, size={1920, 1080}

19:03:23: Windows Version: 6.2 Build 9200

19:03:23: Aero is Enabled

19:03:23: -------------------------------

19:03:23: OBS Modules:

19:03:23: Base Address Module

19:03:23: 01010000 OBS.exe

19:03:23: 634B0000 OBSApi.dll

19:03:23: 63950000 DShowPlugin.dll

19:03:23: 63420000 GraphicsCapture.dll

19:03:23: 633F0000 NoiseGate.dll

19:03:23: 62FE0000 PSVPlugin.dll

19:03:23: 62FC0000 scenesw.dll

19:03:23: ------------------------------------------

19:03:23: Adapter 1

19:03:23: Video Adapter: NVIDIA GeForce GTX 760

19:03:23: Video Adapter Dedicated Video Memory: 2083188736

19:03:23: Video Adapter Shared System Memory: 2147807232

19:03:23: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true

19:03:23: Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true

19:03:23: =====Stream Start: 2015-07-16, 19:03:23===============================================

19:03:23: Multithreaded optimizations: On

19:03:23: Base resolution: 1920x1080

19:03:23: Output resolution: 1920x1080

19:03:23: ------------------------------------------

19:03:23: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...

19:03:23: ------------------------------------------

19:03:23: Audio Format: 48000 Hz

19:03:23: ------------------------------------------

19:03:23: Audio Channels: 2 Ch

19:03:23: Playback device Default

19:03:23: ------------------------------------------

19:03:23: Using desktop audio input: Speakers (Realtek High Definition Audio)

19:03:23: Global Audio time adjust: 0

19:03:23: ------------------------------------------

19:03:23: Using auxilary audio input: Microphone (Realtek High Definition Audio)

19:03:23: Mic time offset: 0

19:03:23: ------------------------------------------

19:03:23: Audio Encoding: AAC

19:03:23: bitrate: 96

19:03:23: ------------------------------------------

19:03:23: device: Logitech Webcam C210,

19:03:23: device id \\?\usb#vid_046d&pid_0819&mi_00#6&3664578b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},

19:03:23: chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000

19:03:23: use buffering: false - 0, fourCC: 'I420'

19:03:23: audio device: Disable,

19:03:23: audio device id Disabled,

19:03:23: audio time offset 0,

19:03:23:

19:03:23: Using directshow input

19:03:23: Using Monitor Capture

19:03:24: Scene buffering time set to 400

19:03:24: ------------------------------------------

19:03:24: Video Encoding: x264

19:03:24: fps: 30

19:03:24: width: 1920, height: 1080

19:03:24: preset: veryfast

19:03:24: profile: main

19:03:24: keyint: 60

19:03:24: CBR: yes

19:03:24: CFR: no

19:03:24: max bitrate: 1800

19:03:24: buffer size: 2000

19:03:24: ------------------------------------------

19:03:26: Using RTMP service: Twitch

19:03:26: Server selection: rtmp://live-fra.twitch.tv/app

19:03:26: Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)

19:03:26: librtmp error: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10054 (Eine vorhandene Verbindung wurde vom Remotehost geschlossen.)

19:03:26: librtmp error: RTMP_Connect1, handshake failed.

19:03:26: Connection to rtmp://live-fra.twitch.tv/app failed: Could not connect to server

19:03:26:

19:03:26: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10054 (Eine vorhandene Verbindung wurde vom Remotehost geschlossen.)

19:03:26: RTMP_Connect1, handshake failed.

19:03:26:

19:03:27: Total frames encoded: 77, total frames duplicated: 0 (0.00%)

19:03:27: Total frames rendered: 93, number of late frames: 0 (0.00%) (it's okay for some frames to be late)

19:03:27: ~RTMPPublisher: Packet flush completed in 0 ms

19:03:27: Number of times waited to send: 0, Waited for a total of 0 bytes

19:03:27: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)

19:03:27: Number of bytes sent: 0

19:03:27:

19:03:27: Profiler time results:

19:03:27:

19:03:27: ==============================================================

19:03:27: video thread frame - [100%] [avg time: 2.419 ms] [children: 33.6%] [unaccounted: 66.4%]

19:03:27: | scene->Preprocess - [24.3%] [avg time: 0.588 ms]

19:03:27: | GPU download and conversion - [9.3%] [avg time: 0.225 ms] [children: 7.03%] [unaccounted: 2.27%]

19:03:27: | | flush - [5.91%] [avg time: 0.143 ms]

19:03:27: | | CopyResource - [0.992%] [avg time: 0.024 ms]

19:03:27: | | conversion to 4:2:0 - [0.124%] [avg time: 0.003 ms]

19:03:27: Convert444Threads - [100%] [avg time: 1.219 ms] [children: 98.9%] [unaccounted: 1.07%]

19:03:27: | Convert444toNV12 - [98.9%] [avg time: 1.206 ms]

19:03:27: encoder thread frame - [100%] [avg time: 2.469 ms] [children: 0.81%] [unaccounted: 99.2%]

19:03:27: | sending stuff out - [0.81%] [avg time: 0.02 ms]

19:03:27: ==============================================================

19:03:27:

19:03:27:

19:03:27: Profiler CPU results:

19:03:27:

19:03:27: ==============================================================

19:03:27: video thread frame - [cpu time: avg 1.176 ms, total 109.375 ms] [avg calls per frame: 1]

19:03:27: | scene->Preprocess - [cpu time: avg 0.168 ms, total 15.625 ms] [avg calls per frame: 1]

19:03:27: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: Convert444Threads - [cpu time: avg 1.602 ms, total 250 ms] [avg calls per frame: 2]

19:03:27: | Convert444toNV12 - [cpu time: avg 1.602 ms, total 250 ms] [avg calls per frame: 2]

19:03:27: encoder thread frame - [cpu time: avg 1.826 ms, total 140.625 ms] [avg calls per frame: 1]

19:03:27: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]

19:03:27: ==============================================================

19:03:27:

19:03:27: =====Stream End: 2015-07-16, 19:03:27=================================================

19:03:30: =====Stream Start: 2015-07-16, 19:03:30===============================================

19:03:30: Multithreaded optimizations: On

19:03:30: Base resolution: 1920x1080

19:03:30: Output resolution: 1920x1080

19:03:30: ------------------------------------------

19:03:30: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...

19:03:30: ------------------------------------------

19:03:30: Audio Format: 48000 Hz

19:03:30: ------------------------------------------

19:03:30: Audio Channels: 2 Ch

19:03:30: Playback device Default

19:03:30: ------------------------------------------

19:03:30: Using desktop audio input: Speakers (Realtek High Definition Audio)

19:03:30: Global Audio time adjust: 0

19:03:30: ------------------------------------------

19:03:30: Using auxilary audio input: Microphone (Realtek High Definition Audio)

19:03:30: Mic time offset: 0

19:03:30: ------------------------------------------

19:03:30: Audio Encoding: AAC

19:03:30: bitrate: 96

19:03:30: ------------------------------------------

19:03:30: device: Logitech Webcam C210,

19:03:30: device id \\?\usb#vid_046d&pid_0819&mi_00#6&3664578b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},

19:03:30: chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000

19:03:30: use buffering: false - 0, fourCC: 'I420'

19:03:30: audio device: Disable,

19:03:30: audio device id Disabled,

19:03:30: audio time offset 0,

19:03:30:

19:03:30: Using directshow input

19:03:30: Using Monitor Capture

19:03:31: Scene buffering time set to 400



Hopefully you guys can help me!
first, next time just post a link to the log not all the text. set your buffer and bitrate to the same number.
Second 1080@30 is borderline for your CPU and at 2000ish bitrate the quality per bit will be actually higher at 720p (and look better). Recommeded 720@30fps.

increase scene buffering to 700ms

Lastly, dont use monitor capture, it is not efficient. use game or window capture instead
 
Okay well i done everything u said, and its working pretty good now, but still i get some small lags ingame when there is some fast pased action.
if you want me to have the best chance of helping you. After you change something, stream for at least 5 minutes and post another log. I cant help if I cant see whats currently happening.
 
Back
Top