Off-World-Live / obs-spout2-plugin

A Plugin for OBS Studio to enable Spout2 (https://github.com/leadedge/Spout2) input / output
https://knowledge.offworld.live/en/spout-plugin-for-obs-studio
GNU General Public License v2.0
523 stars 49 forks source link

Spout2 not showing up in OBS as source in OBS 27.0.1 #31

Closed madasebrof closed 2 years ago

madasebrof commented 2 years ago

Describe the bug Spout2 not showing up as source in OBS!

To Reproduce

  1. Install latest OBS (v 27.0.1), then install obs-spout2-plugin.
  2. Check that files are actually installed:
C:\Program Files\obs-studio\obs-plugins\64bit\Spout.dll
C:\Program Files\obs-studio\obs-plugins\64bit\SpoutDX.dll
C:\Program Files\obs-studio\obs-plugins\64bit\SpoutLibrary.dll
C:\Program Files\obs-studio\obs-plugins\64bit\win-spout.dll
  1. Open OBS, try to add Spout2 source, but it doesn't appear.

Expected behavior Plugin should load :)

Log file output:

14:24:50.881: Skipping module '../../obs-plugins/64bit/Spout.dll', not an OBS plugin
14:24:50.882: LoadLibrary failed for '../../obs-plugins/64bit/Spout.dll': The specified module could not be found.
14:24:50.882:  (126)
14:24:50.882: Module '../../obs-plugins/64bit/Spout.dll' not loaded
14:24:50.882: Skipping module '../../obs-plugins/64bit/SpoutDX.dll', not an OBS plugin
14:24:50.883: LoadLibrary failed for '../../obs-plugins/64bit/SpoutDX.dll': The specified module could not be found.
14:24:50.883:  (126)
14:24:50.883: Module '../../obs-plugins/64bit/SpoutDX.dll' not loaded
14:24:50.883: Skipping module '../../obs-plugins/64bit/SpoutLibrary.dll', not an OBS plugin
14:24:50.884: LoadLibrary failed for '../../obs-plugins/64bit/SpoutLibrary.dll': The specified module could not be found.
14:24:50.884:  (126)
14:24:50.884: Module '../../obs-plugins/64bit/SpoutLibrary.dll' not loaded
14:24:50.899: LoadLibrary failed for '../../obs-plugins/64bit/win-spout.dll': The specified module could not be found.
14:24:50.899:  (126)
14:24:50.899: Module '../../obs-plugins/64bit/win-spout.dll' not loaded

About the Software:

About Your Machine :

full log file:

