简体   繁体   English

Gstreamer 1.0 iOS SDK安装程序无法安装

[英]Gstreamer 1.0 ios sdk installer failed to install

This is my first time trying with Gstreamer for ios , I went with the tutorial and installed the SDK with the link provided by the tutorial: http://docs.gstreamer.com/display/GstSDK/Installing+for+iOS+development 这是我第一次尝试使用Gstreamer for ios,我阅读了该教程,并通过该教程提供的链接安装了SDK: http : //docs.gstreamer.com/display/GstSDK/Installing+for+iOS+development

The installation works fine, but after I start trying the tutorial example projects, there couple of compiling errors compiling about missing gst/video/videooverlay.h . 安装工作正常,但是在我开始尝试教程示例项目后,出现了一些编译错误,这些错误是关于gst / video / videooverlay.h丢失的。 Then I looked into the header folder under the installed GStreamer header folder, there is no filed called video/videooverlay.h Then I search online, found this information: Gstreamer for iOS provided is out of date. 然后,我查看了已安装的GStreamer头文件夹下的头文件夹,没有名为video / videooverlay.h的文件。然后我在线搜索,发现以下信息:提供的iOS Gstreamer已过期。 I used the freedesktop packages 我使用了freedesktop软件包

from https://github.com/braincorp/gstreamer_ios_tutorial 来自https://github.com/braincorp/gstreamer_ios_tutorial

Then I downloaded another installation pkg for GStreamer 然后我为GStreamer下载了另一个安装pkg

Then while I was trying to install the later version, the installer give me error saying: you cannot install GStreamer 1.0 (Development Files) in this location. 然后,当我尝试安装更高版本时,安装程​​序给我错误提示:您无法在此位置安装GStreamer 1.0(开发文件)。

Then I thought I might need to uninstall the previous version, but I couldn't finder a standard uninstallation option from the installer, then I searched online, find one post suggest remove the GStreamer folder under ~/Library/Developer 然后我以为我可能需要卸载以前的版本,但是我无法从安装程序中找到标准的卸载选项,然后我在网上搜索,找到了一条建议删除〜/ Library / Developer下的GStreamer文件夹。

I have removed the installed folder, so I don't have any header files, but the new installer still gives the same error 我已经删除了已安装的文件夹,所以没有任何头文件,但是新的安装程序仍然会出现相同的错误

I have been trying to figure this out for sometime, couldn't find useful info on line , I really appreicate any clue and help you might have! 我有一段时间试图解决这个问题,无法在线找到有用的信息,我非常感谢您提供的任何线索和帮助!

Thanks!! 谢谢!! Jing

在这里回答我自己的问题..不确定是什么问题,重新启动我的mac,并以相同的错误运行安装程序几次后,它突然起作用了.......我不确定这里是怎么回事,希望gstreamer团队可以在将来提高安装程序的稳定性。

At work we are currently trying to get the IOS tutorials from the streamer 1.0 sdk to run. 在工作中,我们目前正在尝试从流光1.0 sdk中获取IOS教程来运行。

1) Compilation: 1)编译:
Same thing: we managed to bootstrap (cerbero ... bootstrap) and compile (cerebra ... package streamer-sdk) using the official cerebero git repository. 同样的事情:我们设法使用官方的cerebero git存储库进行引导(cerbero ... bootstrap)和编译(cerebra ... package streamer-sdk)。
But: 但:
a) We had to mock around with the /cerbero/cerbero/enums.py file: a)我们不得不模拟/cerbero/cerbero/enums.py文件:
Add in the collection of supported old IOS (6.0, 6.1, 7.0, etc...) the one corresponding to our Xcode version : IOS 8.4 在支持的旧IOS(6.0、6.1、7.0等)的集合中添加与我们的Xcode版本相对应的一个:IOS 8.4

b) We had to customize the /cerbero/config/ios.config and iOS-universal.config files to get them to use the right architecture in our case: arm7v or arm7 instead of X64_86 or x86 b)我们必须自定义/cerbero/config/ios.config和iOS-universal.config文件,以使其在我们的情况下使用正确的体系结构:arm7v或arm7而不是X64_86或x86

c) We removed the not found is_asm() function from the x264 plugin's recipe file in the /cerbero/recipes. c)我们从/ cerbero / recipes中的x264插件的配方文件中删除了未找到的is_asm()函数。 For a reason we ignore, for all other platforms but IOS, the recipes check on the architecture available using: if self.config.target_arch == Architecture.xxx: of iOS is was using that missing function: is_asm(self.config.target_arch) 由于某种原因,对于IOS以外的所有其他平台,我们忽略了这些菜谱,使用以下方法检查可用的体系结构:if self.config.target_arch == Architecture.xxx:iOS的iOS正在使用该缺少的功能:is_asm(self.config.target_arch )

We replaced it by: if self.config.target_arch == Architecture.ARMv7: 我们将其替换为:if self.config.target_arch == Architecture.ARMv7:

Compiling an iOS app using streamer: So far it is a failure. 使用Streamer编译iOS应用:到目前为止,这是一个失败。 we bumped into the same missing overlay.h header file. 我们碰到了相同的缺少的overlay.h头文件。 We couldn't find it anywhere. 我们在任何地方都找不到。

DIFFERENCE between gstreamer.com (the sdk provider) and the official streamer website (free desktop.gsteamer.org) : gstreamer.com (sdk提供程序)与流媒体官方网站(免费desktop.gsteamer.org)之间的区别

We found out that gstreamer.com is clearly a commercial goal company that is making available the sdk, that people struggle on with for IOS (tested and working fine on linux) and the official website is providing the gstreamer library only without an sdk. 我们发现,gstreamer.com显然是提供sdk的商业目标公司,人们为使用IOS(在Linux上经过测试并可以正常工作)而苦苦挣扎,并且官方网站仅提供了不带sdk的gstreamer库。

So this is what we are trying to use instead as of today. 因此,这就是我们今天要使用的。

Versions infos : 版本信息

sdk (from gstreamer.com): current cerbero git master branch: git clone git://anongit.freedesktop.org/gstreamer-sdk/cerbero sdk(来自gstreamer.com):当前cerbero git master分支:git clone git://anongit.freedesktop.org/gstreamer-sdk/cerbero

official gstreamer library: http://gstreamer.freedesktop.org/data/pkg/ios/1.5.2/ 官方gstreamer库: http : //gstreamer.freedesktop.org/data/pkg/ios/1.5.2/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM