OBS Virtualcam Failing to Load
Installed OBS 24.0.0 for Win 10 today and installed Virtualcam 2.0.2 to use as virtual camera. Unable to get the plugin to show in plugins. Looked at the log and see the following:
11:49:13.050: LoadLibrary failed for '../../obs-plugins/64bit/obs-virtualoutput.dll': The specified module could not be found. 11:49:13.050: (126) 11:49:13.050: Module '../../obs-plugins/64bit/obs-virtualoutput.dll' not loaded
Attached full logs below. Does anyone have an idea what I could check? 2019-09-19 11-48-15.txt 2019-09-19 11-49-12.txt 2019-09-19 11-42-50.txt
I had the same issue: Fresh Windows 10 Pro install, Fresh OBS 24.0.0 install, Fresh obs-vitualcam latest version installed. The log showed the same issue.
I also installed some dependency checkers, but these tools are a bit too much for me - a lot of false positives.
I solved the issue by Installing OBS Version 23.2.1 over the existing OBS 24.0.0 version and the VirtualCam plugin now shows up in the Tools menu and works perfectly.
Afterwards, I installed again OBS Version 24.0.0 over the 23.2.1 version and the VirtualCam plugin is still working. I think there is a missing file in version 24.0.0, which is needed by VirtualCam and this file is present in version 23.2.1.
Thank you! I ended up installing 23.2.1 and the virtualcam plugin and it worked. Will try installing 24 over it.
The issue is occurring because OBS 24.0 Change the ffmpeg library, this plugin needs "avfilter-6.dll", "avutil-55.dll" ,"avcodec-57.dll", "avformat-57.dll", "libx264-148.dll", "swresample-2.dll" in binary directory (C:\Program Files\obs-studio\bin\64bit) to handle some image processing, I'll try to make some time to fix this . But before that , you might need to manually take these files from OBS 23 installer to the 24.0 .
And very sorry for all users of this plugin, I am now very occupied on my work. But I'll try to make some time to keep it working.
This is weird. I completely uninstalled OBS and installed 23.2.1 full 64, then install virtualcam and it's still not showing up in tools.
16:55:55.459: LoadLibrary failed for '../../obs-plugins/64bit/obs-virtualoutput.dll': The specified module could not be found. 16:55:55.459: (126) 16:55:55.459: Module '../../obs-plugins/64bit/obs-virtualoutput.dll' not loaded
I just don't get it.
It's most likely a dependency issue. The version 2.0.4 is not compatible with OBS 23.x.x , Is that possible your problem?
I now got the same issue with obs 24.0.2. I tried installing obs 23.0.2 over the existing installation and then reinstall virtualCam but that didnt help. I currently don't have access to obs 23.2.1 so I can't test if installing this one would help
but downgrading to virtualCam 2.0.3 with obs 23.0.2 worked fine... so that does the job for now
I found this post by R1CH, one of the developers working on OBS. https://obsproject.com/forum/threads/failed-to-create-aac-streaming-encoder-simple-output.119788/
R1CH: The version of the plugin likely overwrote ffmpeg DLLs with bad versions. Reinstall OBS.
So, from what I've read:
- OBS (now?) comes bundled with versions of av-util56.dll & swscale-5.dll.
- VirtualCam packages an older versions of these files -> overwrites existing versions, if present, upon install.
- ffmpeg module breaks with older versions of those files -> fails to load.
- VirtualCam relies on
ffmpegmodule -> also fails to load.
Module '../../obs-plugins/64bit/obs-ffmpeg.dll' not loaded Module '../../obs-plugins/64bit/obs-virtualoutput.dll' not loaded
What worked for me
Rather than reinstalling OBS, I was able to extract the OBS installer (using 7-zip) and from those extracted files, copy the av-util56.dll & swscale-5.dll under \bin\64bit, to my OBS's install location and into the bin\64bit folder (which was C:\Program Files\obs-studio\bin\64bit, for me).
* I've only the 64-bit version of OBS, so you may need to do the same for the 32-bit version (just with bin\32bit). Unsure.
Reinstalling OBS over the current installation is pretty sure to work, and a spot more simple.
Workaround, when installing VirtualCam
Manually install VirtualCam via the zip file. Avoid copying across the included bin/ folder.
I guess the VirtualCam installer will need to check what version of OBS is currently installed, or to offer a version-specific installer/zip - without bundled .dll's.