【问题标题】:I built gstreamer plugin in VS-windows. But on gst-inspect-1.0 :: Could not load plugin file: File "GstPluginTemplate.dll" is not a GStreamer plugin我在 VS-windows 中构建了 gstreamer 插件。但是在 gst-inspect-1.0 :: 无法加载插件文件:文件“GstPluginTemplate.dll”不是 GStreamer 插件
【发布时间】:2021-12-23 11:49:45
【问题描述】:

我正在尝试构建一个 gstreamer 插件模板。对于这个 VS 项目 [GstPluginTemplate],我包含了来自https://cgit.freedesktop.org/gstreamer/gst-template/tree/gst-plugin/src 的文件:gstplugin.c 和 gstplugin.h 它是在 VS'19 中作为 dll 构建的。

然后,在 cmd 提示符下,我导航到具有 GstPluginTemplate.dll 并执行 gst-inspect-1.0 的 Debug 文件夹。 我收到以下错误:

C:\GstPluginTemplate\x64\Debug>gst-inspect-1.0 GstPluginTemplate.dll --gst-plugin-path=.
Could not load plugin file: File "GstPluginTemplate.dll" is not a GStreamer plugin

有人可以指导我遗漏了哪些步骤/代码吗?

【问题讨论】:

  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: plugins gstreamer


【解决方案1】:

在 GST_PLUGIN_DEFINE 的第三个参数中定义的名称和 项目属性的目标名称必须相同。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-08-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多