Question / Help MacBook Pro Terribly Blurry and Laggy At Times

alexudi

New Member
I have substantially fixed heavy stuttering and lagging but yet have resulted in a blurry video. I am using NDI with and an 8-port Ethernet switch to plug in both my Macbook and PC into, and then there is another Ethernet going out into my power-line adapter. I also should say my macbook is hooked up with a usb 3.0 to ethernet adapter which goes into the switch, but seems to work pefectly according to the internet speed tests I run.
I am using a base-model 2015 13-inch MacBook Pro as my streaming computer with the following specs:
  • 2.7GHz Intel Cor i5 Processor
  • 8 gigs of RAM
  • Intel Iris Graphics 6100 1536 MB gpu
I am also using the webcam on the mac as well. For my source I am using the display capture on the PCs OBS, and for the Mac I have NDI as the source to the PC.
My PC is where I am playing my games on, and has the following specs:
  • CPU: Intel i7 7700-k 4.2GHz
  • GPU: Asus Rog Strix 1070 Ti
  • RAM: 16 GB
My internet upload speed can average around 9 MB with no one on it and with people on it can average 5 MB.
I have my bitrate on my MacBook at 1500 with my output scale as 853x480. For my PC it is at 6000 bitrate with an output scale of 1920x1080. These were also setting adjusted by the Auto-Configuration Wizard. And I found this to be the best possible setting for the least amount of lag and stuttering yet the video quality is blurry and still lags at times.

Appreciate any suggestions and help! Thank you.

