Question / Help Stream is lagging need help

analleakage

New Member
The issue: I recently downloaded and installed OBS to live stream myself playing Dark Souls with the hope of streaming it smoothly. I looked up tutorials online in case I missed certain things. I thought I set up my OBS quite well, however when I live stream - the stream/OBS lags. Dark Souls is quite smooth even while live streaming and OBS is streaming at 30 FPS (It says in the corner of OBS). Also, the square in the lower-right corner of OBS is always green, and it always says there are 0 dropped frames.
-----------------------------------------------------------------------------
My specs:

OS: Windows 7 Home Premium x64
CPU: Intel Core i7 (3. gen) 3610QM / 2.3 GHz
Mobo: Don't know
RAM: 8GB DDR3
Video Card: NVIDIA GeForce GT 630M - 2 GB DDR3

Internet Speed (All done using testmy.net with precise speeds):
12,5 Mbps
10,2 Mbps
----------------------------------------------------------------------------
OBS Settings:

Encoding:

Quality Balance - 8
Max Bitrate (kb/s): 3000
Buffer Size (kbit): 3000

Broadcast Settings:

Server: EU: Stockholm, SE (I live in Denmark)

Auto-reconnect: Checked
Minimize Network Impact: Unchecked

Video:

Base resolution is custom @ 1920x1080
Resolution Downscale: 1,5 (1280x720)
FPS: 30

Disable Aero at startup: Unchecked

Advanced:

Use Multithreaded Optimizations: Checked
Process Priority Class: Over Normal
x264 CPU Preset: veryfast
No options under the "Video", "Audio" or "Network" section are checked.
-------------------------------------------------------------------------
Final Comments:

I'm somewhat new to how forums work and what is/isn't socially acceptable in them. If I do anything incorrectly, then some positive criticism will be appreciated over negative criticism. I'm simply attempting to resolve this issue, not to put any emotional investment (Other than gratitude) in this forum, so please keep that in mind when responding.

Any help would be greatly appreciated :)

