2

我有个问题。

我正在尝试使用最新版本的处理 (2.0.3)Mirror从处理库中运行示例。video但是,我收到此错误;

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
libEGL warning: failed to create a pipe screen for i965
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Unable to load library 'gstreamer-0.10': libgstreamer-0.10.so: cannot open shared object file: No such file or directory
        at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
        at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100)
        at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
        at javax.media.opengl.Threading.invoke(Threading.java:191)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483)
        at processing.opengl.PGL.requestDraw(PGL.java:1149)
        at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1604)
        at processing.core.PApplet.run(PApplet.java:2176)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'gstreamer-0.10': libgstreamer-0.10.so: cannot open shared object file: No such file or directory
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
        at com.sun.jna.Library$Handler.<init>(Library.java:140)
        at com.sun.jna.Native.loadLibrary(Native.java:379)
        at org.gstreamer.lowlevel.GNative.loadNativeLibrary(Unknown Source)
        at org.gstreamer.lowlevel.GNative.loadLibrary(Unknown Source)
        at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)
        at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)
        at org.gstreamer.Gst.<clinit>(Gst.java:59)
        at processing.video.Video.initImpl(Unknown Source)
        at processing.video.Video.init(Unknown Source)
        at processing.video.Capture.initGStreamer(Unknown Source)
        at processing.video.Capture.<init>(Unknown Source)
        at testvideo.setup(testvideo.java:46)
        at processing.core.PApplet.handleDraw(PApplet.java:2280)
        at processing.opengl.PGL$PGLListener.display(PGL.java:2601)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:588)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572)
        at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909)
        at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
        at java.awt.EventQueue.access$400(EventQueue.java:81)
        at java.awt.EventQueue$2.run(EventQueue.java:627)
        at java.awt.EventQueue$2.run(EventQueue.java:625)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

这意味着我当然不能使用视频。 有关解决此问题的任何提示?

4

2 回答 2

2

您缺少libgstreamer-0.10.so库,或者它不在 LD 路径中。最可能的问题是您没有从您的发行版中安装必要的软件包。

于 2013-09-23T20:57:07.243 回答
1

详细说明@JesseTG 的评论:

对我来说,必要的软件包似乎如下:

$ sudo apt-get install gstreamer0.10 libgstreamer-plugins-base0.10-dev

第一个包修复了第一个链接错误,第二个修复了随后的 gstinterfaces 链接错误。

于 2014-12-30T19:44:50.637 回答