obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
57.76k stars 7.74k forks source link

Custom placeholder of virtual cam on macOS does not show up #9783

Closed Backpackstudio closed 8 months ago

Backpackstudio commented 8 months ago

Operating System Info

macOS 14

Other OS

No response

OBS Studio Version

30.0.0-rc2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/q2SkeO61puuPMFIW

OBS Studio Crash Log URL

No response

Expected Behavior

When not streaming, Virtual Cam shows custom placeholder.

Current Behavior

When not streaming, Virtualcam does not show custom placeholder. Virtual Cam itself is working.

Steps to Reproduce

  1. Open FaceTime
  2. Select OBS Virtual Camera as camera
  3. Start stream in OBS
  4. Stop steam in OBS ...

Anything else we should know?

I did check the code and according to the code, there can be several locations for custom placeholder.

I have placed in several locations my custom image, but Virtual Cam does not use any of them.

/Applications/OBS.app/Contents/Resources/obs-mac-virtualcam.plugin/Contents/Resources/placeholder.png
~/Library/Application Support/obs-studio/plugin_config/mac-virtualcam/placeholder.png
/Library/Application Support/obs-studio/plugin_config/mac-virtualcam/placeholder.png

https://github.com/obsproject/obs-studio/blob/df990192b2582f9b254837adb3c4aed4d61b479d/plugins/mac-virtualcam/src/dal-plugin/OBSDALStream.mm#L155

https://github.com/obsproject/obs-studio/blob/df990192b2582f9b254837adb3c4aed4d61b479d/plugins/mac-virtualcam/src/dal-plugin/OBSDALStream.mm#L160C85-L160C95

tehbasshunter commented 8 months ago

This is no longer possible as of v30.

gxalpha commented 8 months ago

OBS 30 uses a CMIO Camera Extension on macOS 13 upwards. Due to the design of system extensions, custom placeholders are longer be supported.

felippenardi commented 8 months ago

@gxalpha how is the placeholder setup now? It is totally impossible to change it? 🥺

gxalpha commented 8 months ago

The placeholder is now part of the system extension bundle. Messing with it will probably invalidate the code signatures. The only way to change it would be to compile OBS yourself instead of using the official build, which is not recommended.

jurrien-suse commented 7 months ago

Can this be added as a feature request?

pinetreemoonlight commented 7 months ago

Please add this feature back :(

Fenrirthviti commented 7 months ago

Just to expand on the comment above, we cannot add this back, as the new camera extension system in macOS doesn't allow for hot-swapping the image. You'd need to rebuild the module yourself if you want to change it.