Error in Video librarie


#1

I try the example “GettingStartedCapture” and the following line throws error

String[] cameras = Capture.list();

UnsatisfiedLinkError: Error looking up function ‘gst_date_get_type’: /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so: undefined symbol: gst_date_get_type
A library relies on native code that’s not available.
Or only works properly when the sketch is run as a 32-bit application.

I have Processing 3.4 64 bits on Ubuntu 18.04.
Thanks for your help.


#2

Can you post what you get when you type in the terminal uname -a?

Kf


#3

kfrajer, when I execute uname -a I get:
Linux lisandro-Notebook 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


#4

Ok, can you please check this https://github.com/processing/processing-video/issues/71 as they discuss the issue there.

Kf


#5

I’m downloading a new zip with library inside. I test what happens after installing it and I tell you.
Thanks!


#6

I download the zip file and install it


and finally works!!!

Thanks!!!


#7

Great, good to hear it is working!

Kf


#8

The beta version based on Gohai’s fork is at https://github.com/processing/processing-video/releases/tag/r3-v2.0-beta1