Most Recent Log:
15:20:51.376: CPU Name: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
15:20:51.376: CPU Speed: 2700MHz
15:20:51.376: Physical Cores: 2, Logical Cores: 4
15:20:51.376: Physical Memory: 8192MB Total
15:20:51.376: OS Name: Mac OS X (NSMACHOperatingSystem)
15:20:51.376: OS Version: Version 10.12.6 (Build 16G1212)
15:20:51.376: Kernel Version: 16.7.0
15:20:51.379: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
15:20:51.379: Portable mode: false
15:20:51.517: OBS 21.1.1-modified (mac)
15:20:51.517: ---------------------------------
15:20:51.519: ---------------------------------
15:20:51.519: audio settings reset:
15:20:51.519: samples per sec: 44100
15:20:51.519: speakers: 2
15:20:51.520: ---------------------------------
15:20:51.520: Initializing OpenGL...
15:20:51.535: Loading up OpenGL on adapter Intel Inc. Intel(R) Iris(TM) Graphics 6100
15:20:51.535: OpenGL loaded successfully, version 4.1 INTEL-10.25.19, shading language 4.10
15:20:51.601: ---------------------------------
15:20:51.601: video settings reset:
15:20:51.601: base resolution: 1920x1080
15:20:51.601: output resolution: 852x480
15:20:51.601: downscale filter: Bicubic
15:20:51.601: fps: 30/1
15:20:51.601: format: NV12
15:20:51.601: YUV mode: 601/Partial
15:20:51.601: Audio monitoring device:
15:20:51.601: name: Default
15:20:51.601: id: default
15:20:51.602: ---------------------------------
15:20:51.658: No blackmagic support
15:20:51.688: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
15:20:51.720: VLC found, VLC video source enabled
15:20:51.722: Failed to load 'en-US' text for module: 'obs-browser.so'
15:20:51.722: [browser_source: 'Version: 1.31.0']
15:20:51.725: [obs-ndi] hello ! (version 4.3.0)
15:20:51.725: [obs-ndi] Trying ''
15:20:51.725: [obs-ndi] Trying '/usr/lib'
15:20:51.725: [obs-ndi] Trying '/usr/local/lib'
15:20:51.725: [obs-ndi] Found NDI library at '/usr/local/lib/libndi.3.dylib'
15:20:51.727: [obs-ndi] NDI runtime loaded successfully
15:20:51.727: [obs-ndi] NDI library initialized successfully
15:20:51.729: [obs-ndi] starting main NDI output with name 'OBS'
15:20:51.734: [obs-ndi] asynchronous video sending disabled
15:20:51.734: ---------------------------------
15:20:51.734: Loaded Modules:
15:20:51.734: obs-ndi.so
15:20:51.734: obs-browser.so
15:20:51.734: vlc-video.so
15:20:51.734: text-freetype2.so
15:20:51.734: rtmp-services.so
15:20:51.734: obs-x264.so
15:20:51.734: obs-vst.so
15:20:51.734: obs-transitions.so
15:20:51.734: obs-outputs.so
15:20:51.734: obs-filters.so
15:20:51.734: obs-ffmpeg.so
15:20:51.734: mac-vth264.so
15:20:51.734: mac-syphon.so
15:20:51.734: mac-decklink.so
15:20:51.734: mac-capture.so
15:20:51.734: mac-avcapture.so
15:20:51.734: linux-jack.so
15:20:51.734: image-source.so
15:20:51.734: frontend-tools.so
15:20:51.734: coreaudio-encoder.so
15:20:51.734: ---------------------------------
15:20:51.734: ==== Startup complete ===============================================
15:20:51.760: All scene data cleared
15:20:51.760: ------------------------------------------------
15:20:51.809: coreaudio: device 'Built-in Microphone' initialized
15:20:51.965: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
15:20:52.811: [obs-ndi] started A/V threads for source 'DESKTOP-TJ86JBS (OBS)'
15:20:52.811: [obs-ndi] video thread for 'PC DISPLAY/NDI™ Source' started
15:20:52.811: [obs-ndi] audio thread for 'PC DISPLAY/NDI™ Source' started
15:20:52.856: Video Capture Device: Selected device 'FaceTime HD Camera'
15:20:52.857: Video Capture Device: Using preset 960x540
15:20:53.380: Switched to scene 'Scene'
15:20:53.380: ------------------------------------------------
15:20:53.380: Loaded scenes:
15:20:53.380: - scene 'Scene':
15:20:53.380: - source: 'PC DISPLAY/NDI™ Source' (ndi_source)
15:20:53.380: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)
15:20:53.380: - source: 'Video Capture Device' (av_capture_input)
15:20:53.380: - source: 'MAC DISPLAY' (display_capture)
15:20:53.380: ------------------------------------------------
15:21:00.627: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
15:21:00.653: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
15:21:00.677: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds
15:21:00.700: adding 23 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
15:21:00.734: adding 23 milliseconds of audio buffering, total audio buffering is now 162 milliseconds
15:21:00.768: adding 23 milliseconds of audio buffering, total audio buffering is now 185 milliseconds
15:21:00.768: adding 23 milliseconds of audio buffering, total audio buffering is now 208 milliseconds
15:21:00.797: adding 23 milliseconds of audio buffering, total audio buffering is now 232 milliseconds
15:21:00.821: adding 23 milliseconds of audio buffering, total audio buffering is now 255 milliseconds
15:21:00.848: adding 23 milliseconds of audio buffering, total audio buffering is now 278 milliseconds
15:21:00.876: adding 23 milliseconds of audio buffering, total audio buffering is now 301 milliseconds
15:21:00.902: adding 23 milliseconds of audio buffering, total audio buffering is now 325 milliseconds
15:21:00.902: adding 23 milliseconds of audio buffering, total audio buffering is now 348 milliseconds
15:21:00.927: adding 23 milliseconds of audio buffering, total audio buffering is now 371 milliseconds
15:21:00.960: adding 23 milliseconds of audio buffering, total audio buffering is now 394 milliseconds
15:21:00.988: adding 23 milliseconds of audio buffering, total audio buffering is now 417 milliseconds
15:21:01.012: adding 23 milliseconds of audio buffering, total audio buffering is now 441 milliseconds
15:21:01.040: adding 23 milliseconds of audio buffering, total audio buffering is now 464 milliseconds
15:21:01.040: adding 23 milliseconds of audio buffering, total audio buffering is now 487 milliseconds
15:21:01.068: adding 23 milliseconds of audio buffering, total audio buffering is now 510 milliseconds
15:21:01.092: adding 23 milliseconds of audio buffering, total audio buffering is now 534 milliseconds
15:21:01.118: adding 23 milliseconds of audio buffering, total audio buffering is now 557 milliseconds
15:21:01.144: adding 23 milliseconds of audio buffering, total audio buffering is now 580 milliseconds
15:21:01.168: adding 23 milliseconds of audio buffering, total audio buffering is now 603 milliseconds
15:21:01.194: adding 23 milliseconds of audio buffering, total audio buffering is now 626 milliseconds
15:21:01.218: adding 23 milliseconds of audio buffering, total audio buffering is now 650 milliseconds
15:21:01.248: adding 23 milliseconds of audio buffering, total audio buffering is now 673 milliseconds
15:21:01.271: adding 23 milliseconds of audio buffering, total audio buffering is now 696 milliseconds
15:21:01.295: adding 23 milliseconds of audio buffering, total audio buffering is now 719 milliseconds
15:21:01.320: adding 23 milliseconds of audio buffering, total audio buffering is now 743 milliseconds
15:21:01.320: adding 23 milliseconds of audio buffering, total audio buffering is now 766 milliseconds
15:21:01.615: Last log entry repeated for 11 more lines
15:21:01.615: Max audio buffering reached!
15:21:01.615: adding 23 milliseconds of audio buffering, total audio buffering is now 1044 milliseconds
15:25:35.437: ---------------------------------
15:25:35.438: [x264 encoder: 'simple_h264_stream'] preset: veryfast
15:25:35.438: [x264 encoder: 'simple_h264_stream'] settings:
15:25:35.438: rate_control: CBR
15:25:35.438: bitrate: 1500
15:25:35.438: buffer size: 1500
15:25:35.438: crf: 0
15:25:35.438: fps_num: 30
15:25:35.438: fps_den: 1
15:25:35.438: width: 852
15:25:35.438: height: 480
15:25:35.438: keyint: 60
15:25:35.438:
15:25:35.438: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
15:25:35.456: [CoreAudio AAC: 'simple_aac']: settings:
15:25:35.456: mode: AAC
15:25:35.456: bitrate: 160
15:25:35.456: sample rate: 44100
15:25:35.456: cbr: on
15:25:35.456: output buffer: 1536
15:25:35.456: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-lax.twitch.tv/app...
15:25:36.181: [rtmp stream: 'simple_stream'] Connection to rtmp://live-lax.twitch.tv/app successful
15:25:36.214: ==== Streaming Start ===============================================
15:32:25.823: [rtmp stream: 'simple_stream'] Stream shutdown timeout reached (30 second(s))
15:32:25.824: [rtmp stream: 'simple_stream'] User stopped the stream
15:32:25.824: Output 'simple_stream': stopping
15:32:25.824: Output 'simple_stream': Total frames output: 5782
15:32:25.824: Output 'simple_stream': Total drawn frames: 9006 (12310 attempted)
15:32:25.824: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 3304 (26.8%)
15:32:25.833: ==== Streaming Stop ================================================
15:44:22.662: ---------------------------------
15:44:22.662: [x264 encoder: 'simple_h264_stream'] preset: veryfast
15:44:22.662: [x264 encoder: 'simple_h264_stream'] settings:
15:44:22.662: rate_control: CBR
15:44:22.662: bitrate: 1500
15:44:22.662: buffer size: 1500
15:44:22.662: crf: 0
15:44:22.662: fps_num: 30
15:44:22.662: fps_den: 1
15:44:22.662: width: 852
15:44:22.662: height: 480
15:44:22.662: keyint: 60
15:44:22.662:
15:44:22.662: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
15:44:22.672: [CoreAudio AAC: 'simple_aac']: settings:
15:44:22.672: mode: AAC
15:44:22.672: bitrate: 160
15:44:22.672: sample rate: 44100
15:44:22.672: cbr: on
15:44:22.672: output buffer: 1536
15:44:22.687: ==== Recording Start ===============================================
15:44:22.687: [ffmpeg muxer: 'simple_file_output'] Writing file '/Users/AlexanderNamvari/Movies/2018-05-29 15-44-22.flv'...
15:49:21.446: [ffmpeg muxer: 'simple_file_output'] Output of file '/Users/AlexanderNamvari/Movies/2018-05-29 15-44-22.flv' stopped
15:49:21.446: Output 'simple_file_output': stopping
15:49:21.446: Output 'simple_file_output': Total frames output: 2206
15:49:21.446: Output 'simple_file_output': Total drawn frames: 7090 (8955 attempted)
15:49:21.446: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 1865 (20.8%)
15:49:21.448: ==== Recording Stop ================================================
15:53:00.493: Settings changed (outputs)
15:53:00.493: ------------------------------------------------
15:54:17.176: ---------------------------------
15:54:17.176: [x264 encoder: 'simple_h264_stream'] preset: ultrafast
15:54:17.176: [x264 encoder: 'simple_h264_stream'] settings:
15:54:17.176: rate_control: CBR
15:54:17.176: bitrate: 1500
15:54:17.176: buffer size: 1500
15:54:17.176: crf: 0
15:54:17.176: fps_num: 30
15:54:17.176: fps_den: 1
15:54:17.176: width: 852
15:54:17.176: height: 480
15:54:17.176: keyint: 60
15:54:17.176:
15:54:17.176: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
15:54:17.192: [CoreAudio AAC: 'simple_aac']: settings:
15:54:17.192: mode: AAC
15:54:17.192: bitrate: 160
15:54:17.192: sample rate: 44100
15:54:17.192: cbr: on
15:54:17.192: output buffer: 1536
15:54:17.192: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-lax.twitch.tv/app...
15:54:17.918: [rtmp stream: 'simple_stream'] Connection to rtmp://live-lax.twitch.tv/app successful
15:54:17.923: ==== Streaming Start ===============================================
 
Last edited:

Narcogen

Active Member
I have my bitrate on my MacBook at 1500 with my output scale as 853x480. For my PC it is at 6000 bitrate with an output scale of 1920x1080. These were also setting adjusted by the Auto-Configuration Wizard.

Just to clarify: those settings are only relevant for the machine that's streaming output to the external service (Twitch, YouTube, whatever). The NDI plugin is affected only by resolution, not bitrate, and requires a lot more bandwidth-- it expects you're on a LAN.

As for your lag:

15:32:25.824: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 3304 (26.8%)

The GPU on the machine this log is from (the Mac) is overloaded. If all you are using it for is sending a 480p facecam to the other machine, there's no reason to use a canvas resolution of 1080p, since that's what it is trying to render prior to compression. In fact, I'm not even sure the NDI plugin is affected by the output scaling setting, so it's trying to render the entire 1080p30 canvas and send that over your LAN. If the only thing that copy of OBS is sending is a 480p facecam, set your canvas resolution to 852x480p and don't scale.
 
Top