AgoraIO / OBS

46 stars 35 forks source link

Not streaming on macos #19

Open RWOverdijk opened 3 years ago

RWOverdijk commented 3 years ago

I've installed obs on mac os using this release but it won't start streaming.

It says:

Starting the output failed. Please check the log for details.

Note: If you are using the NVENC or AMD encoders, make sure your video drivers are up to date.

I've changed the encoders for streaming and recording but it had no effect.

I've also checked the logs:

11:57:22.129: CPU Name: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
11:57:22.129: CPU Speed: 2900MHz
11:57:22.129: Physical Cores: 6, Logical Cores: 12
11:57:22.129: Physical Memory: 32768MB Total
11:57:22.129: OS Name: Mac OS X (NSMACHOperatingSystem)
11:57:22.129: OS Version: Version 10.16 (Build 20B29)
11:57:22.129: Kernel Version: 20.1.0
11:57:22.133: hotkeys-cocoa: Getting keyboard keys failed
11:57:22.133: hotkeys-cocoa: Getting keyboard keys failed
11:57:22.133: hotkeys-cocoa: Getting keyboard keys failed
11:57:22.133: hotkeys-cocoa: Using layout 'com.apple.keylayout.ABC'
11:57:22.133: Portable mode: false
11:57:22.241: OBS 25.0.7-38-g09e3e6ed (mac)
11:57:22.241: ---------------------------------
11:57:22.242: ---------------------------------
11:57:22.242: audio settings reset:
11:57:22.242:   samples per sec: 44100
11:57:22.242:   speakers:        2
11:57:22.242: ---------------------------------
11:57:22.242: Initializing OpenGL...
11:57:22.268: Loading up OpenGL on adapter ATI Technologies Inc. AMD Radeon Pro 560X OpenGL Engine
11:57:22.268: OpenGL loaded successfully, version 4.1 ATI-4.0.47, shading language 4.10
11:57:22.341: ---------------------------------
11:57:22.341: video settings reset:
11:57:22.341:   base resolution:   1920x1080
11:57:22.341:   output resolution: 1920x1080
11:57:22.341:   downscale filter:  Lanczos
11:57:22.341:   fps:               60/1
11:57:22.341:   format:            NV12
11:57:22.341:   YUV mode:          601/Partial
11:57:22.341: NV12 texture support not available
11:57:22.342: Audio monitoring device:
11:57:22.342:   name: Default
11:57:22.342:   id: default
11:57:22.342: ---------------------------------
11:57:22.345: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
11:57:22.351: os_dlopen(libpython3.7m.dylib->libpython3.7m.dylib): dlopen(libpython3.7m.dylib, 257): image not found
11:57:22.351: 
11:57:22.351: [Python] Could not load library: libpython3.7m.dylib
11:57:22.360: agora_loaded
11:57:22.421: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
11:57:22.421: No blackmagic support
11:57:22.481: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
11:57:22.498: [obs-browser]: Version 2.8.6
11:57:22.506: VLC found, VLC video source enabled
11:57:22.507: Ignoring old obs-browser.so version
11:57:22.507: ---------------------------------
11:57:22.507:   Loaded Modules:
11:57:22.507:     vlc-video.so
11:57:22.507:     text-freetype2.so
11:57:22.507:     rtmp-services.so
11:57:22.507:     obs-x264.so
11:57:22.507:     obs-vst.so
11:57:22.507:     obs-transitions.so
11:57:22.507:     obs-outputs.so
11:57:22.507:     obs-libfdk.so
11:57:22.507:     obs-filters.so
11:57:22.507:     obs-ffmpeg.so
11:57:22.507:     obs-browser.so
11:57:22.507:     mac-vth264.so
11:57:22.507:     mac-syphon.so
11:57:22.507:     mac-decklink.so
11:57:22.507:     mac-capture.so
11:57:22.507:     mac-avcapture.so
11:57:22.507:     mac-agora.so
11:57:22.507:     linux-jack.so
11:57:22.507:     image-source.so
11:57:22.507:     frontend-tools.so
11:57:22.507:     decklink-ouput-ui.so
11:57:22.507:     coreaudio-encoder.so
11:57:22.507: ---------------------------------
11:57:22.507: os_dlopen(../obs-plugins/obs-browser->../obs-plugins/obs-browser.so): dlopen(../obs-plugins/obs-browser.so, 257): image not found
11:57:22.507: 
11:57:22.507: ==== Startup complete ===============================================
11:57:22.519: All scene data cleared
11:57:22.519: ------------------------------------------------
11:57:22.610: coreaudio: device 'MacBook Pro Microphone' initialized
11:57:22.610: [Loaded global audio device]: 'Mic/Aux'
11:57:22.619: Webcam: Selected device 'FaceTime HD Camera (Built-in)'
11:57:22.621: Webcam: Using preset 640x480
11:57:22.643: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
11:57:22.643: 
11:57:22.668: Switched to scene 'Coding'
11:57:22.668: ------------------------------------------------
11:57:22.668: Loaded scenes:
11:57:22.668: - scene 'Coding':
11:57:22.668:     - source: 'Webcam' (av_capture_input)
11:57:22.668: - scene 'Terminal':
11:57:22.668:     - source: 'CLI' (window_capture)
11:57:22.668:     - source: 'Webcam' (av_capture_input)
11:57:22.668: ------------------------------------------------

More info:

How can I get this to work, and keep it working in the future? Updating OBS seems to remove the agora plugin so I don't know what the best approach is.

plutoless commented 3 years ago

i will take a look

vindru commented 3 years ago

@plutoless Mac plugin for OBS is not working for me on multiple devices. Can you guide what should be the approach to run it until the permanent fix will be available.

RWOverdijk commented 3 years ago

fwiw I am now using standard obs and virtual webcam. That way I can use a webclient to stream.

Ideally this project would offer an obs plugin, that way it's easier to update and work with. But that's just my opinion 😄

Reinhartdelille commented 3 years ago

I second that ! For our live streams a tool like OBS or VMIX is just too powerful to ignore and to much hussle to build ourselves, either directly from SDK or by compiling the Agora OBS Plugin. BTW @RWOverdijk do you use VCable to pipe the audio in standard OBS?

plutoless commented 3 years ago

we are planning to offer a windows plugin but macos is still planning.

Reinhartdelille commented 3 years ago

Amazing, Volunteering to test extensively here! Will we be able to set audio and video profile parameters for the agora engine? That will be very important for us.

RWOverdijk commented 3 years ago

@Reinhartdelille yes, I am. Meanwhile I'm working on a plugin to replace this project with in my workflow. Slowly. 😅