我正在努力弄清楚如何为gstreamer安装opus插件。我安装了 opus-tools& libopus0 by apt-get(一切都发生在Ubuntu 14.04上)。我还安装了gstreamer-plugins-bad。
经过多次试验,错误等后,gstreamer每次尝试调用gst-inspect-1.0时都会显示以下错误:
*(gst-plugin-scanner:17408):GStreamer-WARNING **:无法加载插件'/opt/gstreamer-1.4.0/lib/gstreamer-1.0/libgstopus.so':/ opt /gstreamer-1.4.0/lib/gstreamer-1.0/libgstopus.so: undefined symbol:opus_multistream_encode *
在opus安装过程中可能导致此错误的问题是什么?
如果它有任何用处 ldd /opt/gstreamer-1.4.0/lib/libgstopus.so
*/opt/gstreamer-1.4.0/lib$ ldd /opt/gstreamer-1.4.0/lib/libgstopus.so
linux-vdso.so.1 => (0x00007fff859fe000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4f9004f000)
libgstaudio-1.0.so.0 => /opt/gstreamer-1.4.0/lib/libgstaudio-1.0.so.0 (0x00007f4f8fe08000)
libgsttag-1.0.so.0 => /opt/gstreamer-1.4.0/lib/libgsttag-1.0.so.0 (0x00007f4f8fbcf000)
libgstrtp-1.0.so.0 => /opt/gstreamer-1.4.0/lib/libgstrtp-1.0.so.0 (0x00007f4f8f9b5000)
libgstbase-1.0.so.0 => /opt/gstreamer-1.4.0/lib/libgstbase-1.0.so.0 (0x00007f4f8f75c000)
libgstreamer-1.0.so.0 => /opt/gstreamer-1.4.0/lib/libgstreamer-1.0.so.0 (0x00007f4f8f450000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f4f8f1ff000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f4f8eef7000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4f8ecd8000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4f8e912000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4f8e6f9000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f4f8e4f4000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4f8e2f0000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f4f8e0e7000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f4f8dea9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4f90587000)*
我在安装opus时肯定错过了一些东西,但是我没有更多的想法该做什么,所以我想我可以给一些提示在哪里寻找,或者什么可能出错?
感谢您的帮助:)
答案 0 :(得分:0)
您的错误意味着opus库未正确链接到您的gstreamer。 你自己安装了gstreamer-plugins-bad?这样做时,当您从plugin-bad包运行配置脚本时,您可以添加以下选项: ./configure --host = xxxx - with-plugin = opus --prefix = xxxxx