Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load it on OBS as VST2, macOS Sequoia, M2 chip #204

Open
eric-gitta-moore opened this issue Nov 6, 2024 · 1 comment
Open

Comments

@eric-gitta-moore
Copy link

eric-gitta-moore commented Nov 6, 2024

Unable to load it on OBS as VST2, macOS Sequoia, M2 chip

I tried this and manual installation

#105, #136 (comment), #6 (comment)

On macOS, VST files use the .vst extension.

  • /Library/Audio/Plug-Ins/VST/
  • ~/Library/Audio/Plug-ins/VST/ (Home folder)
OBS log
❯ /Applications/OBS.app/Contents/MacOS/OBS
info: Using preferred locale 'zh-CN'
info: [macOS] Permission for audio device access denied.
info: [macOS] Permission for video device access denied.
info: [macOS] Permission for accessibility denied.
info: [macOS] Permission for screen capture denied.
info: CPU Name: Apple M2
info: Physical Cores: 8, Logical Cores: 8
info: Physical Memory: 16384MB Total
info: Model Identifier: Mac14,7
info: OS Name: macOS
info: OS Version: Version 15.0.1 (Build 24A348)
info: Rosetta translation used: false
info: Kernel Version: 24.0.0
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
info: Current Date/Time: 2024-11-06, 15时29分06秒
info: Browser Hardware Acceleration: true
info: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
info: Portable mode: false
warning: Populating font family aliases took 91 ms. Replace uses of missing font family "MS Shell Dlg" with one that exists to avoid this cost. 
info: OBS 30.2.3 (mac)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Apple Apple M2
info: OpenGL loaded successfully, version 4.1 Metal - 89.3, shading language 4.10
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1920x1080
        downscale filter:  Bicubic
        fps:               60/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support enabled
info: P010 texture support not available
info: Audio monitoring device:
        name: 默认
        id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja'
warning: Failed to load 'en-US' text for module: 'decklink-captions'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui'
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink'
info: [obs-browser]: Version 2.23.6
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.61.26+g3630089+chromium-103.0.5060.134 (compiled)
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.2 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
info: [obs-ndi] obs_module_load: you can haz obs-ndi (Version 4.13.2)
info: [obs-ndi] obs_module_load: Qt Version: 6.6.3 (runtime), 6.6.2 (compiled)
info: [obs-ndi] load_ndilib: Trying '/usr/lib/libndi.dylib'
info: [obs-ndi] load_ndilib: Trying '/usr/local/lib/libndi.dylib'
info: [obs-ndi] load_ndilib: Found NDI library at '/usr/local/lib/libndi.dylib'
info: [obs-ndi] load_ndilib: NDI runtime loaded successfully
info: [obs-ndi] load_ndilib: NDIlib_v5_load found
info: [obs-ndi] obs_module_load: NDI library initialized successfully ('NDI SDK APPLE 09:05:57 May  6 2024 6.0.1')
info: [obs-ndi] preview_output_init('OBS Preview')
info: [obs-ndi] +ndi_output_create('OBS Preview'...)
info: [obs-ndi] ndi_output_update('OBS Preview'...)
info: [obs-ndi] -ndi_output_create('OBS Preview'...)
info: ---------------------------------
info:   Loaded Modules:
info:     obs-ndi
info:     vlc-video
info:     text-freetype2
info:     rtmp-services
info:     obs-x264
info:     obs-websocket
info:     obs-webrtc
info:     obs-vst
info:     obs-transitions
info:     obs-outputs
info:     obs-filters
info:     obs-ffmpeg
info:     obs-browser
info:     mac-virtualcam
info:     mac-videotoolbox
info:     mac-syphon
info:     mac-capture
info:     mac-avcapture
info:     mac-avcapture-legacy
info:     image-source
info:     frontend-tools
info:     decklink-output-ui
info:     decklink-captions
info:     coreaudio-encoder
info: ---------------------------------
info: [obs-ndi] obs_module_post_load: ...
info: [VideoToolbox encoder]: Added VideoToolbox encoders
info: ---------------------------------
info: Available Encoders:
info:   Video Encoders:
info:   - ffmpeg_aom_av1 (AOM AV1)
info:   - obs_x264 (x264)
info:   - com.apple.videotoolbox.videoencoder.prores-422 (Apple VT ProRes 软件编码器)
info:   - com.apple.videotoolbox.videoencoder.appleproreshw.422 (Apple VT ProRes 硬件编码器)
info:   - com.apple.videotoolbox.videoencoder.ave.avc (苹果 VT H264 硬件编码器)
info:   - com.apple.videotoolbox.videoencoder.h264 (苹果 VT H264 软件编码器)
info:   - com.apple.videotoolbox.videoencoder.ave.hevc (Apple VT HEVC 硬件编码器)
info:   - com.apple.videotoolbox.videoencoder.hevc.vcp (Apple VT HEVC 软件编码器)
info:   Audio Encoders:
info:   - CoreAudio_AAC (CoreAudio AAC)
info:   - ffmpeg_aac (FFmpeg AAC)
info:   - ffmpeg_opus (FFmpeg Opus)
info:   - ffmpeg_pcm_s16le (FFmpeg PCM (16位))
info:   - ffmpeg_pcm_s24le (FFmpeg PCM (24位))
info:   - ffmpeg_pcm_f32le (FFmpeg PCM (32位浮点))
info:   - ffmpeg_alac (FFmpeg ALAC (24位))
info:   - ffmpeg_flac (FFmpeg FLAC (16位))
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: Downmix enabled: 1 to 2 channels.
info: coreaudio: Device 'MacBook Pro麦克风' [48000 Hz] initialized
info: [Loaded global audio device]: '麦克风/Aux'
info:     - filter: '噪声抑制' (noise_suppress_filter_v2)
info:     - filter: 'VST 2.x 插件' (vst_filter)
info: Switched to scene '场景'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene '场景':
info: ------------------------------------------------
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: 麦克风/Aux)

2024-11-06 15:29:09.163 OBS[99819:4145624] +[IMKClient subclass]: chose IMKClient_Legacy
2024-11-06 15:29:09.163 OBS[99819:4145624] +[IMKInputSession subclass]: chose IMKInputSession_Legacy
info: [mac-virtualcam] macOS Camera Extension activated successfully.
warning: QFSFileEngine::open: No file name specified
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.ABC'
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.ABC'
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.ABC'
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
warning: QFSFileEngine::open: No file name specified
warning: QFSFileEngine::open: No file name specified
warning: QFSFileEngine::open: No file name specified
info: User removed filter 'VST 2.x 插件' (vst_filter) from source '麦克风/Aux'
info: User added filter 'VST 2.x 插件' (vst_filter) to source '麦克风/Aux'
warning: QFSFileEngine::open: No file name specified
warning: QFSFileEngine::open: No file name specified

It seems that I prompted warning: QFSFileEngine::open: No file name specified when adding the VST filter

But I do show here '{Please select a plug-in}'

@eric-gitta-moore
Copy link
Author

eric-gitta-moore commented Nov 6, 2024

Oh my God, I know the solution. It needs to be in the root directory, not the home directory, which means /Library/Audio/Plug-Ins/VST/

~/Library/Audio/Plug-ins/VST/ not work for me

for me:

❯ tree -L 2 /Library/Audio/Plug-Ins
/Library/Audio/Plug-Ins
├── Components
│   └── rnnoise.component
├── HAL
├── MAS
└── VST
    ├── rnnoise_mono.vst
    └── rnnoise_stereo.vst

8 directories, 0 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant