-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Webcam Capture API not working in Mac with Arm architecture #930
Comments
I would recommend you try
https://github.com/eduramiba/webcam-capture-driver-native
El mar, 4 jun 2024 a las 13:58, namrathalokesh19 ***@***.***>)
escribió:
… On using default driver of Webcam Capture API, not able to access the
webcam of Macbook pro with M1 architecture. It is failing to initialise the
BridJ with below error.
java.lang.RuntimeException: Failed to initialize BridJ
(java.lang.UnsatisfiedLinkError: Can't load library:
/var/folders/xf/t03s0z0n0f39m0rqld70wf380000gn/T/BridJExtractedLibraries16145624487360412057/libbridj.dylib)
at org.bridj.Platform.initLibrary(Platform.java:444)
at org.bridj.Platform.(Platform.java:228)
at
com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.(OpenIMAJGrabber.java:59)
at
com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$WebcamNewGrabberTask.handle(WebcamDefaultDriver.java:55)
at
com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library:
/var/folders/xf/t03s0z0n0f39m0rqld70wf380000gn/T/BridJExtractedLibraries16145624487360412057/libbridj.dylib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2408)
at java.base/java.lang.Runtime.load0(Runtime.java:785)
at java.base/java.lang.System.load(System.java:2009)
at org.bridj.Platform.initLibrary(Platform.java:420)
—
Reply to this email directly, view it on GitHub
<#930>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQFJJB5MHC64WF5V2QFJTZFWTX5AVCNFSM6AAAAABIYLQIW2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTGMZUGMYDIOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
dosent web campture support all desktop platffroms ?? |
Confirming the NativeDriver works on Mac M1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On using default driver of Webcam Capture API, not able to access the webcam of Macbook pro with M1 architecture. It is failing to initialise the BridJ with below error.
java.lang.RuntimeException: Failed to initialize BridJ (java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/xf/t03s0z0n0f39m0rqld70wf380000gn/T/BridJExtractedLibraries16145624487360412057/libbridj.dylib)
at org.bridj.Platform.initLibrary(Platform.java:444)
at org.bridj.Platform.(Platform.java:228)
at com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.(OpenIMAJGrabber.java:59)
at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$WebcamNewGrabberTask.handle(WebcamDefaultDriver.java:55)
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/xf/t03s0z0n0f39m0rqld70wf380000gn/T/BridJExtractedLibraries16145624487360412057/libbridj.dylib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2408)
at java.base/java.lang.Runtime.load0(Runtime.java:785)
at java.base/java.lang.System.load(System.java:2009)
at org.bridj.Platform.initLibrary(Platform.java:420)
The text was updated successfully, but these errors were encountered: