Question / Help Facebook Live - juddering stream

Krisg

New Member
Hi there. I have a MacBook 1.3GHz Intel Core M with 8GB of memory on 1600 Mhz DDR3. Is this enough to run OBR? The reason I ask is that I did a broadcast at the weekend and it was really juddering. My connection was fine and fast. The flv recording was also juddering which make me think it's either my OBS settings or my MacBook. Any help would be really appreciated. Many thanks.
 

Krisg

New Member
Hi all - I still have this problem, I've changed the settings but to be honest, I'm not really sure what I'm doing. Tonight was as bad as ever. Here's the log, hope that someone can help me out. Cheers, Kris


19:15:34.884: CPU Name: Intel(R) Core(TM) M-5Y71 CPU @ 1.20GHz
19:15:34.884: CPU Speed: 1300MHz
19:15:34.884: Physical Cores: 2, Logical Cores: 4
19:15:34.884: Physical Memory: 8192MB Total
19:15:34.884: OS Name: Mac OS X (NSMACHOperatingSystem)
19:15:34.884: OS Version: Version 10.10.5 (Build 14F2315)
19:15:34.884: Kernel Version: 14.5.0
19:15:34.889: hotkeys-cocoa: Using layout 'com.apple.keylayout.British'
19:15:34.998: OBS 0.16.2 (mac)
19:15:34.998: ---------------------------------
19:15:34.999: ---------------------------------
19:15:34.999: audio settings reset:
19:15:34.999: samples per sec: 44100
19:15:34.999: speakers: 2
19:15:35.113: ---------------------------------
19:15:35.113: video settings reset:
19:15:35.113: base resolution: 2560x1600
19:15:35.113: output resolution: 1136x710
19:15:35.113: downscale filter: Bicubic
19:15:35.113: fps: 25/1
19:15:35.113: format: NV12
19:15:35.114: ---------------------------------
19:15:35.147: No blackmagic support
19:15:35.188: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
19:15:35.225: 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
19:15:35.225:
19:15:35.225: Couldn't find VLC installation, VLC video source disabled
19:15:35.230: Failed to load 'en-US' text for module: 'obs-browser.so'
19:15:35.230: [browser_source: 'Version: 1.25.0']
19:15:35.230: ---------------------------------
19:15:35.230: Loaded Modules:
19:15:35.230: obs-browser.so
19:15:35.230: vlc-video.so
19:15:35.230: text-freetype2.so
19:15:35.230: rtmp-services.so
19:15:35.230: obs-x264.so
19:15:35.230: obs-transitions.so
19:15:35.230: obs-outputs.so
19:15:35.230: obs-filters.so
19:15:35.230: obs-ffmpeg.so
19:15:35.230: mac-vth264.so
19:15:35.230: mac-syphon.so
19:15:35.231: mac-decklink.so
19:15:35.231: mac-capture.so
19:15:35.231: mac-avcapture.so
19:15:35.231: image-source.so
19:15:35.231: frontend-tools.so
19:15:35.231: coreaudio-encoder.so
19:15:35.231: ==== Startup complete ===============================================
19:15:35.385: All scene data cleared
19:15:35.385: ------------------------------------------------
19:15:35.421: coreaudio: device 'Built-in Microphone' initialized
19:15:35.421: [Media Source 'Media Source 3']: invalid audio_buffer_size 1
19:15:35.422: [Media Source 'Media Source 3']: invalid audio_buffer_size 1
19:15:35.422: [Media Source 'Media Source 3']: settings:
19:15:35.422: input: /Users/KrisGriffin/Desktop/May Unwrapped/start.mp3
19:15:35.422: input_format: (null)
19:15:35.422: is_looping: no
19:15:35.422: is_forcing_scale: yes
19:15:35.422: is_hw_decoding: yes
19:15:35.422: is_clear_on_media_end: yes
19:15:35.422: restart_on_activate: yes
19:15:35.422: [Media Source 'Media Source 3']: advanced settings:
19:15:35.422: audio_buffer_size: 1
19:15:35.422: video_buffer_size: 1
19:15:35.422: frame_drop: AVDISCARD_DEFAULT
19:15:35.422: [Media Source 'Media Source 1']: invalid audio_buffer_size 1
19:15:35.422: [Media Source 'Media Source 1']: invalid audio_buffer_size 1
19:15:35.422: [Media Source 'Media Source 1']: settings:
19:15:35.422: input: /Users/KrisGriffin/Desktop/May Unwrapped/end.mp3
19:15:35.422: input_format: (null)
19:15:35.422: is_looping: no
19:15:35.422: is_forcing_scale: yes
19:15:35.422: is_hw_decoding: yes
19:15:35.422: is_clear_on_media_end: yes
19:15:35.422: restart_on_activate: yes
19:15:35.422: [Media Source 'Media Source 1']: advanced settings:
19:15:35.422: audio_buffer_size: 1
19:15:35.422: video_buffer_size: 1
19:15:35.422: frame_drop: AVDISCARD_DEFAULT
19:15:35.562: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
19:15:35.701: Video Capture Device: Selected device 'FaceTime Camera'
19:15:35.704: Video Capture Device: Preset 1280x720 not available
19:15:35.704: Video Capture Device: Using preset 640x480
19:15:35.836: [Media Source 'Media Source']: settings:
19:15:35.836: input:
19:15:35.836: input_format: (null)
19:15:35.836: is_looping: no
19:15:35.836: is_forcing_scale: yes
19:15:35.836: is_hw_decoding: yes
19:15:35.836: is_clear_on_media_end: yes
19:15:35.836: restart_on_activate: yes
19:15:36.156: [Media Source 'Title']: settings:
19:15:36.156: input: /Users/KrisGriffin/Desktop/May Unwrapped/BF LIVE INTRO 003.mp4
19:15:36.156: input_format: (null)
19:15:36.156: is_looping: no
19:15:36.156: is_forcing_scale: yes
19:15:36.156: is_hw_decoding: yes
19:15:36.156: is_clear_on_media_end: yes
19:15:36.156: restart_on_activate: yes
19:15:36.158: [Media Source 'music']: settings:
19:15:36.158: input: /Users/KrisGriffin/Desktop/April Unwrapped/bf live theme - 001.mp3
19:15:36.158: input_format: (null)
19:15:36.158: is_looping: yes
19:15:36.158: is_forcing_scale: yes
19:15:36.158: is_hw_decoding: yes
19:15:36.158: is_clear_on_media_end: yes
19:15:36.158: restart_on_activate: yes
19:15:36.291: Video Capture Device 2: Selected device 'FaceTime Camera'
19:15:36.291: Video Capture Device 2: Preset 1280x720 not available
19:15:36.291: Video Capture Device 2: Using preset 640x480
19:15:36.399: Video Capture Device 1: Selected device 'FaceTime Camera'
19:15:36.399: Video Capture Device 1: Preset 1280x720 not available
19:15:36.399: Video Capture Device 1: Using preset 640x480
19:15:36.477: Cam: Selected device 'FaceTime Camera'
19:15:36.477: Cam: Using preset 640x480
19:15:36.610: Switched to scene 'Main Caption'
19:15:36.610: ------------------------------------------------
19:15:36.610: Loaded scenes:
19:15:36.610: - scene 'Main Caption':
19:15:36.610: - source: 'main caption' (image_source)
19:15:36.610: - source: 'music' (ffmpeg_source)
19:15:36.610: - scene 'Main Caption 2 with DT':
19:15:36.610: - source: 'main caption' (image_source)
19:15:36.610: - source: 'Media Source 3' (ffmpeg_source)
19:15:36.610: - scene 'Title Sequence':
19:15:36.610: - source: 'Title' (ffmpeg_source)
19:15:36.610: - scene 'Kris Live MAIN':
19:15:36.610: - source: 'Cam' (av_capture_input)
19:15:36.610: - scene 'Vortex':
19:15:36.610: - source: 'Video Capture Device 1' (av_capture_input)
19:15:36.610: - source: 'vor' (image_source)
19:15:36.610: - scene 'Kris Live MAIN 2':
19:15:36.610: - source: 'Cam' (av_capture_input)
19:15:36.610: - scene 'App':
19:15:36.610: - source: 'Image 9' (image_source)
19:15:36.610: - source: 'Image 10' (image_source)
19:15:36.610: - scene 'Kris Live MAIN 3':
19:15:36.610: - source: 'Cam' (av_capture_input)
19:15:36.610: - scene 'News Limited Eds':
19:15:36.610: - source: 'limited eds' (image_source)
19:15:36.610: - scene 'News Bernice':
19:15:36.610: - source: 'bernice' (image_source)
19:15:36.610: - scene 'News B7':
19:15:36.610: - source: 'B7' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 4':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'News TENTH':
19:15:36.611: - source: 'Tenth' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 5':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'DWM':
19:15:36.611: - source: 'Video Capture Device 2' (av_capture_input)
19:15:36.611: - source: 'robot' (image_source)
19:15:36.611: - source: 'collect' (image_source)
19:15:36.611: - source: 'dwm' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 6':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'Kris Live Main 7 DWM':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - source: 'newd1' (image_source)
19:15:36.611: - source: 'newd2' (image_source)
19:15:36.611: - scene 'Vworp ES LIVE':
19:15:36.611: - source: 'vw' (image_source)
19:15:36.611: - source: 'cd' (image_source)
19:15:36.611: - source: 'elec' (image_source)
19:15:36.611: - source: 'Media Source' (ffmpeg_source)
19:15:36.611: - source: 'Video Capture Device' (av_capture_input)
19:15:36.611: - scene 'Kris Live MAIN 8':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'C DW Shape of things to come':
19:15:36.611: - source: 'Image' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 9':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'C DW Ninth Doc':
19:15:36.611: - source: 'Image 1' (image_source)
19:15:36.611: - scene 'C DW Torchwood 15':
19:15:36.611: - source: 'Image 2' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 10':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'C Dark Shadows':
19:15:36.611: - source: 'Image 3' (image_source)
19:15:36.611: - scene 'C DW MR Vortex Ice Cortex Fire':
19:15:36.611: - source: 'Image 4' (image_source)
19:15:36.611: - scene 'C DW 4th Doc - Haunting of':
19:15:36.611: - source: 'Image 5' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 11':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'C UNIT Assembled':
19:15:36.611: - source: 'Image 6' (image_source)
19:15:36.611: - scene 'C Pathfinder 3.5 Skeletons':
19:15:36.611: - source: 'Image 7' (image_source)
19:15:36.611: - scene 'C DW Short Trips Falling':
19:15:36.611: - source: 'Image 8' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 12 - Titan':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'Handmaid's':
19:15:36.611: - source: 'Image 11' (image_source)
19:15:36.611: - scene 'Kris Live MAIN 13':
19:15:36.611: - source: 'Cam' (av_capture_input)
19:15:36.611: - scene 'Main Caption END':
19:15:36.611: - source: 'main caption' (image_source)
19:15:36.611: - source: 'music' (ffmpeg_source)
19:15:36.611: - scene 'Main Caption END 2':
19:15:36.611: - source: 'main caption' (image_source)
19:15:36.611: - source: 'Media Source 1' (ffmpeg_source)
19:15:36.611: ------------------------------------------------
19:19:45.473: Settings changed (outputs)
19:19:45.473: ------------------------------------------------
19:19:52.921: User switched to scene 'Kris Live MAIN'
19:23:14.692: User switched to scene 'Vortex'
19:23:19.094: User switched to scene 'Kris Live MAIN 2'
19:23:20.419: User switched to scene 'App'
19:23:21.121: User switched to scene 'Kris Live MAIN 3'
19:23:21.587: User switched to scene 'News Limited Eds'
19:23:22.144: User switched to scene 'News Bernice'
19:23:22.906: User switched to scene 'News B7'
19:23:23.662: User switched to scene 'Kris Live MAIN 4'
19:23:25.790: User switched to scene 'News TENTH'
19:23:28.756: User switched to scene 'Kris Live MAIN 5'
19:23:29.606: User switched to scene 'DWM'
19:23:30.847: User switched to scene 'Kris Live MAIN 6'
19:23:32.096: User switched to scene 'Kris Live Main 7 DWM'
19:23:33.205: User switched to scene 'Vworp ES LIVE'
19:23:34.905: User switched to scene 'Kris Live MAIN 8'
19:23:35.962: User switched to scene 'C DW Shape of things to come'
19:23:36.785: User switched to scene 'Kris Live MAIN 9'
19:23:37.188: User switched to scene 'C DW Ninth Doc'
19:23:37.829: User switched to scene 'C DW Torchwood 15'
19:23:38.406: User switched to scene 'Kris Live MAIN 10'
19:23:38.949: User switched to scene 'C Dark Shadows'
19:23:39.591: User switched to scene 'C DW MR Vortex Ice Cortex Fire'
19:23:40.202: User switched to scene 'C DW 4th Doc - Haunting of'
19:23:41.003: User switched to scene 'Kris Live MAIN 11'
19:23:41.493: User switched to scene 'C UNIT Assembled'
19:23:41.942: User switched to scene 'C Pathfinder 3.5 Skeletons'
19:23:42.671: User switched to scene 'C DW Short Trips Falling'
19:23:43.414: User switched to scene 'Kris Live MAIN 12 - Titan'
19:23:46.555: User switched to scene 'C DW Short Trips Falling'
19:23:49.654: User switched to scene 'Kris Live MAIN 12 - Titan'
19:23:50.835: User switched to scene 'Handmaid's'
19:23:52.048: User switched to scene 'Kris Live MAIN 13'
19:23:52.615: User switched to scene 'Main Caption END'
19:23:53.225: User switched to scene 'Main Caption END 2'
19:23:55.994: User switched to scene 'Main Caption END'
19:23:56.049: Max audio buffering reached!
---
 

Attachments

  • 2017-05-28 19-15-34 copy.txt
    21.9 KB · Views: 10

Narcogen

Active Member
19:38:03.527: Output 'simple_stream': Total encoded frames: 12521
19:38:03.527: Output 'simple_stream': Total drawn frames: 12592
19:38:03.527: Output 'simple_stream': Number of skipped frames due to encoding lag: 5031 (40.2%)

19:38:03.562: Output 'simple_file_output': Total encoded frames: 12521
19:38:03.562: Output 'simple_file_output': Total drawn frames: 12592
19:38:03.562: Output 'simple_file_output': Number of skipped frames due to encoding lag: 5031 (40.2%)​

You are overloading your CPU. It cannot encode at the frame size and bitrate you specify with the current settings. Either raise the bitrate, lower the frame size, or go to a faster CPU preset-- superfast or ultrafast. This will sacrifice quality for the sake of keeping up with encoding frames as they are rendered.
 

Krisg

New Member
This is really useful. HUGE thanks.

Under Settings/Output/Simple
CPU preset is now on Superfast.
Video Bitrate currently set at 1200 - what would you suggest?
Audio bitrate is set at 96 - sound OK?
Under advanced - rescale output is set at 2560x1600 - what would you suggest for that?

Cheers. Kris
 

