无法加载gstreamer插件,未定义的'gst_base_sink_get_last_sample'参考

时间:2018-11-30 08:37:36

标签: c++ c gstreamer gstreamer-1.0

我写了一个简单的gstremaer插件,无法加载。当我调用“ gst-inspect-1.0”时,应用程序通知我该插件由于未定义符号而被阻止。在gstreamer文档中,我找不到正确的依存关系。所以我正在尝试将插件与'gstreamer-base-1.0'deps链接。为了便于诊断,我在GitHub

上分享了我的资料

我要起诉F29肉桂。

gst检查结果:

  

pbieguszewski @ localhost simple_plugin_tester] $ gst-inspect-1.0 --gst-plugin-path = $ {PWD:A} libsimple_plugin_tester.so

     

(gst-plugin-scanner:7213):GStreamer-WARNING **:19:03:11.986:无法加载插件'/mnt/Data/Repozytoria/gstreamer_plugin/build/Desktop/Debug/simple_plugin_tester/libsimple_plugin_tester.so ':/mnt/Data/Repozytoria/gstreamer_plugin/build/Desktop/Debug/simple_plugin_tester/libsimple_plugin_tester.so:未定义符号:gst_base_sink_get_last_sample

     

插件详细信息:

     

名称libsimple_plugin_tester.so

     

黑名单文件的描述插件

     

文件名/mnt/Data/Repozytoria/gstreamer_plugin/build/Desktop/Debug/simple_plugin_tester/libsimple_plugin_tester.so

     

版本0.0.0

     

许可黑名单

     

源模块BLACKLIST

     

二进制软件包BLACKLIST

     

原始网址黑名单

     

0个功能:

已安装的gstreamer库:

  

[pbieguszewski @ localhost simple_plugin_tester] $安装了gstreamer的dnf列表*

     

已安装的软件包

     

gstreamer1.i686 1.14.4-1.fc29 @fedora

     

gstreamer1.x86_64 1.14.4-1.fc29 @anaconda

     

gstreamer1-devel.x86_64 1.14.4-1.fc29 @fedora

     

gstreamer1-plugins-bad-free.x86_64 1.14.4-1.fc29 @anaconda

     

gstreamer1-plugins-base.i686 1.14.4-1.fc29 @fedora

     

gstreamer1-plugins-base.x86_64 1.14.4-1.fc29 @anaconda

     

gstreamer1-plugins-base-devel.x86_64 1.14.4-1.fc29 @fedora

     

gstreamer1-plugins-good.x86_64 1.14.4-1.fc29 @anaconda

     

gstreamer1-plugins-good-gtk.x86_64 1.14.4-1.fc29 @anaconda

     

gstreamer1-plugins-ugly-free.x86_64 1.14.4-1.fc29 @anaconda

编辑:

我解决了未定义符号的问题。我错过了“ gstreamer-video-1.0”库。但是我仍然无法加载插件。我再次运行“ gst-inspec”。在日志中,我没有任何有趣的事情。也许这会有所帮助:

0:00:00.005923221 11256 0x56483ebc3000 DEBUG           GST_REGISTRY gstregistry.c:1348:gst_registry_scan_path_level:<registry0> file /mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so not yet in registry
0:00:00.005927431 11256 0x56483ebc3000 DEBUG           GST_REGISTRY gstregistry.c:1153:gst_registry_scan_plugin_file: Starting plugin scanner for file /mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so
0:00:00.011120707 11256 0x56483ebc3000 LOG       GST_PLUGIN_LOADING gstpluginloader.c:1003:read_one: No payload to read for 0 length packet type 3 tag 0
0:00:00.011135408 11256 0x56483ebc3000 LOG       GST_PLUGIN_LOADING gstpluginloader.c:233:plugin_loader_load:<registry0> Sending file /mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so to child. tag 0
0:00:00.014111565 11256 0x56483ebc3000 DEBUG     GST_PLUGIN_LOADING gstpluginloader.c:358:plugin_loader_create_blacklist_plugin: Adding blacklist plugin 'libsimple_plugin.so'
0:00:00.014131667 11256 0x56483ebc3000 TRACE        GST_REFCOUNTING gstobject.c:293:gst_object_ref_sink:<plugin1> 0x56483ebe7190 ref_sink 1->2
0:00:00.014140347 11256 0x56483ebc3000 LOG             GST_REGISTRY gstregistry.c:479:gst_registry_add_plugin:<registry0> emitting plugin-added for filename "/mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so"

其余可用日志为here

0 个答案:

没有答案