14:24:50.039: CPU Name: AMD Ryzen 9 3950X 16-Core Processor            
14:24:50.039: CPU Speed: 3493MHz
14:24:50.039: Physical Cores: 16, Logical Cores: 32
14:24:50.039: Physical Memory: 65439MB Total, 58075MB Free
14:24:50.039: Windows Version: 10.0 Build 21390 (release: 2009; revision: 1010; 64-bit)
14:24:50.039: Running as administrator: false
14:24:50.039: Aero is Enabled (Aero is always on for windows 8 and above)
14:24:50.039: Windows 10 Gaming Features:
14:24:50.039:   Game DVR: On
14:24:50.040: Sec. Software Status:
14:24:50.041:   Microsoft Defender Antivirus: enabled (AV)
14:24:50.147:   Microsoft Firewall: disabled (FW)
14:24:50.147: Current Date/Time: 2021-08-04, 14:24:50
14:24:50.147: Browser Hardware Acceleration: true
14:24:50.147: Portable mode: false
14:24:50.327: OBS 27.0.1 (64-bit, windows)
14:24:50.327: ---------------------------------
14:24:50.329: ---------------------------------
14:24:50.329: audio settings reset:
14:24:50.329:   samples per sec: 48000
14:24:50.329:   speakers:        2
14:24:50.330: ---------------------------------
14:24:50.331: Initializing D3D11...
14:24:50.331: Available Video Adapters: 
14:24:50.333:   Adapter 0: NVIDIA GeForce RTX 2060 SUPER
14:24:50.333:     Dedicated VRAM: 4126146560
14:24:50.333:     Shared VRAM:    4244180992
14:24:50.333:     PCI ID:         10de:1f06
14:24:50.333:     Driver Version: 30.0.14.7141
14:24:50.333:     output 0: pos={0, 0}, size={2560, 1440}, attached=true, refresh=59, name=BenQ EX2780Q
14:24:50.333:   Adapter 1: NVIDIA GeForce RTX 2060 SUPER
14:24:50.333:     Dedicated VRAM: 4126146560
14:24:50.333:     Shared VRAM:    4244180992
14:24:50.333:     PCI ID:         10de:1f06
14:24:50.333:     Driver Version: 30.0.14.7141
14:24:50.336: Loading up D3D11 on adapter NVIDIA GeForce RTX 2060 SUPER (0)
14:24:50.416: D3D11 loaded successfully, feature level used: b000
14:24:50.416: DXGI increase maximum frame latency success
14:24:50.416: D3D11 GPU priority setup failed (not admin?)
14:24:50.744: ---------------------------------
14:24:50.744: video settings reset:
14:24:50.744:   base resolution:   1920x1080
14:24:50.744:   output resolution: 1920x1080
14:24:50.744:   downscale filter:  Bicubic
14:24:50.744:   fps:               60/1
14:24:50.744:   format:            NV12
14:24:50.744:   YUV mode:          709/Partial
14:24:50.745: NV12 texture support enabled
14:24:50.746: Audio monitoring device:
14:24:50.746:   name: Default
14:24:50.746:   id: default
14:24:50.754: ---------------------------------
14:24:50.754: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
14:24:50.758: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:24:50.758: Failed to load 'en-US' text for module: 'decklink-captions.dll'
14:24:50.759: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
14:24:50.780: [AMF] Unable to load 'amfrt64.dll', error code 126.
14:24:50.781: [AMF] AMF Test failed due to one or more errors.
14:24:50.781: Failed to initialize module 'enc-amf.dll'
14:24:50.789: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
14:24:50.795: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
14:24:50.795: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
14:24:50.802: [obs-browser]: Version 2.14.3
14:24:50.802: [obs-browser]: CEF Version 75.1.16+g16a67c4+chromium-75.0.3770.100
14:24:50.806: NVENC supported
14:24:50.807: [noise suppress: Nvidia RTX denoiser disabled, redistributable not found]
14:24:50.881: Skipping module '../../obs-plugins/64bit/Spout.dll', not an OBS plugin
14:24:50.882: LoadLibrary failed for '../../obs-plugins/64bit/Spout.dll': The specified module could not be found.
14:24:50.882:  (126)
14:24:50.882: Module '../../obs-plugins/64bit/Spout.dll' not loaded
14:24:50.882: Skipping module '../../obs-plugins/64bit/SpoutDX.dll', not an OBS plugin
14:24:50.883: LoadLibrary failed for '../../obs-plugins/64bit/SpoutDX.dll': The specified module could not be found.
14:24:50.883:  (126)
14:24:50.883: Module '../../obs-plugins/64bit/SpoutDX.dll' not loaded
14:24:50.883: Skipping module '../../obs-plugins/64bit/SpoutLibrary.dll', not an OBS plugin
14:24:50.884: LoadLibrary failed for '../../obs-plugins/64bit/SpoutLibrary.dll': The specified module could not be found.
14:24:50.884:  (126)
14:24:50.884: Module '../../obs-plugins/64bit/SpoutLibrary.dll' not loaded
14:24:50.888: VLC found, VLC video source enabled
14:24:50.894: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
14:24:50.894: No blackmagic support
14:24:50.899: LoadLibrary failed for '../../obs-plugins/64bit/win-spout.dll': The specified module could not be found.
14:24:50.899:  (126)
14:24:50.899: Module '../../obs-plugins/64bit/win-spout.dll' not loaded
14:24:50.901: ---------------------------------
14:24:50.901:   Loaded Modules:
14:24:50.901:     win-wasapi.dll
14:24:50.901:     win-mf.dll
14:24:50.901:     win-dshow.dll
14:24:50.901:     win-decklink.dll
14:24:50.901:     win-capture.dll
14:24:50.901:     vlc-video.dll
14:24:50.901:     text-freetype2.dll
14:24:50.901:     rtmp-services.dll
14:24:50.901:     obs-x264.dll
14:24:50.901:     obs-vst.dll
14:24:50.901:     obs-transitions.dll
14:24:50.901:     obs-text.dll
14:24:50.901:     obs-qsv11.dll
14:24:50.901:     obs-outputs.dll
14:24:50.901:     obs-filters.dll
14:24:50.901:     obs-ffmpeg.dll
14:24:50.901:     obs-browser.dll
14:24:50.901:     logi_obs_plugin_x64.dll
14:24:50.901:     image-source.dll
14:24:50.901:     frontend-tools.dll
14:24:50.901:     enc-amf.dll
14:24:50.901:     decklink-ouput-ui.dll
14:24:50.901:     decklink-captions.dll
14:24:50.901:     coreaudio-encoder.dll
14:24:50.901: ---------------------------------
14:24:50.905: ==== Startup complete ===============================================
14:24:50.911: All scene data cleared
14:24:50.911: ------------------------------------------------
14:24:50.958: WASAPI: Device 'BenQ EX2780Q (NVIDIA High Definition Audio)' [48000 Hz] initialized
14:24:50.958: [Loaded global audio device]: 'Desktop Audio'
14:24:50.975: WASAPI: Device 'Mic In (Elgato Wave:3)' [48000 Hz] initialized
14:24:50.975: [Loaded global audio device]: 'Mic/Aux'
14:24:50.976: Switched to scene 'Scene'
14:24:50.976: ------------------------------------------------
14:24:50.976: Loaded scenes:
14:24:50.976: - scene 'Scene':
14:24:50.976: ------------------------------------------------
14:24:51.023: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
14:24:51.023: 
campbellwmorgan commented 2 years ago

Hi @madasebrof !

Thanks a lot for the very detailed bug report. I'm 90% certain this is because one of us accidentally built this in the Debug build not Release which would require you to have some visual studio binaries on your system for it to work. I'll be able to confirm this in the morning. In the meantime, I've just replaced the installer on the same release. Would you mind trying that? If you need to tell the difference, the new installer should be about 150kb smaller than the old one.

Let me know if that works for you!

Thanks

madasebrof commented 2 years ago

@campbellwmorgan Success! All good now!