【问题标题】:Writing gstreamer plugins in windows在 Windows 中编写 gstreamer 插件
【发布时间】:2021-12-14 16:51:08
【问题描述】:

我需要为 gstreamer 编写一个插件。将集成在插件中的代码实际上可作为 VS 2005 项目使用。这就是为什么我打算在visual studio中开发插件。我找不到任何有关在 Windows 中将 gstreamer 插件开发环境设置为 Visual Studio 项目的资源。

gstreamer windows SDK 不包含http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-building-boiler.html 中提到的插件开发所需的文件。

注意: 以下问题虽然相似,但不是我要找的: Needed environment for building gstreamer plugins in Windows

【问题讨论】:

    标签: gstreamer


    【解决方案1】:

    要在 Windows 上开发 GStreamer 插件,您可以使用 GStreamer SDK。

    构建样板一章侧重于 Linux 开发,它引用了 git 存储库 gst-template,其中包含使用 Autotools 构建构建插件和应用程序的模板系统。由于你会使用VS,所以你只会提供源代码模板,你可以直接下载here

    在依赖项方面,构建插件类似于构建 GStreamer 应用程序,在 SDK documentation 中,您将找到有关如何创建新 VS 项目的详细说明(在 使用向导创建新项目部分强>)。

    要构建您的插件,您需要:

    1. 按照文档中的说明在 VS 中创建一个新的 GStreamer 项目
    2. 添加gst-template的模板源

    【讨论】:

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