linux - processing programming language: imports sound and video files -
i not professional in linux programming, have problem processing programming language:
there 2 media files (audio , video), , import theese in program. attempts that:
imports processing.sound.*; imports processing.video.*; void setup(){ soundfile soundfile = new soundfile(this, "soundfile.mp3"); movie videofile = new movie(this, "videofile.mp4"); }
when add soundfile objects, problem occuring under runtime:
terminate called after throwing instance of 'std::runtime_error' what(): rtapialsa::probedeviceopen: pcm device (hw:0,3) won't open input. not run sketch (target vm failed initialize). more information, read revisions.txt , → troubleshooting.
when add movie objects, problem occuring under runtime:
unsatisfiedlinkerror: error looking function 'gst_date_get_type': /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.800.0: undefined symbol: gst_date_get_type library relies on native code that's not available. or works when sketch run 32-bit application.
my question is: how fix theese problems?
thank answer! w.
googling first error leads me related question: how can solve conflict between openframeworks , other audio applications?
apparently error caused having 2 sound cards, , processing trying open wrong one. (more accurately, system default set wrong one.) fix problem, have reassign default sound card correct one.
your second error caused native library not loading correctly, or loading incorrect native library. might want make sure native library compatible linux version.
more broadly, these errors aren't specific processing. seem more linux setup. might have better luck asking question in linux tag.
Comments
Post a Comment