Question / Help Laggy stream

Lukin

New Member
Been trying to get my stream smooth while still having decent quality, which I figured might be doable with my computer/connection, but whenever I've tried to stream over 480p, the video starts skipping after a minute or less for a few seconds at a time. Would like to be able to stream at at least 720p and I'm now wondering if that would be possible if I perhaps change something? Streaming League of Legends with a cam, an image overlay and a text for music.

Specs:
AMD Phenom II X4 965e @ 3400 MHz
6144 MB DDR2-SDRAM
NVIDIA GeForce GTX 570

Connection:
2431649353.png


Logs:
Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) II X4 965 Processor
CPU Speed: 3400MHz
Physical Memory:  4095MB Total, 2825MB Free
stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7600 
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 570 
  Video Adapter Dedicated Video Memory: 1293352960
  Video Adapter Shared System Memory: 2952458240
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
Using Window Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 960, height: 540
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2108, outputRateWindowTime: 1000, dropThreshold: 2608
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 16293, number of frames that lagged: 60 (0.37%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
Using Window Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2109, outputRateWindowTime: 1000, dropThreshold: 2609
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
Total frames rendered: 12453, number of frames that lagged: 140 (1.12%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
------------------------------------------
Video Encoding: x264
    fps: 40
    width: 960, height: 540
    preset: veryfast
    CBR: no
    max bitrate: 6000
    buffer size: 4000
    quality: 10
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1650, outputRateWindowTime: 1000, dropThreshold: 2150
SharedTexCapture hooked
Total frames rendered: 5929, number of frames that lagged: 137 (2.31%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 960, height: 540
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 10
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2075, outputRateWindowTime: 1000, dropThreshold: 2575
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using Window Capture
Total frames rendered: 32386, number of frames that lagged: 59 (0.18%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
Using Window Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 6000
    buffer size: 6000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2071, outputRateWindowTime: 1000, dropThreshold: 2571
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Buffer is full (782461 / 784384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (782461 / 784384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (783028 / 784384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (783028 / 784384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (783843 / 784384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (783843 / 784384 bytes), waiting to send 4097 bytes
Total frames rendered: 5586, number of frames that lagged: 569 (10.19%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 6000
    buffer size: 6000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1753, outputRateWindowTime: 1000, dropThreshold: 2253
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 9961, number of frames that lagged: 65 (0.65%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 960, height: 540
    preset: veryfast
    CBR: no
    max bitrate: 6000
    buffer size: 6000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
SharedTexCapture hooked
SharedTexCapture hooked
bufferTime: 2349, outputRateWindowTime: 1000, dropThreshold: 2849
SharedTexCapture hooked
Total frames rendered: 5189, number of frames that lagged: 17 (0.33%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1913, outputRateWindowTime: 1000, dropThreshold: 2413
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 8391, number of frames that lagged: 54 (0.64%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Webcam C270,
    device id \\?\usb#vid_046d&pid_0825&mi_00#6&13199746&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 320x240 - 320x240, fps: 5-30, fourCC: 00000000

Using directshow input
Using bitmap image
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 960, height: 540
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
SharedTexCapture hooked
SharedTexCapture hooked
bufferTime: 1892, outputRateWindowTime: 1000, dropThreshold: 2392
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using Window Capture
Total frames rendered: 19788, number of frames that lagged: 47 (0.24%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
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: 6.541 ms] [avg calls per frame: 1] [children: 82.1%] [unaccounted: 17.9%]
| scene->Preprocess - [11%] [avg time: 0.721 ms] [avg calls per frame: 1]
| video encoding and uploading - [71%] [avg time: 4.646 ms] [avg calls per frame: 1] [children: 43.2%] [unaccounted: 27.9%]
| | CopyResource - [1.61%] [avg time: 0.105 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.61%] [avg time: 0.105 ms] [avg calls per frame: 0]
| | call to encoder - [39.5%] [avg time: 2.581 ms] [avg calls per frame: 0]
| | sending stuff out - [0.505%] [avg time: 0.033 ms] [avg calls per frame: 0]
==============================================================
 

Krazy

Town drunk
Hm, ok do you still get stream choppiness if you don't go higher than 3000 bitrate? You really shouldn't be using any higher than 3500, twitch generally doesn't like you streaming past that. Also, don't watch your stream on the same PC you are streaming from, it impacts performance. Do a test stream and then watch the VOD after.
 
Top