CatxFish / obs-virtual-cam

obs-studio plugin to simulate a directshow webcam
https://obsproject.com/forum/resources/obs-virtualcam.539/
GNU General Public License v2.0
1.75k stars 341 forks source link

OBS 25.0.1 not loading VirtualCam #82

Open leotheleopard opened 4 years ago

leotheleopard commented 4 years ago

I've looked through a lot of other posts to get this working but it seems to be escaping me for some reason. I've reinstalled OBS, I've reinstalled VirtualCam, I've made sure the FFmpeg files required by VirtualCam are in the right place, I know the DLL is in the plugins\64bit folder, I know that it should be working by now, but my log still says 13:36:17.233: [obs-browser]: Version 2.8.6 13:36:17.235: Module '../../obs-plugins/64bit/obs-ffmpeg.dll' not loaded 13:36:17.364: Module '../../obs-plugins/64bit/obs-virtualoutput.dll' not loaded 13:36:17.367: Couldn't find VLC installation, VLC video source disabled And I know that VirtualCam doesn't show up in my tools menu. I'm completely lost as to what I need to do here to fix the problem.

drencorxeen commented 4 years ago

I am also having the same issue where VirtualCam 2.0.4 isn't showing up in OBS-Studio 25.0.1

soocubus commented 4 years ago

Same issue. Right after update to 25.

Jerrycyy commented 4 years ago

me too

kimasa commented 4 years ago

I had the same issue and did this:

  1. Uninstalled OBS and VirtualCam
  2. Installed latest OB
  3. Downloaded the VC zip file (not the installer) --> https://github.com/CatxFish/obs-virtual-cam/releases/tag/2.0.4
  4. Opened the zip and copied all the files in the obs installation folder excpet for two files on the /bin/64bit folder (OBS already had them, so I didn-t overwrite them. Now for 4, I copied all the files manually on the same folder (the zip file has the same structure than the OBS installation folder). I guess you could unzip it on that folder and it should work)
  5. Opened the command line prompt (AS ADMINISTRATOR --> important!) and run the following commands (found in the https://github.com/CatxFish/obs-virtual-cam page):

regsvr32 "C:\Program Files\obs-studio\bin\32bit\obs-virtualsource.dll"

regsvr32 "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll"

regsvr32 /u "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll"

regsvr32 /n /i:"2" "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll"

Make sure to change the Program Files folder part if needed. The "2" in the las command can be changed for the number of virtual cams you need (up to 4).

And that's it! Not sure what's the cause for this, maybe the unoverwritten files, maybe the installer not doing something.

Hope this helps.!

kimasa commented 4 years ago

*unoverwritten 🤷‍♂

RhysMJ2 commented 4 years ago

@kimasa thanks it worked for me 👌

shojishinoda commented 4 years ago

Please help. I do not program. I really want this to work.

Can you send me a short video of what to do?

Thank you so much.

Mixria commented 4 years ago

Been running 23.0.2 32bit with VirtualCam 2.0.3 due to not being able to use VirtualCam on OBS 64bit install... (And the need of VLC x86)

@kimasa Solution solves the problem. It might at have been OBS-VirtualCam.exe installer problem all along..

Use the zip installation instead of exe.

Added: Testet on Windows 10, OBS 25.0.4, VirtualCam 2.0.4

jackemerson commented 4 years ago

Copying this across from my comment on #59. It's pretty much the same comment as @kimasa's, just a little more specific about the suspected root cause of the issue.


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:

  1. OBS (now?) comes bundled with versions of av-util56.dll & swscale-5.dll.
  2. VirtualCam packages an older versions of these files -> overwrites existing versions, if present, upon install.
  3. ffmpeg module breaks with older versions of those files -> fails to load.
  4. VirtualCam relies on ffmpeg module -> 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.

Jerrycyy commented 4 years ago

Well,I don't want to get these emails anymore

---Original--- From: "Jack Emerson"<notifications@github.com> Date: Tue, Apr 28, 2020 23:18 PM To: "CatxFish/obs-virtual-cam"<obs-virtual-cam@noreply.github.com>; Cc: "Comment"<comment@noreply.github.com>;"Jerrycyy"<3386929633@qq.com>; Subject: Re: [CatxFish/obs-virtual-cam] OBS 25.0.1 not loading VirtualCam (#82)

Copying this across from my comment on #59. It's pretty much the same comment as @kimasa's, just a little more specific about the suspected root cause of the issue.

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 ffmpeg module -> 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).

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.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

jackemerson commented 4 years ago

Well,I don't want to get these emails anymore

Unfollow the ticket - the issue is still open.