When I ran the final set of commands to copy the plugins:
build % sudo rm -rf /Library/CoreMediaIO/Plug-Ins/DAL/obs-mac-virtualcam.plugin && sudo cp -r src/dal-plugin/obs-mac-virtualcam.plugin /Library/CoreMediaIO/Plug-Ins/DAL
I just get a whole set of cp: /Library/CoreMediaIO/Plug-Ins/DAL/Contents: No such file or directory errors. I'm running Catalina on my Macbook that's only about 2 months old. Does anyone else have this? I can only find CoreMediaIO here: /System/Library/Frameworks/CoreMediaIO.framework/Resources
The result is, I appear to have built the plug-in and I can toggle Start Virtual Camera in OBS, but the virtual camera never appears anywhere, even when I've set Zoom entitlements. It doesn't appear in QuickTime to record from either.
the first part of the command deletes the old version of the plugin if there is any, if it wasn't installed previously the first part seems to fail and it doesn't run the second part, just running
sudo cp -r src/dal-plugin/obs-mac-virtualcam.plugin /Library/CoreMediaIO/Plug-Ins/DAL might fix it for the first install
manually moving the plugin to the correct directories with finder should also work
Thanks, I'll give that a go. What about moving it into the frameworks folder or is that entirely the wrong place?
no, you need to put it into the normal plugins folder
I'll have to make that folder. I have no normal plug-ins folder, which is what I'm also finding strange. I wonder if a CamTwist uninstall nuked it.
Are you sure? Are you using the right Library?
That really seems strange.
Yes. Also searched everywhere else. Thought it might have been System Integrity Protection in Catalina hiding this, but no. The paths are to the root Library, right? Not System/Library or username/Library? In any case, none of them have CoreMediaIO or plug-in directories. Yet my built-in camera still works...
Creating the directory and then copying into there with sudo cp -r src/dal-plugin/obs-mac-virtualcam.plugin /Library/CoreMediaIO/Plug-Ins/DAL worked though. But I'm still weirded out by my lack of CoreMediaIO directory. Two possible thoughts I'll investigate are whether a CleanMyMacX uninstall of CamTwist deleted the entire thing or whether using Rogue Amoeba's Loopback, which installs the ACE Audio Capture Engine might have moved things around.
the first part of the command deletes the old version of the plugin if there is any, if it wasn't installed previously the first part seems to fail and it doesn't run the second part
Are you sure @brinsche? rm -f should succeed even if the file is missing.
The whole /Library/CoreMediaIO directory and its children are missing for me (still no idea why 鈥撀爀verything else is working fine), which is why it fails I think.
@johnboiles you're right, I didn't read carefully enough the error message states that it's already at the cp step
Same for me /Library/CoreMediaIO directory does not exist... (MacOS Catalina)
So I just installed EpocCam to bring the camera feed from my iPhone into OBS on my Mac as a webcam (works well, by the way). It, too, installs a virtual camera plugin into /Library/CoreMediaIO/Plug-Ins/DAL.
So my guess here is that on a vanilla install of Catalina, as on my new machine, this directory might not be there, but that everyone else trying Virtualcam may have installed CamTwist or similar, which created them or upgraded from older systems and they鈥檙e still there. I don鈥檛 really fancy installing a fresh system to check, but it might be worth putting a note in the documentation to create those directories if they鈥檙e not already there. Maybe someone with Apple Developer docs can find out.
@apolaine I installed and deleted some Virtualcam softwares (including CamTwist) before testing OBS so you are right!
I downloaded EpocCam and the path /Library/CoreMediaIO/Plug-Ins/DAL appeared. Then I retried the command sudo rm -rf /Library/CoreMediaIO/Plug-Ins/DAL/obs-mac-virtualcam.plugin && sudo cp -r src/dal-plugin/obs-mac-virtualcam.plugin /Library/CoreMediaIO/Plug-Ins/DAL and it works! OBS as a virtualcam seems to work now!
So thank you @apolaine :)
So probably we need to add a sudo mkdir -p /Library/CoreMediaIO/Plug-Ins/DAL to our install instructions right?
I think so.
I think the new .pkg installer should create this automatically. Could you delete /Library/CoreMediaIO/Plug-Ins/DAL and give it a try?
yes it works! Thank you @johnboiles
Thanks, worked for me too.
@johnboiles: @apolaine : Hey Guys, I am seeing weird behavior couple of months ago I built CMIOMinimalSample.plugin and copied to the /Library/CoreMediaIO/Plug-Ins/DAL and I was able to see all the plugins in skype/Teams. But now I don't see them neither in Teams or on Skype. All the plugins still exists under the/Library/CoreMediaIO/Plug-Ins/DAL. Can you please help me to understand why is this happening?
@Raj123456788 see the documentation on https://github.com/johnboiles/obs-mac-virtualcam/wiki/Compatibility
Skype and Teams blocked virtual cameras, you need to do some resigning
Most helpful comment
yes it works! Thank you @johnboiles