I am not professional in Linux programming, but I have a problem with processing programming language:
There are 2 media files (audio and video), and I would like to import theese in a program. My attempts are that:
imports processing.sound.*;
imports processing.video.*;
void setup(){
SoundFile soundFile = new SoundFile(this, "soundfile.mp3");
Movie videoFile = new Movie(this, "videofile.mp4");
}
When I add the SoundFile objects, the problem is occuring under the runtime:
terminate called after throwing an instance of 'std::runtime_error' what(): RtApiAlsa::probeDeviceOpen: pcm device (hw:0,3) won't open for input. Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help → Troubleshooting.
When I add the Movie objects, the problem is occuring under the runtime:
UnsatisfiedLinkError: Error looking up function 'gst_date_get_type': /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.800.0: 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.
My question is: How to fix theese problems?
Thank you for answer! W.