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.77k stars 345 forks source link

Virtualcam 2.0.2 not showing up in tools in OBS 22.0.2 64 bit #40

Open mazzopalazzo opened 5 years ago

mazzopalazzo commented 5 years ago

Hi,

thanks for this plugin.

Issue: I have installed virtualcam yesterday, 2.0.2 on OBS 22.0.2. It showed up in tools, but after starting it it failed to show OBS virtualcam in any application.

I have uninstalled the plugin, then OBS, then reinstalled everything.

This time round, the plugin won't show up under tools.

I have obs-virtualoutput.dll activate twice under install. It shows a copy in both 32 and 64bit folder.

Any clues? Mads

mazzopalazzo commented 5 years ago

So, fixed this by manual installation.

Don't know why, it hadn't put all of the files in the program files/ subfolders. I did though have some of them in the program files (x86) subfolders which is what I referred to above when I wrote 32 and 64 bit folders.

I probably just messed up. It is working now, so I won't chase it.

Thank you very much for this brilliant functionality.

M

whoppaugh commented 5 years ago

I am having the same issue with the vitual cam not showing up in tools. I am a super novice so any advice would be helpful. When I try to download the plugin..it gets to a point where it says Finish Installation...but shouldn't it be running some kind of executeable file. I'm a super novice but I have tried doing the one camera and 4 camera and have gone back and forth. When i do one versus the other i see the number of OBS cameras in zoom (1 or 4) but I don't have virtual camera in Tools

CatxFish commented 5 years ago

Check whether the file "obs-virtualoutput.dll" exist under obs-studio\obs-plugins\64bit\ If so, check obs log to see what's the message about loading obs-virtualoutput.dll.

cassidydotdk commented 5 years ago

I'm getting this issue as well. OBS 24.0.1 (64-bit, windows). File obs-virtualoutput.dll does exist under obs-studio\obs-plugins\64bit. Log file says the following:

14:05:21.712: [CoreAudio encoder]: Adding CoreAudio AAC encoder
14:05:21.712: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
14:05:21.738: [AMF] AMF Test failed due to one or more errors.
14:05:21.738: Failed to initialize module 'enc-amf.dll'
14:05:21.749: [obs-browser]: Version 2.7.11
14:05:21.751: NVENC supported
14:05:21.880: LoadLibrary failed for '../../obs-plugins/64bit/obs-virtualoutput.dll': The specified module could not be found.
14:05:21.880:  (126)
14:05:21.880: Module '../../obs-plugins/64bit/obs-virtualoutput.dll' not loaded
14:05:21.883: Couldn't find VLC installation, VLC video source disabled
14:05:21.888: No blackmagic support
14:05:21.891: ---------------------------------
14:05:21.891:   Loaded Modules:
14:05:21.891:     win-wasapi.dll
14:05:21.891:     win-mf.dll
14:05:21.891:     win-dshow.dll
14:05:21.891:     win-decklink.dll
14:05:21.891:     win-capture.dll
14:05:21.891:     vlc-video.dll
14:05:21.891:     text-freetype2.dll
14:05:21.891:     rtmp-services.dll
14:05:21.891:     obs-x264.dll
14:05:21.891:     obs-vst.dll
14:05:21.891:     obs-transitions.dll
14:05:21.891:     obs-text.dll
14:05:21.891:     obs-qsv11.dll
14:05:21.891:     obs-outputs.dll
14:05:21.891:     obs-filters.dll
14:05:21.891:     obs-ffmpeg.dll
14:05:21.891:     obs-browser.dll
14:05:21.891:     image-source.dll
14:05:21.891:     frontend-tools.dll
14:05:21.891:     enc-amf.dll
14:05:21.891:     decklink-ouput-ui.dll
14:05:21.891:     coreaudio-encoder.dll
14:05:21.891: ---------------------------------
14:05:21.891: ==== Startup complete ===============================================

image

cassidydotdk commented 5 years ago

Additionally I tried the following

image

CatxFish commented 5 years ago

