sarxos / webcam-capture

The goal of this project is to allow integrated or USB-connected webcams to be accessed directly from Java. Using provided libraries users are able to read camera images and detect motion. Main project consist of several sub projects - the root one, which contains required classes, build-in webcam driver compatible with Windows, Linux and Mac OS, which can stream images as fast as your camera can serve them (up to 50 FPS). Main project can be used standalone, but user is able to replace build-in driver with different one - such as OpenIMAJ, GStreamer, V4L4j, JMF, LTI-CIVIL, FMJ, etc.
http://webcam-capture.sarxos.pl
MIT License
2.26k stars 1.11k forks source link

Not working on Mac m1 #914

Closed jQrgen closed 9 months ago

jQrgen commented 10 months ago

The library crashed the JVM Desktop mac m1 Kotlin Multiplatform app in runtime.


 Failed to initialize BridJ (java.lang.UnsatisfiedLinkError: (...) (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')))
 ``
eduramiba commented 10 months ago

I suggest you try to use this driver: https://github.com/eduramiba/webcam-capture-driver-native

jQrgen commented 10 months ago

Thanks. Our team has deferred desktop support for webcam so I won't be looking into this any time soon.

alexmao86 commented 9 months ago

As BridJ stopped maintenance, there are lots of JNI issues of it, we will try to move javacpp as primary JNI solution. thank you for your interests