Question / Help Kb/s Drops Suddenly During Stream

jenseseart

New Member
Hi everyone. I am a regular streamer on Twitch and have noticed that OBS has been dropping my kb/s drastically in the middle of the stream. This causes lag/buffering during the stream. I've tried every known fix: changing my wifi channels, my OBS input/video settings, did countless ookla beta speed tests, reset my stream key--everything. And my internet has been fine, yet OBS is still acting wonky. I stream from an iMac, and have been able to stream fine, until now. Any help is much appreciated! I just want to be able to stream without having to worry :(

Below is a log of my latest stream where the kb/s started to drop:

15:21:13.398: CPU Name: Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
15:21:13.398: CPU Speed: 2500MHz
15:21:13.398: Physical Cores: 4, Logical Cores: 4
15:21:13.398: Physical Memory: 4096MB Total
15:21:13.398: OS Name: Mac OS X (NSMACHOperatingSystem)
15:21:13.398: OS Version: Version 10.12.4 (Build 16E195)
15:21:13.398: Kernel Version: 16.5.0
15:21:13.431: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
15:21:13.431: Portable mode: false
15:21:13.779: OBS 18.0.1 (mac)
15:21:13.779: ---------------------------------
15:21:13.810: ---------------------------------
15:21:13.810: audio settings reset:
15:21:13.810: samples per sec: 44100
15:21:13.810: speakers: 2
15:21:14.383: ---------------------------------
15:21:14.383: video settings reset:
15:21:14.383: base resolution: 1920x1080
15:21:14.383: output resolution: 1280x720
15:21:14.383: downscale filter: Bicubic
15:21:14.383: fps: 30/1
15:21:14.383: format: NV12
15:21:14.384: Audio monitoring device:
15:21:14.384: name: Default
15:21:14.384: id: default
15:21:14.384: ---------------------------------
15:21:14.866: No blackmagic support
15:21:15.600: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
15:21:16.013: os_dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlc.5.dylib->/Applications/VLC.app/Contents/MacOS/lib/libvlc.5.dylib): dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlc.5.dylib, 1): image not found
15:21:16.013:
15:21:16.013: Couldn't find VLC installation, VLC video source disabled
15:21:16.095: Failed to load 'en-US' text for module: 'obs-browser.so'
15:21:16.095: [browser_source: 'Version: 1.29.0']
15:21:16.095: ---------------------------------
15:21:16.095: Loaded Modules:
15:21:16.095: obs-browser.so
15:21:16.095: vlc-video.so
15:21:16.095: text-freetype2.so
15:21:16.095: rtmp-services.so
15:21:16.095: obs-x264.so
15:21:16.095: obs-vst.so
15:21:16.095: obs-transitions.so
15:21:16.095: obs-outputs.so
15:21:16.095: obs-filters.so
15:21:16.095: obs-ffmpeg.so
15:21:16.095: mac-vth264.so
15:21:16.095: mac-syphon.so
15:21:16.095: mac-decklink.so
15:21:16.095: mac-capture.so
15:21:16.095: mac-avcapture.so
15:21:16.095: linux-jack.so
15:21:16.095: image-source.so
15:21:16.095: frontend-tools.so
15:21:16.095: coreaudio-encoder.so
15:21:16.095: ==== Startup complete ===============================================
15:21:17.263: All scene data cleared
15:21:17.263: ------------------------------------------------
15:21:18.762: coreaudio: device 'iShowU Audio Capture' initialized
15:21:18.767: coreaudio: device 'C-Media USB Audio Device ' initialized
15:21:19.080: adding 255 milliseconds of audio buffering, total audio buffering is now 255 milliseconds
15:21:20.502: Video Capture Device: Selected device 'FaceTime HD Camera (Built-in)'
15:21:20.622: Video Capture Device: Using preset 352x288
15:21:21.786: Failed to open file '/Volumes/TOSHIBA 2TB/Twitch/Panels/twitter.jpg': No such file or directory
15:21:21.786: gs_image_file_init: Failed to load file '/Volumes/TOSHIBA 2TB/Twitch/Panels/twitter.jpg'
15:21:21.786: [image_source: 'twitter panel'] failed to load texture '/Volumes/TOSHIBA 2TB/Twitch/Panels/twitter.jpg'
15:21:23.893: study cam: Selected device 'FaceTime HD Camera (Built-in)'
15:21:23.893: study cam: Using preset 352x288
15:21:26.098: gs_image_file_init: Failed to load file ''
15:21:26.121: gs_image_file_init: Failed to load file ''
15:21:26.127: gs_image_file_init: Failed to load file ''
15:21:26.207: Switched to scene 'Standby'
15:21:26.224: ------------------------------------------------
15:21:26.225: Loaded scenes:
15:21:26.225: - scene 'Standby':
15:21:26.225: - source: 'stand by image' (image_source)
15:21:26.225: - source: 'Image 1' (image_source)
15:21:26.225: - filter: 'Scroll' (scroll_filter)
15:21:26.225: - scene 'Creative':
15:21:26.225: - source: 'Computer Screen' (display_capture)
15:21:26.225: - source: 'info bar' (image_source)
15:21:26.225: - source: 'gray bar' (image_source)
15:21:26.225: - source: 'study cam' (av_capture_input)
15:21:26.225: - source: 'donation goal tab' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'tab main' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'character sample' (image_source)
15:21:26.225: - source: 'instagram panel' (image_source)
15:21:26.225: - source: 'twitter panel' (image_source)
15:21:26.225: - source: 'jenseseart ' (image_source)
15:21:26.225: - source: 'recent follower' (text_ft2_source)
15:21:26.225: - filter: 'Image Mask/Blend' (mask_filter)
15:21:26.225: - source: 'latest follower label' (image_source)
15:21:26.225: - source: 'recent donator' (text_ft2_source)
15:21:26.225: - source: 'latest donator label' (image_source)
15:21:26.225: - source: 'donation goal tab' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'Donation Goal' (browser_source)
15:21:26.225: - source: 'Alerts' (browser_source)
15:21:26.225: - source: 'new stream setup' (image_source)
15:21:26.225: - source: 'bluelabel' (image_source)
15:21:26.225: - source: 'follower goal' (text_ft2_source)
15:21:26.225: - source: 'lulu' (image_source)
15:21:26.225: - source: '500 follower' (image_source)
15:21:26.225: - source: 'impromptu title' (image_source)
15:21:26.225: - filter: 'Image Mask/Blend' (mask_filter)
15:21:26.225: - source: 'saturday title' (image_source)
15:21:26.225: - source: 'thursday title' (image_source)
15:21:26.225: - source: 'tuesday title' (image_source)
15:21:26.225: - scene 'BRB':
15:21:26.225: - source: 'brb' (image_source)
15:21:26.225: - scene 'Gaming':
15:21:26.225: - source: 'Computer Screen' (display_capture)
15:21:26.225: - source: 'donation goal tab' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'tab main' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'recent follower' (text_ft2_source)
15:21:26.225: - filter: 'Image Mask/Blend' (mask_filter)
15:21:26.225: - source: 'latest follower label' (image_source)
15:21:26.225: - source: 'Video Capture Device' (av_capture_input)
15:21:26.225: - source: 'recent donator' (text_ft2_source)
15:21:26.225: - source: 'latest donator label' (image_source)
15:21:26.225: - source: 'donation goal tab' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'Donation Goal' (browser_source)
15:21:26.225: - source: 'Alerts' (browser_source)
15:21:26.225: - source: 'logo for gaming' (image_source)
15:21:26.225: - filter: 'Image Mask/Blend' (mask_filter)
15:21:26.225: - source: 'new stream setup' (image_source)
15:21:26.225: - source: 'bluelabel' (image_source)
15:21:26.225: - source: 'follower goal' (text_ft2_source)
15:21:26.225: - source: '500 follower' (image_source)
15:21:26.225: - scene 'My Face':
15:21:26.225: - source: 'Video Capture Device' (av_capture_input)
15:21:26.225: - source: 'twitter panel' (image_source)
15:21:26.225: - source: 'instagram panel' (image_source)
15:21:26.225: - source: 'jenseseart ' (image_source)
15:21:26.225: - source: 'donation goal tab' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'tab main' (image_source)
15:21:26.225: - filter: 'Color Key' (color_key_filter)
15:21:26.225: - source: 'logo' (image_source)
15:21:26.225: - source: 'jensnek' (image_source)
15:21:26.225: - source: 'Alerts' (browser_source)
15:21:26.225: ------------------------------------------------
15:24:51.350: Settings changed (stream 1)
15:24:51.387: ------------------------------------------------
15:24:59.086: User switched to scene 'Creative'
15:26:10.597: User switched to scene 'Standby'
15:26:41.560: ---------------------------------
15:26:41.572: [x264 encoder: 'streaming_h264'] preset: fast
15:26:41.608: [x264 encoder: 'streaming_h264'] settings:
15:26:41.608: rate_control: CBR
15:26:41.608: bitrate: 1700
15:26:41.608: buffer size: 1700
15:26:41.608: crf: 0
15:26:41.608: fps_num: 30
15:26:41.608: fps_den: 1
15:26:41.608: width: 1280
15:26:41.608: height: 720
15:26:41.608: keyint: 60
15:26:41.608: vfr: off
15:26:41.608:
15:26:41.608: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0
15:26:41.641: [CoreAudio AAC: 'Track1']: settings:
15:26:41.641: mode: AAC
15:26:41.641: bitrate: 72
15:26:41.641: sample rate: 44100
15:26:41.641: cbr: on
15:26:41.641: output buffer: 1536
15:26:41.642: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-dfw.twitch.tv/app...
15:26:42.913: [rtmp stream: 'adv_stream'] Connection to rtmp://live-dfw.twitch.tv/app successful
15:26:42.934: ==== Streaming Start ===============================================
15:27:09.478: [rtmp stream: 'adv_stream'] User stopped the stream
15:27:09.493: Output 'adv_stream': stopping
15:27:09.493: Output 'adv_stream': Total encoded frames: 836
15:27:09.493: Output 'adv_stream': Total drawn frames: 836
15:27:09.493: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 590 (70.6%)
15:27:09.493: [rtmp stream: 'adv_stream'] Freeing 255 remaining packets
15:27:09.497: ==== Streaming Stop ================================================
15:30:53.353: ---------------------------------
15:30:53.368: [x264 encoder: 'streaming_h264'] preset: fast
15:30:53.368: [x264 encoder: 'streaming_h264'] settings:
15:30:53.368: rate_control: CBR
15:30:53.368: bitrate: 1700
15:30:53.368: buffer size: 1700
15:30:53.368: crf: 0
15:30:53.368: fps_num: 30
15:30:53.368: fps_den: 1
15:30:53.368: width: 1280
15:30:53.368: height: 720
15:30:53.368: keyint: 60
15:30:53.368: vfr: off
15:30:53.368:
15:30:53.368: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0
15:30:53.378: [CoreAudio AAC: 'Track1']: settings:
15:30:53.378: mode: AAC
15:30:53.378: bitrate: 72
15:30:53.378: sample rate: 44100
15:30:53.378: cbr: on
15:30:53.378: output buffer: 1536
15:30:53.378: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-dfw.twitch.tv/app...
15:30:54.577: [rtmp stream: 'adv_stream'] Connection to rtmp://live-dfw.twitch.tv/app successful
15:30:54.581: ==== Streaming Start ===============================================
15:34:23.051: User switched to scene 'Creative'
16:27:46.336: Last log entry repeated for 1058 more lines
16:27:46.351: User switched to scene 'BRB'
16:33:14.070: Last log entry repeated for 272 more lines
16:33:14.082: [rtmp stream: 'adv_stream'] User stopped the stream
16:33:14.102: Output 'adv_stream': stopping
16:33:14.102: Output 'adv_stream': Total encoded frames: 112196
16:33:14.102: Output 'adv_stream': Total drawn frames: 112197
16:33:14.102: Output 'adv_stream': Number of skipped frames due to encoding lag: 1 (0.0%)
16:33:14.102: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 97 (0.1%)
16:33:14.102: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 35336 (31.5%)
16:33:14.124: [rtmp stream: 'adv_stream'] Freeing 25 remaining packets
16:33:14.349: ==== Streaming Stop ================================================
 

Attachments

  • 2017-04-10 15-21-12.txt
    11.5 KB · Views: 3

jenseseart

New Member

jenseseart

New Member
Code:
15:27:09.493: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 590 (70.6%)

This says your connection is not stable.

https://github.com/jp9000/obs-studio/wiki/Dropped-Frames-and-General-Connection-Issues

I got my modem and router replaced, and they are quite fancy; however, I did a few stream tests, and for the most part they're good in the beginning, but they starting spiking/and or dropping. I'm still working with the same settings in the log I provided in the first post.
 
Top