The issue is occurring OBS 24.0 Change the ffmpeg library, this plugin needs "avfilter-6.dll", "avutil-55.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.0 installer to the 24.0 .

cassidydotdk commented 5 years ago

Thanks for the quick response :-)

Unfortunately it didn't seem to have an effect. I downloaded OBS 23 and copied the two files across. Tools menu remains unchanged.

image

CatxFish commented 5 years ago

Oh!, that's my fault , apparently "avfilter-6.dll" itself need another libraries to support. So the the full copy list should be "avfilter-6.dll", "avutil-55.dll" ,"avcodec-57.dll", "avformat-57.dll", "libx264-148.dll", "swresample-2.dll"

cassidydotdk commented 5 years ago

Result! 😁

After copying in the remaining files, I can now confirm this is working 👍 Thanks a lot for your assistance.

image

ardalis commented 5 years ago

Ok, I went through this and it allowed VirtualCam to appear in OBS 24.0.1 (yay!)

But now I don't see a video source in Skype (It was there before, just always grey). (boo!)

Skype version: image

ardalis commented 5 years ago

Apparently restarting OBS and Skype fixed it for me - yay!

odabrunz commented 5 years ago

I was able to get OBS Virtualcam going in OBS 24.0.1 (64-bit, windows) with the instructions above (adding the files), and the virtual cam works fine in the Discord chat app for me.

But the virtual cam devices still don't show up in Skype. Restarting OBS, Skype and the computer didn't help.

Windows 10 (version 1903 build 18362.356) with Skype version 8.52.0.138, Application version 14.52.138.0, which is the same version that @ardalis posted a screenshot of.

@ardalis, is it working with that Skype version?

Also, in issue #16 @CatxFish says that "Skype for Windows 10 (called UWP version) doesn't show any pure directshow camera", and that the "classic" Skype should be used instead.

However, there is no "classic" Skype version available any more, at least at that download link. (And I also believe Microsoft removed support for older Skype versions, which means they cannot be used at all.)

ardalis commented 5 years ago

I did get it to work, but intermittently. It's flaky.

Whopperking commented 4 years ago

I think is complete bullshit you have to go thru so much troubles over this crap.

luisgzz123 commented 4 years ago

Hi CatxFish! Thanks so much for this awesome software!

Anyway, I did this and didn't work.

  1. First, with OBS 24, install the autoinstaller of virtualcam. --->I then noticed that the option on the toolbox wasn't available.
  2. Then, I tried manually installing.
  3. Then I found this post, and then copied "obs-virtualoutput.dll" under obs-studio\obs-plugins\64bit
  4. Then tried copying "avfilter-6.dll", "avutil-55.dll" ,"avcodec-57.dll", "avformat-57.dll", "libx264-148.dll", "swresample-2.dll" to the install folder.
  5. I then found your new release of OBS 25. I uninstalled OBS 24 and install OBS 25, then autoinstalled virtualcam, but still nothing! H E L P
messiahcarey commented 4 years ago

Hi CatxFish! Thanks so much for this awesome software!

Anyway, I did this and didn't work.

  1. First, with OBS 24, install the autoinstaller of virtualcam. --->I then noticed that the option on the toolbox wasn't available.
  2. Then, I tried manually installing.
  3. Then I found this post, and then copied "obs-virtualoutput.dll" under obs-studio\obs-plugins\64bit
  4. Then tried copying "avfilter-6.dll", "avutil-55.dll" ,"avcodec-57.dll", "avformat-57.dll", "libx264-148.dll", "swresample-2.dll" to the install folder.
  5. I then found your new release of OBS 25. I uninstalled OBS 24 and install OBS 25, then autoinstalled virtualcam, but still nothing! H E L P

This is exactly my experience as well, currently trying to get OBS 25 working with virtualcam

csuzw commented 4 years ago

I'm experiencing the same issue. OBS 25.0.1 64bit on Windows 10 1909. OBS and VirtualCam appeared to install correctly. When I open the VirtualCam settings and click Start I only see the following in the logs: starting virtual-output on VirtualCam'1' and when stopping


