简体   繁体   English

使用XCode从macOsX上的git.videolan.org存储库构建MobileVLCKit

[英]Building MobileVLCKit from git.videolan.org repository on macOsX with XCode

I would like to make an application for iOS(iPhone and iPad) that can play streaming videos through RTSP protocol (that includes mms). 我想为iOS(iPhone和iPad)制作一个可以通过RTSP协议(包括mms)播放流视频的应用程序。 I imagined to achive a specified application using VLC player or libVLC library. 我想使用VLC播放器或libVLC库实现指定的应用程序。

On the official vlc git repository (http://git.videolan.org/?p=vlc.git;a=tree) in projects/macosx/framework/ folder there is xcode project MobileVLCKit.xcodeproj for which I assume that is a somewhat usable VLC framework for iOS. 项目/ macosx / framework /文件夹中的官方vlc git存储库(http://git.videolan.org/?p=vlc.git;a=tree)上,有一个xcode项目MobileVLCKit.xcodeproj ,我认为这是一个适用于iOS的有点可用的VLC框架。

Now the problem is that I can't/don't know how to build this project. 现在的问题是我无法/不知道如何构建该项目。 When I try to build MobileVLCKit.xcodeproj I get an error that says it can't find files inside extras/contrib/hosts/i686-apple-darwin10/ios/ folder. 当我尝试构建MobileVLCKit.xcodeproj时,出现一个错误,提示它无法在extras / contrib / hosts / i686-apple-darwin10 / ios /文件夹中找到文件。

I have looked within that folder (extras/contrib) and managed to create folder (with files) extras/contrib/hosts/i686-apple-darwin10/ with make, but there is no ios folder. 我查看了该文件夹(extras / contrib),并设法使用make创建了extras / contrib / hosts / i686-apple-darwin10 /文件夹(带有文件),但是没有ios文件夹。

So, does anybody knows how to successfully build MobileVLCKit? 那么,有人知道如何成功构建MobileVLCKit吗?

$ git clone git://git.videolan.org/MobileVLC.git
$ cd MobileVLC
$ ./buildMobileVLC.sh

See: http://wiki.videolan.org/MobileVLC 请参阅: http//wiki.videolan.org/MobileVLC

Note, using any portion of VLC in your app, makes your app open source and GPL. 请注意,在您的应用中使用VLC的任何部分,都会使您的应用成为开源和GPL。

Don't use git to get the most recently source code。 Since vlc is not available for iOS。 but you can get mobilevlc 1.1.0, from videolan.com 不要使用git获取最新的源代码。由于vlc不适用于iOS。但是您可以从videolan.com获取mobilevlc 1.1.0。

http://www.videolan.org/vlc/download-ios.html http://www.videolan.org/vlc/download-ios.html

and you 'd better install Xcode 3.2.5 and iOS SDK 4.2 你最好安装Xcode 3.2.5和iOS SDK 4.2

i am fighting to build this ios version. 我正在努力建立这个ios版本。

if you git clone the today the version, ,you'ld find a more complete with ios support into the extra folder : extra/contrib/src/Distributions/ios.mak and extra/package/ios/build_for_iOS.sh 如果你git克隆今天的版本,你会发现更完整的ios支持到额外的文件夹:extra / contrib / src / Distributions / ios.mak和extra / package / ios / build_for_iOS.sh

extra/contrib/bootstrap is now "ios" compliant ! extra / contrib / bootstrap现在符合“ ios”标准!

be aware this version need ios4.2 (see build_for_iOS.sh) 请注意,此版本需要ios4.2(请参阅build_for_iOS.sh)

i have problems with ffmpeg but it's another story 我有ffmpeg的问题,但这是另一个故事

vlc build for ios need a "howto" !!! ios的vlc构建需要一个“ howto”!

the entry point is "build_for_iOS.sh" build_for_iOS.sh calls bootstrap 入口点是“ build_for_iOS.sh” build_for_iOS.sh调用引导程序

when this is done correctly (good luck), MobileVLCKit will find the files it needs (i hope) 如果正确完成此操作(祝您好运),MobileVLCKit将找到所需的文件(我希望)

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

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