Question / Help Issue with INPUT lag while streaming LoL.

msbaits

New Member
Just decided to try w/ OBS had some issues and bad feedback from other broadcasting software programs.

I noticed that I am getting a little bit of input lag ingame. Was wondering what I could do to fix it.. Here are my settings :

Ingame = 1080p settings on low
OBS Settings :

30fps
Quality 9
Bitrate 4000
I have tried video capture

My cpu specs are

GTX 560ti
i5-2500 3.3ghz
8gig ram

Stream looks ok, ingame is quite choppy / dropping frames..
 

msbaits

New Member
Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
CPU Speed: 3310MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 Ti  
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 3221372928
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (USB Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 199, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (USB Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 113, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
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: 3.555 ms] [avg calls per frame: 1] [children: 75.1%] [unaccounted: 24.9%]
| scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
| video encoding and uploading - [75.1%] [avg time: 2.669 ms] [avg calls per frame: 1] [children: 47.6%] [unaccounted: 27.5%]
| | CopyResource - [0.422%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0844%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [47.1%] [avg time: 1.673 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0281%] [avg time: 0.001 ms] [avg calls per frame: 0]
==============================================================
 

dodgepong

Administrator
Community Helper
Are you sure that is your most recent log? That is a log from a very old version of OBS (most recent is 0.542) and according to that log, you have no sources added to your scene...
 

msbaits

New Member
No, you were right, that was very old.. this is the new 1..

Code:
14:28:18: Open Broadcaster Software v0.542b - 64bit ( ^ω^)
14:28:18: -------------------------------
14:28:18: CPU Name: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
14:28:18: CPU Speed: 3310MHz
14:28:18: Physical Memory:  8172MB Total, 5787MB Free
14:28:18: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
14:28:18: monitor 1: pos={0, 0}, size={1920, 1080}
14:28:18: monitor 2: pos={1920, 0}, size={1280, 1024}
14:28:18: Windows Version: 6.1 Build 7601 S
14:28:18: Aero is Disabled
14:28:18: -------------------------------
14:28:18: OBS Modules:
14:28:18: Base Address     Module
14:28:18: 000000003F910000 OBS.exe
14:28:18: 00000000F2300000 OBSApi.dll
14:28:18: 00000000FA410000 DShowPlugin.dll
14:28:18: 00000000F8A40000 GraphicsCapture.dll
14:28:18: 00000000F8A20000 NoiseGate.dll
14:28:18: 00000000FA480000 PSVPlugin.dll
14:28:18: ------------------------------------------
14:28:18: Adapter 1
14:28:18:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
14:28:18:   Video Adapter Dedicated Video Memory: 1025966080
14:28:18:   Video Adapter Shared System Memory: 3221106688
14:28:18: =====Stream Start: 2013-08-06, 14:28:18===============================================
14:28:18:   Multithreaded optimizations: On
14:28:18:   Base resolution: 1920x1080
14:28:18:   Output resolution: 1920x1080
14:28:18: ------------------------------------------
14:28:18: Loading up D3D10...
14:28:18: Playback device Default
14:28:18: ------------------------------------------
14:28:18: Using desktop audio input: Speakers (Realtek High Definition Audio)
14:28:18: ------------------------------------------
14:28:18: Using auxilary audio input: Microphone (USB Audio Device)
14:28:18: ------------------------------------------
14:28:18: Audio Encoding: AAC
14:28:18:     bitrate: 128
14:28:18: Using graphics capture
14:28:18: ------------------------------------------
14:28:18:     device: Logitech HD Webcam C270,
14:28:18:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&1cd5c68&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
14:28:18:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
14:28:18:     audio device: Disable,
14:28:18:     audio device id Disabled,
14:28:18: 
14:28:19: Using directshow input
14:28:19: ------------------------------------------
14:28:19: Video Encoding: x264
14:28:19:     fps: 30
14:28:19:     width: 1920, height: 1080
14:28:19:     preset: veryfast
14:28:19:     CBR: yes
14:28:19:     CFR: no
14:28:19:     max bitrate: 1000
14:28:19: ------------------------------------------
14:28:19: SharedTexCapture hooked
14:29:03: Using graphics capture
14:29:04: SharedTexCapture hooked
14:29:36: Total frames rendered: 2298, number of frames that lagged: 2 (0.09%) (it's okay for some frames to lag)
14:29:37: =====Stream End: 2013-08-06, 14:29:37=================================================
14:30:16: =====Stream Start: 2013-08-06, 14:30:16===============================================
14:30:16:   Multithreaded optimizations: On
14:30:16:   Base resolution: 1920x1080
14:30:16:   Output resolution: 1920x1080
14:30:16: ------------------------------------------
14:30:16: Loading up D3D10...
14:30:16: Playback device Default
14:30:16: ------------------------------------------
14:30:16: Using desktop audio input: Speakers (Realtek High Definition Audio)
14:30:16: ------------------------------------------
14:30:16: Using auxilary audio input: Microphone (USB Audio Device)
14:30:16: ------------------------------------------
14:30:16: Audio Encoding: AAC
14:30:16:     bitrate: 128
14:30:16: Using Monitor Capture
14:30:16: ------------------------------------------
14:30:16:     device: Logitech HD Webcam C270,
14:30:16:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&1cd5c68&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
14:30:16:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
14:30:16:     audio device: Disable,
14:30:16:     audio device id Disabled,
14:30:16: 
14:30:16: Using directshow input
14:30:17: ------------------------------------------
14:30:17: Video Encoding: x264
14:30:17:     fps: 30
14:30:17:     width: 1920, height: 1080
14:30:17:     preset: veryfast
14:30:17:     CBR: no
14:30:17:     CFR: no
14:30:17:     max bitrate: 2000
14:30:17:     buffer size: 2000
14:30:17:     quality: 8
14:30:17: ------------------------------------------
14:30:19: Using RTMP service: Twitch / Justin.tv
14:30:19:   Server selection: rtmp://live-mia.justin.tv/app
14:30:23: SO_SNDBUF was at 8192
14:30:23: SO_SNDBUF is now 65536
14:30:32: Total frames rendered: 459, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
14:30:33: RTMPPublisher::SocketLoop: Aborting due to bStopping
14:30:33: Number of times waited to send: 0, Waited for a total of 0 bytes
14:30:33: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:30:33: =====Stream End: 2013-08-06, 14:30:33=================================================
14:30:34: 
14:30:34: Profiler results:
14:30:34: 
14:30:34: ==============================================================
14:30:34: frame - [100%] [avg time: 4.44 ms (cpu time: avg 3.474 ms, total 9578.46 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.0901%]
14:30:34: | frame preprocessing and rendering - [41.8%] [avg time: 1.857 ms (cpu time: avg 1.046 ms, total 2886.01 ms)] [avg calls per frame: 1] [children: 27.9%] [unaccounted: 14%]
14:30:34: | | scene->Preprocess - [27.9%] [avg time: 1.237 ms (cpu time: avg 0.684 ms, total 1887.61 ms)] [avg calls per frame: 1]
14:30:34: | video encoding and uploading - [58.1%] [avg time: 2.579 ms (cpu time: avg 2.421 ms, total 6676.85 ms)] [avg calls per frame: 1] [children: 57.3%] [unaccounted: 0.766%]
14:30:34: | | flush - [2.79%] [avg time: 0.124 ms (cpu time: avg 0.056 ms, total 156 ms)] [avg calls per frame: 1]
14:30:34: | | CopyResource - [0.495%] [avg time: 0.022 ms (cpu time: avg 0.028 ms, total 78 ms)] [avg calls per frame: 0]
14:30:34: | | conversion to 4:2:0 - [0.923%] [avg time: 0.041 ms (cpu time: avg 0.005 ms, total 15.6 ms)] [avg calls per frame: 0]
14:30:34: | | call to encoder - [53.1%] [avg time: 2.356 ms (cpu time: avg 2.314 ms, total 6380.45 ms)] [avg calls per frame: 0]
14:30:34: | | sending stuff out - [0.045%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
14:30:34: | Convert444Threads - [1.49e+003%] [avg time: 65.983 ms (cpu time: avg 2.252 ms, total 6208.84 ms)] [avg calls per frame: 1]
14:30:34: ==============================================================
14:30:34:
 

msbaits

New Member
I am even willing to pay someone who would be able to help me with this input lag. Just thought I would throw that out there.
 

Krazy

Town drunk
If you are experiencing input lag while streaming, the only thing to do is use Minimize Network Impact, and then reduce streaming bitrate until it stops. Beyond that you will have to look into maybe replacing network hardware. Many times lower end consumer routers and network cards can't handle the load of streaming.
 

msbaits

New Member
My only question was, you realize that I mean that my ingame actually starts lagging. Like the stream will look fine for viewers, but I can actually feel like its choppy a little bit ingame.
 

Krazy

Town drunk
Yes, I know. Some lower end network hardware can't always cope with the strain of sending all the data needed for streaming, and still provide good latency for your game.
 

dodgepong

Administrator
Community Helper
Game capture always gives better performance than Monitor capture on Vista and Windows 7
 

thetones

New Member
Switch output to 1.5 base resolution (720p).

Your stream should look a lot less pixelated and LoL should run smoother.
 
Top