Output 'VirtualOutput': Total frames output: 14350
Output 'VirtualOutput': Total drawn frames: 14351
virtual-output stop``` 
so it appears to be doing something but I cannot see it in any other applications (I really want to get it working in Chrome).
GBeutler70 commented 4 years ago

Just installed OBS 25.0.1 and then OBS-VirtualCam2.0.4 manually, since it was missing but after that everything was working immediately. I did not perform any of the steps above. I found this post since VirtualCam was missing after installation of OBS. I also can start and stop the cam, auto start works too. Used CiscoWebEx and Skype for testing the integration of the virtual cam.

luisgzz123 commented 4 years ago

Just installed OBS 25.0.1 and then OBS-VirtualCam2.0.4 manually, since it was missing but after that everything was working immediately. I did not perform any of the steps above. I found this post since VirtualCam was missing after installation of OBS. I also can start and stop the cam, auto start works too. Used CiscoWebEx and Skype for testing the integration of the virtual cam.

Hi! So I tried GBeutler70's way, basically just using the installer for OBS 25.0.1 and then manually installing OBS-VirtualCam2.0.4.

  1. I unzipped the virtual cam folder
  2. Took the content folders "bin", "data" and "obs-plugins" and then executing the commands of regsvr32 "C:\Program Files (x86)\obs-studio\bin\32bit\obs-virtualsource.dll" and regsvr32 "C:\Program Files (x86)\obs-studio\bin\64bit\obs-virtualsource.dll" IMPORTANT: At first, I was on a custom install direction on a "B:" drive. Then tried on the "C:" normal direction drive....I notices that the intaller of obs-studio really stores the program under "Program Files", not "Program Files (x86)". I don't know it this matters. Anyways, I'm always getting this NEW error when starting OBS... Failed to create aac streaming encoder (simple output)
luisgzz123 commented 4 years ago

Any help/ideas?

luisgzz123 commented 4 years ago

FINALLY SOLVED Ok, do THIS

  1. Get OBS-Studio-25.0.1-Full-Installer-x64.exe and install on your preferred location.
  2. Get and unzip OBS-VirtualCam2.0.4.zip and take the folder "data" and "obs-plugins" and drop them on the install direction.
  3. Manually take files "obs-virtualsource.dll" and "swscale-5.dll" from "...\OBS-VirtualCam\bin\64bit", and drop them on C:\Program Files\obs-studio\OBS-VirtualCam2.0.4\OBS-VirtualCam\bin\64bit
  4. Executing on cmd as admin: regsvr32 "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll". Remember that if you used a custom location, you must change the location to where "obs-virtualsource.dll" is located.

What's the problem (for the creator): It appears avutil-56.dll is messing with something of the acc streaming encoder. I'm not an expert on programming, so I don't really understand all that well, only that THIS file is what's causing the problem.

keckp commented 4 years ago

FINALLY SOLVED Ok, do THIS

1. Get **OBS-Studio-25.0.1-Full-Installer-x64.exe** and install on your preferred location.

2. Get and unzip **OBS-VirtualCam2.0.4.zip** and take the folder "data" and "obs-plugins" and drop them on the install direction.

3. Manually take files "obs-virtualsource.dll" and "swscale-5.dll" from "...\OBS-VirtualCam\bin\64bit", and drop them on C:\Program Files\obs-studio\OBS-VirtualCam2.0.4\OBS-VirtualCam\bin\64bit

4. Executing on cmd as admin: regsvr32 "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll". Remember that if you used a custom location, you must change the location to where "obs-virtualsource.dll" is located.

What's the problem (for the creator): It appears avutil-56.dll is messing with something of the acc streaming encoder. I'm not an expert on programming, so I don't really understand all that well, only that THIS file is what's causing the problem.

Hello together! I'm trying to get my DSLR as a webcam into Skype for online guitar and banjo lessons (due to corona because all concerts are cancelled...). My setup is:

In OBS Studio I managed to set the camera live output as video source. But I've got the same problem as everybody: virtual cam still does not show in the toolbar on top.

I've desperately tried to follow luisgzz123's path. I'm probably doing something completely wrong... Sorry, I don't have any programming experiences.

My questions according to luisgzz123's order:

  1. Done.

  2. Does it matter where I unzip the folder? What/Where exactly is the "install directory? Is it "C:\Program Files\obs-studio"? oder do I have to put the two folders into a deeper path?

  3. quote: "Manually take files "obs-virtualsource.dll" and "swscale-5.dll" from "...\OBS-VirtualCam\bin\64bit", and drop them on C:\Program Files\obs-studio\OBS-VirtualCam2.0.4\OBS-VirtualCam\bin\64bit" --> I'm confused: [from] and [to] seem to be the same location... what do I not see?

  4. I'm always getting the following error: grafik (I'm german. Do you need a translation or is the error code enough?) Am I automatically using CMD "as admin" or how do I manage that? I simply opened cmd.

  5. Where do I have to put "avutil-56.dll" exactly?

I'd be so happy to get some help with this issue to get a more professional online lesson appearance! <3

Looking forward to your replies! Cheers

luisgzz123 commented 4 years ago

FINALLY SOLVED Ok, do THIS

1. Get **OBS-Studio-25.0.1-Full-Installer-x64.exe** and install on your preferred location.

2. Get and unzip **OBS-VirtualCam2.0.4.zip** and take the folder "data" and "obs-plugins" and drop them on the install direction.

3. Manually take files "obs-virtualsource.dll" and "swscale-5.dll" from "...\OBS-VirtualCam\bin\64bit", and drop them on C:\Program Files\obs-studio\OBS-VirtualCam2.0.4\OBS-VirtualCam\bin\64bit

4. Executing on cmd as admin: regsvr32 "C:\Program Files\obs-studio\bin\64bit\obs-virtualsource.dll". Remember that if you used a custom location, you must change the location to where "obs-virtualsource.dll" is located.

What's the problem (for the creator): It appears avutil-56.dll is messing with something of the acc streaming encoder. I'm not an expert on programming, so I don't really understand all that well, only that THIS file is what's causing the problem.

Hello together! I'm trying to get my DSLR as a webcam into Skype for online guitar and banjo lessons (due to corona because all concerts are cancelled...). My setup is:

  • Nikon D5200 + HDMI cable
  • Aten Camlive 3020 capture card

In OBS Studio I managed to set the camera live output as video source. But I've got the same problem as everybody: virtual cam still does not show in the toolbar on top.

I've desperately tried to follow luisgzz123's path. I'm probably doing something completely wrong... Sorry, I don't have any programming experiences.

My questions according to luisgzz123's order:

  1. Done.
  2. Does it matter where I unzip the folder? What/Where exactly is the "install directory? Is it "C:\Program Files\obs-studio"? oder do I have to put the two folders into a deeper path?
  3. quote: "Manually take files "obs-virtualsource.dll" and "swscale-5.dll" from "...\OBS-VirtualCam\bin\64bit", and drop them on C:\Program Files\obs-studio\OBS-VirtualCam2.0.4\OBS-VirtualCam\bin\64bit" --> I'm confused: [from] and [to] seem to be the same location... what do I not see?
  4. I'm always getting the following error: grafik (I'm german. Do you need a translation or is the error code enough?) Am I automatically using CMD "as admin" or how do I manage that? I simply opened cmd.
  5. Where do I have to put "avutil-56.dll" exactly?

I'd be so happy to get some help with this issue to get a more professional online lesson appearance! <3

Looking forward to your replies! Cheers

Hi keckp! Coincidentally, I've also made this in order to use my DSLR camera as a webcam! Sorry I don't understand...German? I can't understand your cmd error. I'll be glad to help! Try reaching me on discord and maybe I could help you! luisgzz#8086 Trying to answer your question:

  1. So when you installed your OBS program, you could had choosen a specific location to install your program. By default, it's where your Operative System is located. Normally on the "C:" drive. I was saying to locate your install folder and basically drop the 2 folders that I'd mention. My intention is to let those folders merge and this will basically add all subfolders and files into the intall folder. Now, the other folder that's on OBS-VirtualCam (that's the "bin" folder), that one don't drop it! Since "avutil-56.dll" is faulty, dropping the folder will ask you to replace all files including this one. So I'm telling you to basically locate and take those 2 specific files I'm telling you and manually drop them on their corresponding location on the install folder.
  2. After adding the files, then execute the install command. Check that the location is well written. I guess your cmd error is reffering to that. Try to locate where your "obs-virtualsource.dll" is located on the OBS folder, then press Ctrl+L then Ctrl+C to copy the location where that file is located. On your cmd (as admin), write " regsvr32 "" " and paste the location between the quotes and then write "obs-virtualsource.dll". Note: OBS ver. 25.0.1 appears to only have a 64bit version, so I think it's only necessary to install the 64bit version obs-virtualsource.dll, which should be located under "OBS-Virtualcam2.0.4\bin\64bit" Don't give up! You're close!
luisgzz123 commented 4 years ago

UPDATE Hi guys! So, on this period of staying home (COVID-19), I'm frecuently using several videochat software, and I'm noticing... OBS 25.0.1 doesn't have a 32bit version. This is important; since software like discord, zoom and others, work on 32bit versions. I think they use 32 bits in order to have phone apps available. Anyway; to use virtualcam on these softwares, we'll need an OBS versions that supports 32bit, and also we'll have to install the 32bit version of obs virtualcam. I'm currently looking into this. I'l have you updated. Notice that discord has a website from which you'll be able to use your OBS 64bit version and stream video. This is because, most probably, you web navigator is a 64bit software. I ask for the creator(s) of OBS to check into this!

luisgzz123 commented 4 years ago

UPDATE Ok I was wrong saying that there isn't a 32bit version. There IS one. Ok sorry for my ignorance, I'm not a system or programming engineer. For the noobs like me, learn this... When downloading a software, if it tells you that it's "x64" it means that it's a 64bit version. If it tells you "x32", it means it's a 32bit version. IF IT TELLS YOU "X86", IT MEANS IT'S BOTH TYPES, 32 AND 64BITS. This add's basically both programs. You'll have 2 types of OBS versions. Run OBS x32bits when you desire to run your virtualcam on other software that runs on 32bits, like discord or zoom. To know which type a software runs on, check on the typical "about" submenu. If you're having trouble finding what type is it, take a guess. Probably, if there's a mobile app for that software brand, it's on 32bit.

gattir commented 4 years ago

OBS 25.0.1 doesn't have a 32bit version. This is important; since software like discord, zoom and others, work on 32bit versions. I think they use 32 bits in order to have phone apps available. Anyway; to use virtualcam on these softwares, we'll need an OBS versions that supports 32bit, and also we'll have to install the 32bit version of obs virtualcam.

I hoped, that would help, but it didn't (

So the problem is that OBS Studio + OBS VirtualCam make Virtual Camera for Skype, but don't make it to Zoom (Zoom shows gray screen). I tried it with 64 bit version, 32 bit, and both installed.

And also, if you copy 32bit avutil-56.dll and swscale-5.dll from Virtual Cam distributive to OBS bin/32bit, then the Tools -> VirtualCam menu disappears. So not copying them into OBS studio directory helps.

But still, what about Zoom? )

Maybe there are more ideas?

Thanks!

luisgzz123 commented 4 years ago

OBS 25.0.1 doesn't have a 32bit version. This is important; since software like discord, zoom and others, work on 32bit versions. I think they use 32 bits in order to have phone apps available. Anyway; to use virtualcam on these softwares, we'll need an OBS versions that supports 32bit, and also we'll have to install the 32bit version of obs virtualcam.

I hoped, that would help, but it didn't (

So the problem is that OBS Studio + OBS VirtualCam make Virtual Camera for Skype, but don't make it to Zoom (Zoom shows gray screen). I tried it with 64 bit version, 32 bit, and both installed.

And also, if you copy 32bit avutil-56.dll and swscale-5.dll from Virtual Cam distributive to OBS bin/32bit, then the Tools -> VirtualCam menu disappears. So not copying them into OBS studio directory helps.

But still, what about Zoom? )

Maybe there are more ideas?

Thanks!

I'm gonna start to charge for this, haha! (Just kidding) Please use your commas! I'm having a little trouble comprehending your sentences. I'm from Mexico. Inglés no es mi idioma principal.

...Anyway gattir, you can also contact me through discord and MAYBE I could help. luisgzz#8086 So, first of all, try reinstalling 32bit version. I have said to NOT copy "avutil-56.dll", this is what makes it NOT to appear on the Tools menu. Avoid copying just this file on the 64 and 32bit version. Copy "obs-virtualsource.dll" and "swscale-5.dll" to their corresponding folders on the bin of 64bits and 32bits. Then execute the cmd (Admin) to install "obs-virtualsource.dll" on 32 and 64bit. And gattir; Zoom is a 32bit software. IDK if Skype is 32 or 64 but anyway, if you're running a 32bit program, RUN OBS 32bit and NOT OBS 64bit. First of all, before trying virtualcam on any software, check that it DOES appear the option on the Tools menu. I'll keep in contact and if you do solve your problem, please tell me! Makes me happy to know that I helped some people! ;) Regards

Lorenzoup commented 4 years ago

I tried to install OBS 25.01 with VirtualCam 2.0.4.
But also not copying avutil-56.dll. VirtualCam doesn't work on skype!

I tried to start OBS 32bit and Obs64bit but with Skype it doesn't work in both cases 😭

SpiroGiro commented 4 years ago

I have spent days trying to get all this working and am back where I started with whatever the versions/combinations I stumbled on originally, where VC comes up but with this gobbledegook window that doesn't let you load it??? I thus gave up totally then cos OBS would not stream to ZOOM or Skype. I did get a 2 camera stream to a FBook Live page I set up but was so laggy I could go and make a coffee and come back and I wouldn't have left my chair!

Like everyone, forced to stay isolated, we are looking for helpful tools to continue our contact with outside world. So, what now??

obsvc gobbledgook

rdbachman commented 4 years ago

I had the exact same problem, and I found a solution that may not be ideal, but it is working. Basically, I am running older versions of both OBS and OBS-Virtual Cam.

I downloaded and installed OBS-Studio-23.1-Full-Installer-x86.exe from here: https://www.videohelp.com/software/Open-Broadcaster-Software/old-versions

And I downloaded and installed OBS-VirtualCam2.0.2-Installer.exe from here: https://github.com/CatxFish/obs-virtual-cam/releases/tag/2.0.2

SpiroGiro commented 4 years ago

@rdbachman - thanks I tried your lead but no VCam showed in my install at all. So I manually copied over the files from a zip version of VCam 2.0.2 but no...

This has got to be the most unprofessional way to release software - all these "this only works with this" and "you need this file copied here..." Jeez, I am an old hand at doing this sort of thing from DOS days (even ATARI ST) but if you can't even get the modules to load first what hope the program actually running correctly...??

One thing I did notice is that the 53kb en-US.ini in data/obs-stdio/locale with the 1kb version in OBS-VirtualCam\data\obs-plugins\obs-virtualoutput\locale\ other WinZipfolders gives the correct buttons for the VCam menu but screwed menus everywhere else...

skewed Vcam menus

Joselo-M commented 4 years ago

Try Virtualcam 2.0.4

SpiroGiro commented 4 years ago

I gave up and set up 2x ZOOM accounts - one on laptop other on phone and just joined a meeting with phone for extra camera angle. Was so much simpler and less laggie.

IceSentry commented 4 years ago

@Joselo-M it doesn't work on 2.0.4 either