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
The text was updated successfully, but these errors were encountered:
@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?
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
https://processing.org/reference/libraries/video/Movie.html
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
and the same for
libgstaes.so': libcrypto.so.1.1
libgstdtls.so': libcrypto.so.1.1
then this
0:00:00.551363611 �[31m 8190�[00m 0x7fd080e95d50 �[31;01mERROR �[00m �[00m openh264dec gstopenh264dec.cpp:461:openh264dec_element_init:�[00m Incorrect library version loaded, expecting OpenH264 version:2.1.1.2005
0:00:00.551375126 �[31m 8190�[00m 0x7fd080e95d50 �[31;01mERROR �[00m �[00m openh264enc gstopenh264enc.cpp:1067:openh264enc_element_init:�[00m Incorrect library version loaded, expecting OpenH264 version:2.1.1.2005
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
The text was updated successfully, but these errors were encountered: