-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
video library not working on debian 12: "Unable to load library 'avresample'" and other error messages #221
Comments
Hallo, the same error occurs on Manjaro Linux:
Is there an update on this issue? Greetings |
hi, same thing here on Arch Linux:
java 21 |
Hi, I have found a workaround. The problem is caused by the library files that come with the official release of processing-video. Removing them may solve the problem, as Processing will use the equivalent libraries installed system-wide. (Tested on Ubuntu 23.10) For example, if your sketchbook folder is ~/sketchbook/, the libraries are located in ~/sketchbook/libraries/video/library/linux-amd64. Delete or rename the folder and restart Processing. You need to install the equivalent libraries system-wide by using your package manager. You should probably install the following:
|
Thanks @fukuchi! Unfortunately this doesn't work on my arch linux installation. I don't have the time now to plough through the errors, but I'm pretty sure I have the dependencies installed. Will look into it a bit more when I have time. If I remember correctly the gstreamer libraries where packaged together with processing a while ago when gstreamer broke openframeworks and processing with a new version. 1.20 if my memory serves me right... |
@kflak I forgot to write about my environment. I am using Ubuntu 23.10 and the installed gstreamer seems to be version 1.22. |
Yeah, I guess I'm probably missing some systemwide libraries... Will try to find them on Arch. It does seem like Processing is looking for them but can't find them when I delete the linux-arm libs. |
Hi EDIT My workaround: EDIT: Eventually, it is much better to avoid a common sketchbook folder. So, I created the folders sketchbook3 and resp. sketchbook4 and configured within `/home/.../.processing/ by
For Processing 4.3 and the Video Library 4, it seems you just need to replace the folder NOTE: If I install Video Library 2.2 and just try to erase the folder linux-amd64, it does not work (I get a long error msg). NOTE TO DEVELOPERS Different versions should be shipped with versioned |
Wow, thanks a lot for the workaround! I can confirm that reverting back to an old version of the video library I happened to have lying around did the trick. In my case I wasn't able to install processing 3.5, as it doesn't play well with my particular java environment, but video lib 2.0 does indeed seem to work. |
i cannot use the video library at all.
this is my system (uname -a):
Linux debian12 6.1.0-12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07) x86_64 GNU/Linux
and java --version reports:
and this is what i did:
the example does not run, reporting a link error for libavresample (and at the end an error about libsoup which i don't understand). i did some search and followed the advice in #214 to create a symlink. but this did not help.
none of the examples for the video library work. all fail with the error message below. otherwise processing works allright.
The text was updated successfully, but these errors were encountered: