Question / Help Mouse Stutters when stream is online

Jembreeze

New Member
Hi,

I was wondering if anyone would be able to help me with this problem I've been having. Whenever I stream, at random times my mouse will stutter and not move for a second and then it will start to work again. I've tried all 3 different capture methods and it still does the same thing with all 3. I've attached my log below.

Thank you!

Code:
19:04:46: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
19:04:46: -------------------------------
19:04:46: CPU Name: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
19:04:46: CPU Speed: 2806MHz
19:04:46: Physical Memory:  16375MB Total, 11799MB Free
19:04:46: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
19:04:46: monitor 1: pos={0, 0}, size={1920, 1080}
19:04:46: monitor 2: pos={-1680, -226}, size={1680, 1050}
19:04:46: Windows Version: 6.1 Build 7601 S
19:04:46: Aero is Disabled
19:04:46: -------------------------------
19:04:46: OBS Modules:
19:04:46: Base Address     Module
19:04:46: 000000003F9C0000 OBS.exe
19:04:46: 00000000FAEA0000 OBSApi.dll
19:04:46: 00000000FB190000 DShowPlugin.dll
19:04:46: 00000000FB960000 GraphicsCapture.dll
19:04:46: 00000000FB170000 NoiseGate.dll
19:04:46: ------------------------------------------
19:04:46: Adapter 1
19:04:46:   Video Adapter: NVIDIA GeForce GTX 660 Ti
19:04:46:   Video Adapter Dedicated Video Memory: 2091319296
19:04:46:   Video Adapter Shared System Memory: 2147479552
19:04:46: =====Stream Start: 2013-06-25, 19:04:46===============================================
19:04:46:   Multithreaded optimizations: On
19:04:46:   Base resolution: 1920x1080
19:04:46:   Output resolution: 1920x1080
19:04:46: ------------------------------------------
19:04:46: Loading up D3D10...
19:04:46: Playback device Default
19:04:46: ------------------------------------------
19:04:46: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:04:46: Using 5.1 speaker setup
19:04:46: ------------------------------------------
19:04:46: Using auxilary audio input: Microphone (HD Webcam C270)
19:04:46: ------------------------------------------
19:04:46: Audio Encoding: AAC
19:04:46:     bitrate: 112
19:04:47: ------------------------------------------
19:04:47:     device: Logitech HD Webcam C270,
19:04:47:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&2a2ddd4a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
19:04:47:     chosen type: I420, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333333-2000000, fourCC: 'I420'
19:04:47:     audio device: Microphone (HD Webcam C270),
19:04:47:     audio device id (null),
19:04:47: 
19:04:47:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
19:04:47: Using directshow input
19:04:48: ------------------------------------------
19:04:48: Video Encoding: x264
19:04:48:     fps: 30
19:04:48:     width: 1920, height: 1080
19:04:48:     preset: veryfast
19:04:48:     CBR: no
19:04:48:     CFR: no
19:04:48:     max bitrate: 1000
19:04:48:     buffer size: 1000
19:04:48:     quality: 10
19:04:48: ------------------------------------------
19:04:49: Using RTMP service: Twitch / Justin.tv
19:04:49:   Server selection: rtmp://live-jfk.justin.tv/app
19:04:51: SO_SNDBUF was at 8192
19:04:51: SO_SNDBUF is now 65536
19:05:15: Using graphics capture
19:05:16: SharedTexCapture hooked
19:06:56: Total frames rendered: 3827, number of frames that lagged: 5 (0.13%) (it's okay for some frames to lag)
19:06:57: RTMPPublisher::SocketLoop: Aborting due to bStopping
19:06:57: Number of times waited to send: 0, Waited for a total of 0 bytes
19:06:57: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:06:57: =====Stream End: 2013-06-25, 19:06:57=================================================
19:07:31: 
19:07:31: Profiler results:
19:07:31: 
19:07:31: ==============================================================
19:07:31: frame - [100%] [avg time: 4.327 ms] [avg calls per frame: 1] [children: 81.1%] [unaccounted: 18.9%]
19:07:31: | scene->Preprocess - [1.78%] [avg time: 0.077 ms] [avg calls per frame: 1]
19:07:31: | video encoding and uploading - [79.3%] [avg time: 3.433 ms] [avg calls per frame: 1] [children: 78.6%] [unaccounted: 0.74%]
19:07:31: | | CopyResource - [0.508%] [avg time: 0.022 ms] [avg calls per frame: 0]
19:07:31: | | conversion to 4:2:0 - [0.324%] [avg time: 0.014 ms] [avg calls per frame: 0]
19:07:31: | | call to encoder - [77.5%] [avg time: 3.353 ms] [avg calls per frame: 0]
19:07:31: | | sending stuff out - [0.277%] [avg time: 0.012 ms] [avg calls per frame: 0]
19:07:31: ==============================================================
19:07:31:
 
Hey,

according to your logfile everything is looking pretty good. Though the logfile only involves one very short stream using a gamecapture and having your Webcam active.

Those mouse lags normally occur if you reach a bottleneck in your system. It can be a bit hard to point out where this is exactly coming from. My first idea would be your webcam, is it connected to the same USB-Hub as your mouse by chance? (just implying its an usb webcam) You could test doing a scene with only your game capture and no webcam added or by unplugging the webcam for some tests.

Apart of that I would use "Process Explorer" instead of your normal task manager.(http://technet.microsoft.com/en-us/sysi ... 96653.aspx)
Use the System overview. (View->System Information) Let it run in the background while doing some tests and then check the graph for cpu usage/input output/ram and also your GPU usage. If you hover over the different graphs they show you which program was using the system at the time / position of your mouse.

And as always please report back with your findings!
 
Thanks for the reply Jack0r! In fact the mouse is plugged into the same USB-Hub as the webcam... should I remove it completely or move it to the jack in the front USB-Hub?

I'll run some of those diagnostics you talked about with Process Explorer and return here with results.

Thanks
 
For testing purpose I would try both ways, if you dont get any lags when its removed, try using it on the front.
 
hey jackor,

So I tried both ways and it still does it, but not as often if I were to turn the webcam off (not even unplugging it). As for the process explorer, all that it says that runs is OBS, and Dota 2...

Code:
16:02:19: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
16:02:19: -------------------------------
16:02:19: CPU Name: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
16:02:19: CPU Speed: 2807MHz
16:02:19: Physical Memory:  16375MB Total, 12475MB Free
16:02:19: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
16:02:19: monitor 1: pos={0, 0}, size={1920, 1080}
16:02:19: monitor 2: pos={-1680, -226}, size={1680, 1050}
16:02:19: Windows Version: 6.1 Build 7601 S
16:02:19: Aero is Disabled
16:02:19: -------------------------------
16:02:19: OBS Modules:
16:02:19: Base Address     Module
16:02:19: 000000003FDA0000 OBS.exe
16:02:19: 00000000E3E80000 OBSApi.dll
16:02:19: 00000000E4560000 DShowPlugin.dll
16:02:19: 00000000E3E50000 GraphicsCapture.dll
16:02:19: 00000000F31E0000 NoiseGate.dll
16:02:19: ------------------------------------------
16:02:19: Adapter 1
16:02:19:   Video Adapter: NVIDIA GeForce GTX 660 Ti
16:02:19:   Video Adapter Dedicated Video Memory: 2091319296
16:02:19:   Video Adapter Shared System Memory: 2147479552
16:02:19: =====Stream Start: 2013-06-27, 16:02:19===============================================
16:02:19:   Multithreaded optimizations: On
16:02:19:   Base resolution: 1920x1080
16:02:19:   Output resolution: 1280x720
16:02:19: ------------------------------------------
16:02:19: Loading up D3D10...
16:02:19: Playback device Default
16:02:19: ------------------------------------------
16:02:19: Using desktop audio input: Speakers (Realtek High Definition Audio)
16:02:19: Using 5.1 speaker setup
16:02:19: ------------------------------------------
16:02:19: Using auxilary audio input: Microphone (HD Webcam C270)
16:02:19: ------------------------------------------
16:02:19: Audio Encoding: AAC
16:02:19:     bitrate: 112
16:02:19: ------------------------------------------
16:02:19:     device: Logitech HD Webcam C270,
16:02:19:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&2a2ddd4a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:02:19:     chosen type: I420, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333333-2000000, fourCC: 'I420'
16:02:19:     audio device: Microphone (HD Webcam C270),
16:02:19:     audio device id (null),
16:02:19: 
16:02:19:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
16:02:19: Using directshow input
16:02:19: Using Window Capture
16:02:20: ------------------------------------------
16:02:20: Video Encoding: x264
16:02:20:     fps: 30
16:02:20:     width: 1280, height: 720
16:02:20:     preset: veryfast
16:02:20:     CBR: no
16:02:20:     CFR: no
16:02:20:     max bitrate: 1000
16:02:20:     buffer size: 1000
16:02:20:     quality: 10
16:02:20: ------------------------------------------
16:03:24: Using Window Capture
16:06:00: ------------------------------------------
16:06:00:     device: Logitech HD Webcam C270,
16:06:00:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&2a2ddd4a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:06:00:     chosen type: I420, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333333-2000000, fourCC: 'I420'
16:06:00:     audio device: Microphone (HD Webcam C270),
16:06:00:     audio device id (null),
16:06:00: 
16:06:01:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
16:06:01: Using directshow input
16:07:29: Total frames rendered: 9207, number of frames that lagged: 10 (0.11%) (it's okay for some frames to lag)
16:07:31: =====Stream End: 2013-06-27, 16:07:31=================================================
16:07:31: =====Stream Start: 2013-06-27, 16:07:31===============================================
16:07:31:   Multithreaded optimizations: On
16:07:31:   Base resolution: 1920x1080
16:07:31:   Output resolution: 1280x720
16:07:31: ------------------------------------------
16:07:31: Loading up D3D10...
16:07:31: Playback device Default
16:07:31: ------------------------------------------
16:07:31: Using desktop audio input: Speakers (Realtek High Definition Audio)
16:07:31: Using 5.1 speaker setup
16:07:31: ------------------------------------------
16:07:31: Using auxilary audio input: Microphone (HD Webcam C270)
16:07:31: ------------------------------------------
16:07:31: Audio Encoding: AAC
16:07:31:     bitrate: 112
16:07:31: ------------------------------------------
16:07:31:     device: Logitech HD Webcam C270,
16:07:31:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&2a2ddd4a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:07:31:     chosen type: I420, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333333-2000000, fourCC: 'I420'
16:07:31:     audio device: Microphone (HD Webcam C270),
16:07:31:     audio device id (null),
16:07:31: 
16:07:31:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
16:07:31: Using directshow input
16:07:31: Using Window Capture
16:07:32: ------------------------------------------
16:07:32: Video Encoding: x264
16:07:32:     fps: 30
16:07:32:     width: 1280, height: 720
16:07:32:     preset: veryfast
16:07:32:     CBR: no
16:07:32:     CFR: no
16:07:32:     max bitrate: 1000
16:07:32:     buffer size: 1000
16:07:32:     quality: 10
16:07:32: ------------------------------------------
16:07:34: Using RTMP service: Twitch / Justin.tv
16:07:34:   Server selection: rtmp://live-jfk.justin.tv/app
16:07:36: SO_SNDBUF was at 8192
16:07:36: SO_SNDBUF is now 65536
16:13:58: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
Warning -- MMDeviceAudioSource::GetBuffer: GetNextPacketSize failed, result = 88890004
16:33:31: ------------------------------------------
16:33:31:     device: Logitech HD Webcam C270,
16:33:31:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&2a2ddd4a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:33:31:     chosen type: I420, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333333-2000000, fourCC: 'I420'
16:33:31:     audio device: Microphone (HD Webcam C270),
16:33:31:     audio device id (null),
16:33:31: 
16:33:31:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
16:33:31: Using directshow input
16:33:53: ------------------------------------------
16:33:53:     device: Logitech HD Webcam C270,
16:33:53:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&2a2ddd4a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:33:53:     chosen type: I420, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333333-2000000, fourCC: 'I420'
16:33:53:     audio device: Microphone (HD Webcam C270),
16:33:53:     audio device id (null),
16:33:53: 
16:33:53:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
16:33:53: Using directshow input
16:43:59: Total frames rendered: 65243, number of frames that lagged: 37 (0.06%) (it's okay for some frames to lag)
16:43:59: RTMPPublisher::SocketLoop: Aborting due to bStopping
16:43:59: Number of times waited to send: 3, Waited for a total of 8477 bytes
16:43:59: Number of b-frames dropped: 68 (0.1%), Number of p-frames dropped: 70 (0.11%), Total 138 (0.21%)
16:43:59: =====Stream End: 2013-06-27, 16:43:59=================================================
16:43:59: =====Stream Start: 2013-06-27, 16:43:59===============================================
16:43:59:   Multithreaded optimizations: On
16:43:59:   Base resolution: 1920x1080
16:43:59:   Output resolution: 1280x720
16:43:59: ------------------------------------------
16:43:59: Loading up D3D10...
16:43:59: Playback device Default
16:43:59: ------------------------------------------
16:43:59: Using desktop audio input: Speakers (Realtek High Definition Audio)
16:43:59: Using 5.1 speaker setup
16:43:59: ------------------------------------------
16:43:59: Using auxilary audio input: Microphone (HD Webcam C270)
16:43:59: ------------------------------------------
16:43:59: Audio Encoding: AAC
16:43:59:     bitrate: 112
16:43:59: Using Window Capture
16:43:59: ------------------------------------------
16:43:59: Video Encoding: x264
16:43:59:     fps: 30
16:43:59:     width: 1280, height: 720
16:43:59:     preset: veryfast
16:43:59:     CBR: no
16:43:59:     CFR: no
16:43:59:     max bitrate: 1000
16:43:59:     buffer size: 1000
16:43:59:     quality: 10
16:43:59: ------------------------------------------
16:44:01: Using RTMP service: Twitch / Justin.tv
16:44:01:   Server selection: rtmp://live-jfk.justin.tv/app
16:44:03: SO_SNDBUF was at 8192
16:44:03: SO_SNDBUF is now 65536
16:44:28: Total frames rendered: 852, number of frames that lagged: 1 (0.12%) (it's okay for some frames to lag)
16:44:28: RTMPPublisher::SocketLoop: Aborting due to bStopping
16:44:28: Number of times waited to send: 0, Waited for a total of 0 bytes
16:44:28: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
16:44:28: =====Stream End: 2013-06-27, 16:44:28=================================================
16:44:35: 
16:44:35: Profiler results:
16:44:35: 
16:44:35: ==============================================================
16:44:35: frame - [100%] [avg time: 10.152 ms] [avg calls per frame: 1] [children: 93.3%] [unaccounted: 6.66%]
16:44:35: | scene->Preprocess - [75.1%] [avg time: 7.622 ms] [avg calls per frame: 1]
16:44:35: | video encoding and uploading - [18.3%] [avg time: 1.854 ms] [avg calls per frame: 1] [children: 18.1%] [unaccounted: 0.148%]
16:44:35: | | CopyResource - [0.138%] [avg time: 0.014 ms] [avg calls per frame: 0]
16:44:35: | | conversion to 4:2:0 - [0.187%] [avg time: 0.019 ms] [avg calls per frame: 0]
16:44:35: | | call to encoder - [17.6%] [avg time: 1.79 ms] [avg calls per frame: 0]
16:44:35: | | sending stuff out - [0.158%] [avg time: 0.016 ms] [avg calls per frame: 0]
16:44:35: ==============================================================
16:44:35:

A new log with all the stutters in it
 
Back
Top