本文介绍了我如何获得gstreamer插件--Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在从gstreamer.freedesktop.org安装了gstreamer 1.0,并在此处查看其教程: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-elements-create.html 我遇到了一个问题,我的gst_element_factory_make()调用失败了,我认为这是此处建议的插件路径问题: Gstreamer:gst_element_factory_make ():总是失败并返回NULL:Qt5 但我找不到插件我的gstreamer安装目录中的目录.有人可以建议我如何获得这些插件以便设置路径吗?是否需要单独下载它们?(如果有的话,链接会有所帮助.)我一般来说是gstreamer和多媒体编程的新手,如果这很明显,我深表歉意.

I now installed gstreamer 1.0 from gstreamer.freedesktop.org and going through their tutorial here :http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-elements-create.htmlI am facing a problem though ,my gst_element_factory_make() calls are failing and I think it is thepluggin path problem as suggested here: Gstreamer : gst_element_factory_make() : always fail and return NULL : Qt5 but I can't find a plugindirectory in my gstreamer install directory .Can anyone suggest how I can get those plugins so I can set the path?Do I need to download them separately?(A link would be helpful if any) .I am new to gstreamer and multimedia programming in general ,I apologize if this is obvious.

谢谢您的时间.

推荐答案

我不知道在哪里为您的系统安装了插件(Windows,对吗?).您可以搜索具有插件库的文件夹.搜索libgstplayback.so/.dll或libgstcoreelements.so/.dll,您应该找到它.可能是在您选择安装的文件夹下,但我不知道默认值是什么.

I don't know where does the plugins got installed for your system (windows, right?). You can search for the folder that has the plugin libs. Search for libgstplayback.so/.dll or libgstcoreelements.so/.dll and you should find it. It is likely under the folder you selected for installation but I don't know what is the default.

然后仅使用GST_PLUGIN_PATH环境变量指向该变量并运行您的应用程序.

Then just use the GST_PLUGIN_PATH environment variable to point to that and run your application.

这篇关于我如何获得gstreamer插件--Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 14:27