为什么在我运行GStreamer应用程序时会发出警告? [英] Why does it give warning when I run GStreamer application?

查看:126
本文介绍了为什么在我运行GStreamer应用程序时会发出警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在此处编译第一个gstreamer教程..>

但是,当尝试运行它时,我收到这样的警告:

 (basic-tutorial-1:27661):GStreamer-警告**:无法加载插件'/usr/lib/gstreamer-0.10/libgstffmpeg.so':/usr/lib/x86_64-linux-gnu/libavcodec.so.53:未定义符号:lame_set_VBR_quality无法连接到服务器套接字err =没有这样的文件或目录无法连接到服务器套接字杰克服务器未运行或无法启动 

如何解决 lame_set_VBR_quality 问题?

解决方案

输出中报告了两个不相关的问题:

gstffmpeg

启动时,gstreamer扫描可用插件并尝试加载它们.这些插件中有一个文件/usr/lib/gstreamer-0.10/libgstffmpeg.so .

似乎您已安装了不兼容的库(例如您的gstreamer"ffmpeg"插件依赖于 libavcodec.so 的不同版本),因此无法加载ffmpeg-plugin集.

问题实际上与gstreamer本身无关,而是与这些库的安装方式有关.

因为linux-distribution通常都是关于解决程序包间的依赖关系的(因此,如果仅安装了"bar-0.1",则永远不能安装依赖于"bar-0.4"的程序包"foo-2.0"),我想您已经添加了一些非官方的不受支持的第三方存储库(例如,在debian上,常见的头痛原因是 deb-multimedia 存储库;其他发行版还会有其他发行版.)

如果安装的所有库都来自发行版的官方存储库,则很可能是您在包装中发现了一个错误,您应该将该错误报告给提供错误库的软件包的维护者.

jack

关于杰克无法启动的另一个错误"是因为您使用的管道使用通用的 playbin2 元素,该元素探测可用的播放后端.这样做时,它还会尝试连接到正在运行的 jack -服务器,但这样做失败,并且(希望)回退到另一个可用的音频框架.

I can compile the first gstreamer tutorial found here.

However, when try to run it, I get a warning like this:

(basic-tutorial-1:27661): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/x86_64-linux-gnu/libavcodec.so.53: undefined symbol: lame_set_VBR_quality
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started

How can I solve the lame_set_VBR_quality problem?

解决方案

there are two unrelated problems reported in output:

gstffmpeg

on startup, gstreamer scans for available plugins and tries to load them. among these plugins is the file /usr/lib/gstreamer-0.10/libgstffmpeg.so.

it seems that you have installed incompatible libraries (e.g. your gstreamer "ffmpeg" plugin depends on a different version of libavcodec.so), so the ffmpeg-plugin set cannot be loaded.

the problem is not really related to gstreamer itself, but rather to the way how you installed those libraries.

since linux-distributions usually are all about resolving inter-package dependencies (so that you can never install a package "foo-2.0" that depends on "bar-0.4" if you only have "bar-0.1" installed), i guess that you have added some non-official unsupported 3rd-party repositories (e.g. on debian, a common source of headaches is the deb-multimedia repository; other distros will have others).

if all libraries installed are from the official repository of your distro, chances are that you hit a bug in the packaging and you should report the bug to the maintainers of the package(s) providing the faulty libraries.

jack

the other "error" about jack not being able to start, is because the pipeline you are using uses the generic playbin2 element, which probes for available playback backends. while doing so, it also tries to connect to a running jack-server, fails to do so and (hopefully) falls back to another available audio framework.

这篇关于为什么在我运行GStreamer应用程序时会发出警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