gst交叉编译的问题

gaoshanzhishui 2011-09-27 01:18:12
当我在mips交叉编译环境下编译好了gst-plugin插件之后,然后拷贝到相应的位置之后,用gst_plugin_load_file()函数调用,但是当我执行的时候,用GST_DEBUG log出来的数据错误如下:
0:00:05.265398000 1607 0x4c8100 WARN GST_PLUGIN_LOADING gstplugin.c:769:gst_plugin_load_file: module_open failed: File not found

(rygel:1607): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Opening module failed: File not found

(rygel:1607): GStreamer-WARNING **: Failed to load plugin '/mnt/gstreamer-0.10/libgstflac.so': File not found
0:00:05.285028000 1607 0x4c8100 WARN GST_PLUGIN_LOADING gstplugin.c:769:gst_plugin_load_file: module_open failed: File not found

(rygel:1607): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Opening module failed: File not found

(rygel:1607): GStreamer-WARNING **: Failed to load plugin '/mnt/gstreamer-0.10/libgstfaad.so': File not found


这是为什么呢,一开始我怀疑是那些插件都是在gst-plugin的ext目录下得原因,但是我编译源码包ext目录下自带的插件就可以load,然后我又想是不是需要下载支持库的插件会出现这种问题,但是我下载libmad,然后编译mad的时候,也可以load成功。
我真是无语了,求大侠解答。
...全文
198 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