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.28k stars 1.11k forks source link

Not working on Mac m1 #914

Closed jQrgen closed 11 months ago

jQrgen commented 1 year 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 1 year ago

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

jQrgen commented 1 year ago

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

alexmao86 commented 11 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