Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot not find any camera on macOS #48

Open
mmppeegg opened this issue Jan 12, 2022 · 1 comment
Open

Cannot not find any camera on macOS #48

mmppeegg opened this issue Jan 12, 2022 · 1 comment

Comments

@mmppeegg
Copy link

mmppeegg commented Jan 12, 2022

Hi,
My environment:
Intel i9 MacBookPro with macOS 11 Big Sur
My build parameters:
obs-studio-node-0.3.21-Darwin.tar.gz (which is built myself by XCode 13.2.1)
https://slobs-node-window-rendering.s3-us-west-2.amazonaws.com/node-window-rendering-1.0.15-osx.tar.gz (Download)

I can't get neither embedded camera nor usb cam. Log in Terminal is here:
yarn run v1.22.17 $ electron . Initializing OBS... Version recv: DEVMODE_VERSION Version compiled DEVMODE_VERSION [000:00:00:00.978.805.081][Error] Plugin Path provided is invalid: /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/64bit Plugin Path provided is invalid: /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/64bit Failed to initialize module /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/libEGL.dylib [000:00:00:00.979.821.676][Error] os_dlopen(/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/vk_swiftshader_icd.json->/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/vk_swiftshader_icd.json.so): dlopen(/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/vk_swiftshader_icd.json.so, 257): image not found [000:00:00:00.979.821.676][Error] [000:00:00:00.979.878.246][Warning] Module '/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/vk_swiftshader_icd.json' not loaded Unable to load '/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/vk_swiftshader_icd.json', could not find file. Failed to initialize module /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/libswiftshader_libEGL.dylib [000:00:00:03.041.512.985][Warning] A DeckLink iterator could not be created. The DeckLink drivers may not be installed Unable to load '/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/libvk_swiftshader.dylib', missing exports. dlopen /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework: dlopen(/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework, 261): image not found Failed to load the CEF framework. [000:00:00:04.205.562.279][Warning] Failed to initialize module 'obs-browser.so' Failed to initialize module /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-browser.so [000:00:00:04.715.430.569][Error] os_dlopen(/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-libfdk.so->/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-libfdk.so): dlopen(/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-libfdk.so, 257): Library not loaded: @executable_path/libfdk-aac.2.dylib [000:00:00:04.715.430.569][Error] Referenced from: /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-libfdk.so [000:00:00:04.715.430.569][Error] Reason: image not found [000:00:00:04.715.430.569][Error] [000:00:00:04.715.536.938][Warning] Module '/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-libfdk.so' not loaded Unable to load '/Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-libfdk.so', could not find file. [000:00:00:04.970.524.705][Error] os_dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib->/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib): dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib, 257): image not found [000:00:00:04.970.524.705][Error] Failed to initialize module /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/libGLESv2.dylib Failed to initialize module /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/libswiftshader_libGLESv2.dylib [000:00:00:08.135.501.081][Error] [obs-ndi] Can't find the NDI library [000:00:00:08.135.582.954][Error] [obs-ndi] Error when loading the library. [000:00:00:08.135.614.518][Warning] Failed to initialize module 'obs-ndi.so' Failed to initialize module /Users/kensington/repo/obs-studio-node-example/node_modules/obs-studio-node/obs-plugins/obs-ndi.so [000:00:00:08.135.932.354][Error] Plugin Path provided is invalid: /Users/kensington/repo/obs-studio-node-exa/slobs-plugins/obs-plugins/64bit Plugin Path provided is invalid: /Users/kensington/repo/obs-studio-node-exa/slobs-plugins/obs-plugins/64bit [000:00:00:08.231.387.126][Error] [CoreAudio encoder]: Couldn't find available bitrates [000:00:00:08.231.417.139][Error] [CoreAudio encoder]: Couldn't find available bitrates OBS initialized Configuring OBS OBS Configured Trying to set up web camera... [000:00:00:08.373.662.392][Warning] video: Could not initialize device with unique ID 'does_not_exist' cameraItems[0].name: Waiting for 100ms until camera get initialized. Waiting for 200ms until camera get initialized. Waiting for 300ms until camera get initialized. Waiting for 400ms until camera get initialized. Found camera "" doesn't seem to work as its reported width is still zero. [000:00:00:09.651.209.552][Error] glClear failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.651.243.417][Error] device_clear (GL) failed [000:00:00:09.651.262.862][Error] glViewport failed, glGetError returned GL_INVALID_VALUE(0x501) [000:00:00:09.651.273.588][Error] device_set_viewport (GL) failed [000:00:00:09.651.284.077][Error] glClear failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.651.293.932][Error] device_clear (GL) failed [000:00:00:09.651.806.364][Error] glDrawArrays failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.651.828.527][Error] device_draw (GL) failed [000:00:00:09.651.910.032][Error] glDrawArrays failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.651.927.398][Error] device_draw (GL) failed [000:00:00:09.666.288.642][Error] glClear failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.666.317.854][Error] device_clear (GL) failed [000:00:00:09.666.330.804][Error] glClear failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.666.340.679][Error] device_clear (GL) failed [000:00:00:09.666.355.599][Error] glDrawArrays failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.666.366.128][Error] device_draw (GL) failed [000:00:00:09.666.444.746][Error] glDrawArrays failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [000:00:00:09.666.459.244][Error] device_draw (GL) failed [000:00:00:09.666.484.492][Error] glReadPixels failed, glGetError returned GL_INVALID_FRAMEBUFFER_OPERATION(0x506) [1808:0112/094336.498806:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'instance' of undefined", source: devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@e40327ead64ef3f7d9f196b4eeb5c0c61cb5799/&can_dock=true&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)&experiments=true (1)

And I also attached log file 2022-01-12 09-43-26.txt in /osn-data
Is any idea or what I missed? Thanks a lot!!

@Envek
Copy link
Owner

Envek commented Jan 12, 2022

I'm out of context as I haven't touched this project for a while and don't have any capacity to dig into it.

Sorry, but I'm not able to provide any help in observable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants