Question / Help Having some trouble with my stream.

prometheusxd

New Member
I am trying to use OBS to stream my gameplay of League of Legends at 1080p, as I've understood it my computer and internet should be able to handle that. I have though noticed that the stream freezes from time to time and I dont know exactly why. I've looked at guides and I think I have the correct settings but there might be something off with that. I've also noticed that sometimes when the stream freezes the OBS client does not count this as "Dropped Frames" which can be seen in the lower right corner. The case might be that I would need a stronger processor but from what I understand my current processor should be able to handle streaming at 1080p without lag which makes me believe there might be something wrong setting/software wise.

Anyway, I'll post a log from one of these test sessions and hopefully someone has time to check it out and can maybe help me.

Code:
18:35:38: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
18:35:38: -------------------------------
18:35:38: CPU Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
18:35:38: CPU Speed: 3392MHz
18:35:38: Physical Memory:  8164MB Total, 4984MB Free
18:35:38: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
18:35:38: monitor 1: pos={0, 0}, size={1920, 1080}
18:35:38: monitor 2: pos={1920, 0}, size={1680, 1050}
18:35:38: Windows Version: 6.1 Build 7601 S
18:35:38: Aero is Disabled
18:35:38: -------------------------------
18:35:38: OBS Modules:
18:35:38: Base Address     Module
18:35:38: 000000003FF00000 OBS.exe
18:35:38: 00000000E7A20000 OBSApi.dll
18:35:38: 00000000F8690000 DShowPlugin.dll
18:35:38: 00000000F8660000 GraphicsCapture.dll
18:35:38: 00000000F8640000 NoiseGate.dll
18:35:38: ------------------------------------------
18:35:38: Adapter 1
18:35:38:   Video Adapter: NVIDIA GeForce GTX 580
18:35:38:   Video Adapter Dedicated Video Memory: 1560739840
18:35:38:   Video Adapter Shared System Memory: 2684502016
18:35:38: =====Stream Start: 2013-06-30, 18:35:38===============================================
18:35:38:   Multithreaded optimizations: On
18:35:38:   Base resolution: 1920x1080
18:35:38:   Output resolution: 1920x1080
18:35:38: ------------------------------------------
18:35:38: Loading up D3D10...
18:35:38: Playback device Default
18:35:38: ------------------------------------------
18:35:38: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:35:38: Using quad speaker setup
18:35:38: ------------------------------------------
18:35:38: Using auxilary audio input: Microphone (Realtek High Definition Audio)
18:35:38: ------------------------------------------
18:35:38: Audio Encoding: AAC
18:35:38:     bitrate: 320
18:35:38: Using Monitor Capture
18:35:38: ------------------------------------------
18:35:38: Video Encoding: x264
18:35:38:     fps: 24
18:35:38:     width: 1920, height: 1080
18:35:38:     preset: veryfast
18:35:38:     CBR: no
18:35:38:     CFR: no
18:35:38:     max bitrate: 3500
18:35:38:     buffer size: 3500
18:35:38:     quality: 6
18:35:38: ------------------------------------------
18:35:41: Using RTMP service: Twitch / Justin.tv
18:35:41:   Server selection: rtmp://live-ams.justin.tv/app
18:35:42: SO_SNDBUF was at 8192
18:35:42: SO_SNDBUF is now 65536
18:37:47: Using Monitor Capture
18:37:54: Using Monitor Capture
18:38:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:38:04:   New Scene
18:38:05: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:38:05:   New Scene
18:38:05: Using Monitor Capture
18:38:52: Using Monitor Capture
18:43:43: Using Window Capture
19:45:44: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
19:56:05: Total frames rendered: 115797, number of frames that lagged: 13 (0.01%) (it's okay for some frames to lag)
19:56:05: RTMPPublisher::SocketLoop: Aborting due to bStopping
19:56:05: Number of times waited to send: 33, Waited for a total of 126354 bytes
19:56:05: Number of b-frames dropped: 199 (0.17%), Number of p-frames dropped: 310 (0.27%), Total 509 (0.44%)
19:56:05: =====Stream End: 2013-06-30, 19:56:05=================================================
19:56:07: 
19:56:07: Profiler results:
19:56:07: 
19:56:07: ==============================================================
19:56:07: frame - [100%] [avg time: 8.991 ms] [avg calls per frame: 1] [children: 94.2%] [unaccounted: 5.84%]
19:56:07: | scene->Preprocess - [59%] [avg time: 5.303 ms] [avg calls per frame: 1]
19:56:07: | video encoding and uploading - [35.2%] [avg time: 3.163 ms] [avg calls per frame: 1] [children: 35%] [unaccounted: 0.156%]
19:56:07: | | CopyResource - [0.145%] [avg time: 0.013 ms] [avg calls per frame: 0]
19:56:07: | | conversion to 4:2:0 - [0.378%] [avg time: 0.034 ms] [avg calls per frame: 0]
19:56:07: | | call to encoder - [34.1%] [avg time: 3.065 ms] [avg calls per frame: 0]
19:56:07: | | sending stuff out - [0.412%] [avg time: 0.037 ms] [avg calls per frame: 0]
19:56:07: ==============================================================
19:56:07:

Thanks in advance.
 

Kharay

Member
Frame-lag and frame-drop quite low indeed, which suggests both your PC and your connection are handling the situation fine. One thing did strike me -- any particular reason you're capturing at 24 FPS? Your PC should not have any issue whatsoever capturing 30, which is basically the standard for 1080p.

Regarding the issue -- my first thought: server selection. Try this plugin to determine which Twitch.TV server gives you the best connection. Typically it's the one closest to you but this is not automatically so, the plugin will simply let you confirm which one does give you the best connection.

If that does not solve it, try going with CBR instead of VBR.
 
Top