Log:
Code:
03:37:24: Settings::Video: Enabling Aero
03:37:43: Open Broadcaster Software v0.591b - 32bit (´・ω・`)
03:37:43: -------------------------------
03:37:43: CPU Name: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
03:37:43: CPU Speed: 2294MHz
03:37:43: Physical Memory:  4095MB Total, 4095MB Free
03:37:43: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
03:37:43: monitor 1: pos={0, 0}, size={1360, 768}
03:37:43: monitor 2: pos={-1366, 0}, size={1366, 768}
03:37:43: Windows Version: 6.1 Build 7601 S
03:37:43: Aero is Disabled
03:37:43: -------------------------------
03:37:43: OBS Modules:
03:37:43: Base Address     Module
03:37:43: 00210000         OBS.exe
03:37:43: 669B0000         OBSApi.dll
03:37:43: 74010000         DShowPlugin.dll
03:37:43: 74EC0000         GraphicsCapture.dll
03:37:43: 74F10000         NoiseGate.dll
03:37:43: 73610000         PSVPlugin.dll
03:37:43: ------------------------------------------
03:37:43: Adapter 1
03:37:43:   Video Adapter: NVIDIA GeForce GT 630M   
03:37:43:   Video Adapter Dedicated Video Memory: 2095644672
03:37:43:   Video Adapter Shared System Memory: 2147233792
03:37:43:   Video Adapter Output 1: pos={0, 0}, size={1360, 768}, attached=true
03:37:43:   Video Adapter Output 2: pos={-1366, 0}, size={1366, 768}, attached=true
03:37:43: ------------------------------------------
03:37:43: Adapter 2
03:37:43:   Video Adapter: NVIDIA GeForce GT 630M   
03:37:43:   Video Adapter Dedicated Video Memory: 2095644672
03:37:43:   Video Adapter Shared System Memory: 2147233792
03:37:43: =====Stream Start: 2013-12-18, 03:37:43===============================================
03:37:43:   Multithreaded optimizations: On
03:37:43:   Base resolution: 1920x1080
03:37:43:   Output resolution: 1280x720
03:37:43: ------------------------------------------
03:37:43: Loading up D3D10 on NVIDIA GeForce GT 630M (Adapter 1)...
03:37:43: ------------------------------------------
03:37:43: Audio Format: 48000hz
03:37:43: Playback device Default
03:37:43: ------------------------------------------
03:37:43: Using desktop audio input: Speakers (Realtek High Definition Audio)
03:37:43: ------------------------------------------
03:37:43: Using auxilary audio input: Microphone (Realtek High Definition Audio)
03:37:43: ------------------------------------------
03:37:43: Audio Encoding: AAC
03:37:43:     bitrate: 128
03:37:43: Using Window Capture
03:37:43: Using Window Capture
03:37:43: Using text output
03:37:43: ------------------------------------------
03:37:43:     device: USB2.0 UVC VGA WebCam,
03:37:43:     device id \\?\usb#vid_13d3&pid_5710&mi_00#7&d317257&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:37:43:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-333333
03:37:43:     use buffering: false - 0, fourCC: 'YUY2'
03:37:43:     audio device: Deaktiver,
03:37:43:     audio device id Disabled,
03:37:43: 
03:37:43: Using directshow input
03:37:43: Using Monitor Capture
03:37:43: Scene buffering time set to 700
03:37:43: ------------------------------------------
03:37:43: Video Encoding: x264
03:37:43:     fps: 30
03:37:43:     width: 1280, height: 720
03:37:43:     preset: veryfast
03:37:43:     profile: high
03:37:43:     keyint: 250
03:37:43:     CBR: yes
03:37:43:     CFR: no
03:37:43:     max bitrate: 3000
03:37:43:     buffer size: 3000
03:37:43: ------------------------------------------
03:37:43: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
03:37:43: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
03:37:45: Using RTMP service: Twitch / Justin.tv
03:37:45:   Server selection: rtmp://live-arn.justin.tv/app
03:37:45:   Interface: Atheros AR9485WB-EG Wireless Network Adapter (802.11, 202 mbps)
03:37:46: Completed handshake with rtmp://live-arn.justin.tv/app in 389 ms.
03:37:46: Total frames encoded: 58, total frames duplicated: 1 (1.72%)
03:37:46: Total frames rendered: 66, number of late frames: 1 (1.52%) (it's okay for some frames to be late)
03:37:47: SO_SNDBUF was at 8192
03:37:47: SO_SNDBUF is now 65536
03:37:47: RTMPPublisher::SocketLoop: Graceful loop exit
03:37:47: Number of times waited to send: 0, Waited for a total of 0 bytes
03:37:47: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
03:37:47: Number of bytes sent: 0
03:37:47: 
03:37:47: Profiler time results:
03:37:47: 
03:37:47: ==============================================================
03:37:47: video thread frame - [100%] [avg time: 7.992 ms] [children: 49.9%] [unaccounted: 50.1%]
03:37:47: | scene->Preprocess - [48.1%] [avg time: 3.844 ms]
03:37:47: | GPU download and conversion - [1.81%] [avg time: 0.145 ms] [children: 1.7%] [unaccounted: 0.113%]
03:37:47: | | flush - [1.25%] [avg time: 0.1 ms]
03:37:47: | | CopyResource - [0.388%] [avg time: 0.031 ms]
03:37:47: | | conversion to 4:2:0 - [0.0626%] [avg time: 0.005 ms]
03:37:47: Convert444Threads - [100%] [avg time: 0.701 ms] [children: 98%] [unaccounted: 2%]
03:37:47: | Convert444toNV12 - [98%] [avg time: 0.687 ms]
03:37:47: encoder thread frame - [100%] [avg time: 1.202 ms]
03:37:47: ==============================================================
03:37:47: 
03:37:47: 
03:37:47: Profiler CPU results:
03:37:47: 
03:37:47: ==============================================================
03:37:47: video thread frame - [cpu time: avg 7.327 ms, total 483.603 ms] [avg calls per frame: 1]
03:37:47: | scene->Preprocess - [cpu time: avg 3.072 ms, total 202.801 ms] [avg calls per frame: 1]
03:37:47: | GPU download and conversion - [cpu time: avg 0.236 ms, total 15.6 ms] [avg calls per frame: 1]
03:37:47: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
03:37:47: | | CopyResource - [cpu time: avg 0.354 ms, total 15.6 ms] [avg calls per frame: 1]
03:37:47: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
03:37:47: Convert444Threads - [cpu time: avg 1.088 ms, total 93.6 ms] [avg calls per frame: 2]
03:37:47: | Convert444toNV12 - [cpu time: avg 0.906 ms, total 78 ms] [avg calls per frame: 2]
03:37:47: encoder thread frame - [cpu time: avg 1.485 ms, total 62.4 ms] [avg calls per frame: 1]
03:37:47: ==============================================================
03:37:47: 
03:37:47: =====Stream End: 2013-12-18, 03:37:47=================================================
03:37:48: =====Stream Start: 2013-12-18, 03:37:48===============================================
03:37:48:   Multithreaded optimizations: On
03:37:48:   Base resolution: 1920x1080
03:37:48:   Output resolution: 1280x720
03:37:48: ------------------------------------------
03:37:48: Loading up D3D10 on NVIDIA GeForce GT 630M (Adapter 1)...
03:37:48: ------------------------------------------
03:37:48: Audio Format: 48000hz
03:37:48: Playback device Default
03:37:48: ------------------------------------------
03:37:48: Using desktop audio input: Speakers (Realtek High Definition Audio)
03:37:48: ------------------------------------------
03:37:48: Using auxilary audio input: Microphone (Realtek High Definition Audio)
03:37:48: ------------------------------------------
03:37:48: Audio Encoding: AAC
03:37:48:     bitrate: 128
03:37:48: Using Window Capture
03:37:48: Using Window Capture
03:37:48: Using text output
03:37:48: ------------------------------------------
03:37:48:     device: USB2.0 UVC VGA WebCam,
03:37:48:     device id \\?\usb#vid_13d3&pid_5710&mi_00#7&d317257&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
03:37:48:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-333333
03:37:48:     use buffering: false - 0, fourCC: 'YUY2'
03:37:48:     audio device: Deaktiver,
03:37:48:     audio device id Disabled,
03:37:48: 
03:37:48: Using directshow input
03:37:48: Using Monitor Capture
03:37:48: Scene buffering time set to 700
03:37:48: ------------------------------------------
03:37:48: Video Encoding: x264
03:37:48:     fps: 30
03:37:48:     width: 1280, height: 720
03:37:48:     preset: veryfast
03:37:48:     profile: high
03:37:48:     keyint: 250
03:37:48:     CBR: yes
03:37:48:     CFR: no
03:37:48:     max bitrate: 3000
03:37:48:     buffer size: 3000
03:37:48: ------------------------------------------
03:37:48: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
03:37:48: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
03:47:31: Total frames encoded: 17450, total frames duplicated: 209 (1.20%)
03:47:31: Total frames rendered: 17302, number of late frames: 25 (0.14%) (it's okay for some frames to be late)
03:47:31: 
03:47:31: Profiler time results:
03:47:31: 
03:47:31: ==============================================================
03:47:31: video thread frame - [100%] [avg time: 6.47 ms] [children: 77.1%] [unaccounted: 22.9%]
03:47:31: | scene->Preprocess - [74.5%] [avg time: 4.821 ms]
03:47:31: | GPU download and conversion - [2.61%] [avg time: 0.169 ms] [children: 1.84%] [unaccounted: 0.773%]
03:47:31: | | flush - [1.24%] [avg time: 0.08 ms]
03:47:31: | | CopyResource - [0.495%] [avg time: 0.032 ms]
03:47:31: | | conversion to 4:2:0 - [0.108%] [avg time: 0.007 ms]
03:47:31: Convert444Threads - [100%] [avg time: 0.657 ms] [children: 98.2%] [unaccounted: 1.83%]
03:47:31: | Convert444toNV12 - [98.2%] [avg time: 0.645 ms]
03:47:31: encoder thread frame - [100%] [avg time: 1.954 ms]
03:47:31: ==============================================================
03:47:31: 
03:47:31: 
03:47:31: Profiler CPU results:
03:47:31: 
03:47:31: ==============================================================
03:47:31: video thread frame - [cpu time: avg 4.612 ms, total 79810.1 ms] [avg calls per frame: 1]
03:47:31: | scene->Preprocess - [cpu time: avg 3.017 ms, total 52213.5 ms] [avg calls per frame: 1]
03:47:31: | GPU download and conversion - [cpu time: avg 0.13 ms, total 2262.01 ms] [avg calls per frame: 1]
03:47:31: | | flush - [cpu time: avg 0.072 ms, total 1248 ms] [avg calls per frame: 1]
03:47:31: | | CopyResource - [cpu time: avg 0.046 ms, total 795.605 ms] [avg calls per frame: 1]
03:47:31: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 46.8 ms] [avg calls per frame: 1]
03:47:31: Convert444Threads - [cpu time: avg 0.66 ms, total 22807.3 ms] [avg calls per frame: 2]
03:47:31: | Convert444toNV12 - [cpu time: avg 0.651 ms, total 22526.5 ms] [avg calls per frame: 2]
03:47:31: encoder thread frame - [cpu time: avg 1.2 ms, total 20919.7 ms] [avg calls per frame: 1]
03:47:31: ==============================================================
03:47:31: 
03:47:31: =====Stream End: 2013-12-18, 03:47:31=================================================
 

Krazy

Town drunk
Can you provide a log with a much longer streaming attempt? The log you have has one short stream attmept, and then a long attempt at either a local recording or just a preview.

I will point out that trying to stream over wireless is generally asking for trouble, even with pretty decent wireless hardware.
 

analleakage

New Member
Hey, thanks a ton for the reply.

Although, I did figure out my problem - I used Screen Capture instead of Game Capture.
I do miss Screen Capture, though :(
 

dodgepong

Administrator
Community Helper
Screen capture has been split into Monitor capture and Window capture because they behave differently. Window capture works best with Aero enabled, and lets you capture windows that are behind other windows. Monitor capture performs horribly on Windows 7 and earlier, especially with Aero enabled. If you use Monitor capture with Aero, your performance absolutely tanks. If you have Aero disabled, it might be tolerable, but it's still the worst capture method for Windows 7.
 

analleakage

New Member
Ohh yeah, I meant Monitor Capture, and I had Aero off.

But nice to know, I can turn Aero on again for my Window Captures! :-)
 
Top