obs-ios-camera-source icon indicating copy to clipboard operation
obs-ios-camera-source copied to clipboard

2.9.1 doesnt work on Windows

Open dungi opened this issue 2 years ago • 20 comments

grafik

After installing 2.9.1 (64bit Version) OBS doesn't show the plug-in correctly.

dungi avatar Jun 02 '22 18:06 dungi

Thanks for testing - to clarify, which version of OBS Studio are you using @dungi?

wtsnz avatar Jun 02 '22 18:06 wtsnz

27.2.3 - should be the latest

dungi avatar Jun 02 '22 19:06 dungi

Interesting, thanks for that @dungi! One last thing - was there anything of interest in the OBS Studio Log File explaining why it wouldn't load?

wtsnz avatar Jun 02 '22 19:06 wtsnz

Only found this:

21:58:02.724: Loading iOS Camera Plugin (version 2.9.1) 21:58:02.724: obs_register_source: Tried to register obs_source_info with size 400 which is more than libobs currently supports (392)

21:58:03.576: Source ID 'ios-camera-source' not found 21:58:03.576: Failed to create source 'iOS Camera'!

dungi avatar Jun 02 '22 19:06 dungi

Thank you - that should be enough for me to go on to figure it out. I bet that I've built the plugin pointing at the wrong branch of OBS Studio. I'll take a look next week :)

wtsnz avatar Jun 02 '22 20:06 wtsnz

All right :) Cause I have the bug with the "scene switch" and wanted to try out if this worked for me. I will go back to the older version. And try the new one out, if it's fixed.

dungi avatar Jun 03 '22 06:06 dungi

27.2.3 - should be the latest

I don't believe it'll change anything, but 27.2.4 is the latest currently https://github.com/obsproject/obs-studio/releases/tag/27.2.4

Espionage724 avatar Jun 03 '22 16:06 Espionage724

27.2.3 - should be the latest

I don't believe it'll change anything, but 27.2.4 is the latest currently https://github.com/obsproject/obs-studio/releases/tag/27.2.4

You're right. I just updated... but still, doesn't work :)

dungi avatar Jun 03 '22 18:06 dungi

28.0 beta 1 installed working fine. but 2.9.1 obs iOS camera source not working.

Keysureshm avatar Aug 04 '22 10:08 Keysureshm

Screenshot 2022-08-04 at 4 00 04 PM

Keysureshm avatar Aug 04 '22 10:08 Keysureshm

Screenshot 2022-08-04 at 4 01 36 PM

Keysureshm avatar Aug 04 '22 10:08 Keysureshm

I also have the same issue as the above comment but M1 Mac. I am on OBS 28.0.1 beta arm64 Mac and using the 2.9.1 Mac arm plugin.

RoneyThomas avatar Aug 05 '22 02:08 RoneyThomas

I found there is a option, under Video capture device,u can select your apple iPhone device to use sa a camera.it’s working good .

Keysureshm avatar Aug 05 '22 02:08 Keysureshm

@Keysureshm I see the option but isn't using the obs-ios-camera plugin, instead you are using the native OBS feature and it can only mirror your iPhone and there is no Audio.

RoneyThomas avatar Aug 05 '22 02:08 RoneyThomas

Yes Your Right.we need to wait to update the plug-in.

Keysureshm avatar Aug 05 '22 02:08 Keysureshm

I am Also using MacBook Pro M1 and IMac M1.

Keysureshm avatar Aug 05 '22 02:08 Keysureshm

On my mac fully removed the plugin by deleting it from plugin directory. Downloaded the arm64 2.9.1 version. Here is the relevant log related to it.

23:06:32.652: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source->/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source): dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source, 0x0101): Library not loaded: '@rpath/libavcodec.58.134.100.dylib'
23:06:32.652:   Referenced from: '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source'
23:06:32.652:   Reason: tried: '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/usr/lib/libavcodec.58.134.100.dylib' (no such file)
23:06:32.652: 
23:06:32.652: Module '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source' not loaded
23:06:32.652: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source->/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source): dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source, 0x0101): Library not loaded: '@rpath/libavcodec.58.134.100.dylib'
23:06:32.652:   Referenced from: '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source'
23:06:32.652:   Reason: tried: '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/Applications/OBS.app/Contents/MacOS/../Frameworks/libavcodec.58.134.100.dylib' (no such file), '/usr/lib/libavcodec.58.134.100.dylib' (no such file)
23:06:32.652: 
23:06:32.652: Module '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source.plugin/Contents/MacOS/obs-ios-camera-source' not loaded
23:06:32.652: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so->/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so): dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so, 0x0101): tried: '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
23:06:32.652: 
23:06:32.652: Module '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so' not loaded
23:06:32.652: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so->/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so): dlopen(/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so, 0x0101): tried: '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
23:06:32.652: 
23:06:32.652: Module '/Library/Application Support/obs-studio/plugins/obs-ios-camera-source/bin/obs-ios-camera-source.so' not loaded
23:06:32.652: os_dlopen(/Library/Application Support/obs-studio/plugins/obs-ndi/bin/obs-ndi.so->/Library/Application Support/obs-studio/plugins/obs-ndi/bin/obs-ndi.so): dlopen(/Library/Application Support/obs-studio/plugins/obs-ndi/bin/obs-ndi.so, 0x0101): tried: '/Library/Application Support/obs-studio/plugins/obs-ndi/bin/obs-ndi.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

OBS 28 beta 1 only has libavcodec.59.18.100.dylib and the plugin is referencing libavcodec.58.134.100.dylib. I think rebuilding the project with OBS 28 sources should fix this issue for Mac.

RoneyThomas avatar Aug 05 '22 03:08 RoneyThomas

Yes 👍🏻.

Keysureshm avatar Aug 05 '22 03:08 Keysureshm

Yep, it should fix the issue! I've been hoping that I can rebase the plugin on the new https://github.com/obsproject/obs-plugintemplate project so that we don't have to worry about my arcane build scripts and make sure to keep up to date faster with new versions of OBS Studio. I've got something in the works I hope to release soon.

wtsnz avatar Aug 05 '22 14:08 wtsnz

Thank u.

Keysureshm avatar Aug 05 '22 16:08 Keysureshm

For people on the OBS Studio 28.0 Beta, I've cut a new build that works - https://github.com/wtsnz/obs-ios-camera-source/releases/tag/v2.9.2

It's not perfect on Windows right now, at least on my computer. It's the next thing to look into this week.

wtsnz avatar Aug 18 '22 03:08 wtsnz

Thank u So Much. Its Working Fine Now. Screenshot 2022-08-18 at 9 47 44 AM

Keysureshm avatar Aug 18 '22 04:08 Keysureshm