You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have the same recurring problem on my old laptop and newly built computer.
I tried different distros, all ubuntu based, the newest normal, studio and mate.
I tried the code example from here
replacing the file name with a test video which is in the sketchbook folder of my processing file.
the video library for processing 4 is installed.
the processing console tells me
can't load library mp3lame with -Djna.library.path= ~ /sketchbook/libraries/video/library/linux-amd64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'mp3lame':
~ /sketchbook/libraries/video/library/linux-amd64/libmp3lame.so: file too short
Native library (linux-x86-64/libmp3lame.so) not found in resource path
and the same for
libnice
libopenh264
Further down I get
(Processing core video:8190): GStreamer-WARNING **: 17:29:36.473: Failed to load plugin ' ~ /sketchbook/libraries/video/library/linux-amd64/gstreamer-1.0/libgstopenjpeg.so': libopenjp2.so.2: cannot open shared object file: No such file or directory
I can see all these files in the folder of the video library AND in the root library folder. I have checked if the libraries are installed correctly and up to date through the terminal and synaptic and reinstalled them.
As mentioned I have this issue independent of the computer and distro.
My guess is Processing gets confused, because Ubuntu seems to come with the Gstreamer Libraries already installed.
I have no clue what is happening, I couldn't find anything on the web, but my computational knowledge is very limited.
I am new to github, so if my formatting is confusing I apologize.
Any help or idea would be much appreciated,
thank you!
best regards
@dizzy321 you could try removing the Gstreamer libraries that come bundled with the video library, this should forces it to use default GStreamer libs installed in Ubuntu.
hi sorry for not answering. i needed to get away from it for a while. i tried that, but it does not work. the error message changes but it still has a gstreamer issue. i switched to praxislive and there everything regarding video seems to be working. which is confusing to me because it also uses the gstreamer and processing.core as far as I can tell.
would building the video library from source make a difference?
Activity
codeanticode commentedon Jan 16, 2023
@dizzy321 you could try removing the Gstreamer libraries that come bundled with the video library, this should forces it to use default GStreamer libs installed in Ubuntu.
dizzy321 commentedon Mar 20, 2023
hi sorry for not answering. i needed to get away from it for a while. i tried that, but it does not work. the error message changes but it still has a gstreamer issue. i switched to praxislive and there everything regarding video seems to be working. which is confusing to me because it also uses the gstreamer and processing.core as far as I can tell.
would building the video library from source make a difference?