Giter VIP home page Giter VIP logo

Comments (8)

sarxos avatar sarxos commented on August 22, 2024

Hi @t-oster,

Can you verify if you have libv4l / libv4lconvert and all its related dependencies installed?

From the error I see in the stack trace, I conclude the problem is caused by missing dependency:

# BridJ: dlopen error when loading /tmp/[directory]/OpenIMAJGrabber.so : /tmp/[directory]/OpenIMAJGrabber.so: 
undefined symbol: v4lconvert_enum_frameintervals

The v4lconvert_enum_frameintervals function is part of libv4lconvert, so if it's missing, I guess you have either not installed it yet or installed version is pretty outdated.

I will close this ticket for now, but feel free to reopen it, if dependencies issue is not the root cause of this error.

Cheers!

from webcam-capture.

t-oster avatar t-oster commented on August 22, 2024

Hi,
I'm running ArchLinux on the Pi as already said. Libv4l and Libv4l-convert are both present (package v4l-utils provides libv4l=0.8.9). So missing library is not the problem. I can not figure out, why it is not working. I have the same configuration on my Notebook (also ArchLinux) and there it works....

from webcam-capture.

sarxos avatar sarxos commented on August 22, 2024

I will provide you small program to be run on your Raspberry Pi so we can diagnose where the problem is located :)

from webcam-capture.

sarxos avatar sarxos commented on August 22, 2024

Hi,

I performed a little research and it seams like the *.so object is broken. The previous one was declaring the following:

$ nm -Ca OpenIMAJGrabber.so | grep -i frameintervals
0000ba0c T v4lconvert_enum_frameintervals

And the current one:

$ nm -Ca OpenIMAJGrabber.so | grep -i frameintervals
         U v4lconvert_enum_frameintervals

Also the file size is much smaller - 78 kB vs 196 kB.

I will rewert OpenIMAJGrabber.so for ARM 32 to the previous version with hope it will work for you, however you can notice possible side effects in form of the problem described in #9.

from webcam-capture.

t-oster avatar t-oster commented on August 22, 2024

Hi,
thanks for the quick repies and the work. I will test it as soon as I have time (probably tomorrow...)..

from webcam-capture.

sarxos avatar sarxos commented on August 22, 2024

Fixed in 3474a01

You can use the new version in two ways:

  1. Download source code and build it locally, or
  2. Use precompiled JARs located here.

Since this is critical issue for all Raspberry Pi users who are willing to use Webcam Capture (vide @hepin1989), I will upload it to Maven Central ASAP, but first I want to confirm it fix the issue you reported.

If this was the root cause I will also report it in OpenIMAJ project so they will be aware of incorrect *.so in their repo.

Thank you!

from webcam-capture.

t-oster avatar t-oster commented on August 22, 2024

I can confirm that it works now on the raspberry pi

from webcam-capture.

sarxos avatar sarxos commented on August 22, 2024

Thank you @t-oster !!

Reported in OpenIMAJ as OP-48.

I will release 0.3.8 including commit 3474a01 ASAP, so Raspberry Pi users will not be affected by this bug.

from webcam-capture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.