Narcogen

Active Member
1200 is pretty low, even for streaming. Try 2500-3500 for 720p30 and 3000-5000 for 1080p30.

Also, you're using an ancient version of OBS. The latest is 20.x and you should be able to run 17, 18 or 19 on 10.10. The cutoff for running newer versions is OSX 10.9.x.

Audio bitrate at 96 is a bit low-- go to 128 or even 160. Audio quality is in many cases more important than video in terms of how people perceive the quality of a stream.

If you want people to watch on standard screen sizes you should be rescaling to either 1280x720 or 1920x1080 and adding bars if necessary. Only scale to a nonstandard size if you only expect people to be watching on a desktop in a browser and no other application (smartphone app, TV app, STB app).
 

Peter John

New Member
Krisg
I don't know about your internet speed, but with me I have 50-up 100-down I always put the output to 7000 streaming in 720p and the streaming is great.

I see many here that go for 2500-3000 well just make it higher use audio as 128 and video for 7000 minimum
Rescale to 1080 or 720
 

Narcogen

Active Member
Krisg
I don't know about your internet speed, but with me I have 50-up 100-down I always put the output to 7000 streaming in 720p and the streaming is great.

I see many here that go for 2500-3000 well just make it higher use audio as 128 and video for 7000 minimum
Rescale to 1080 or 720

If you're not a partner with some of the streaming services and using one that requires that before allowing for transcoding, using that high a bitrate will mean buffering for some users. If none of your users report that, then great! But up until recently (last few years) more than one streaming service didn't even allow for bitrates over 5000.

I myself use 6000 but this is what the platform I use recommends; if frames are being dropped because of the network (stats window will report it) go lower.
 
Top