Tag: vlc

编译iOS中VLC项目的错误

我正在尝试按照指令逐步编译iOS的VLC项目。 git clone git://git.videolan.org/vlc-ports/ios.git sh buildAspenProject.sh -s -k 7.0 我得到这个编译错误: cd builds/unix; /bin/sh ./configure '–without-png' '–prefix=/Users/change/Desktop/VLC_Library/ios/ImportedSources/vlc/contrib/i686-apple-darwin11-i386' '–build=i686-apple-darwin10' '–host=i686-apple-darwin11' '–target=i686-apple-darwin11' '–program-prefix=' '–enable-static' '–disable-shared' '–disable-dependency-tracking' '–with-pic' configure: WARNING: unrecognized options: –disable-dependency-tracking checking build system type… i686-apple-darwin10 checking host system type… i686-apple-darwin11 checking for i686-apple-darwin11-gcc… xcrun clang checking whether the C compiler works… yes checking for C compiler […]

在mobilevlckit中播放/转发2 x 3x 4x速度的video不起作用

在我的项目中,我编码像下面这样的trickplay,但代码没有工作。如何解决这个问题。 如果你们有任何想法,帮助我。 func didTrickPlayValueChanged(_ atRate: Float!){ if( atRate == 1.0){ vlcMediaPlayer.fastForward(atRate: 1.00) } else if(atRate == 2.0){ vlcMediaPlayer.fastForward(atRate: 2.00) } else if(atRate == -2.0){ vlcMediaPlayer.fastForward(atRate: -2.00) } else if(atRate == -1.0){ vlcMediaPlayer.fastForward(atRate: -1.00) }else{ vlcMediaPlayer.fastForward(atRate: 1.00) } }

如何让iOS中的VLC播放音乐文件的URL?

我有我想通过我的网站提供给iPhone和iPad用户的MP3和其他文件格式。 VLC的iOS应用程序似乎符合法案,但他们说 Additionally, third party websites and apps may include links to open streams directly in VLC for iOS. 这里是提供的官方文档 我怎样才能做到这一点? 我似乎无法find任何有关它的文件。 我正在考虑做一个自定义的应用程序来完成它,但这似乎是愚蠢的。

MobileVLCKit iOS相机胶卷video“VLC无法打开MRL”错误

我已经在我的iOS项目中集成了MobileVLCKit版本:2.2.2。 无法从相机胶卷播放本地video。 文档目录和stream媒体的video虽然工作正常。 我正在使用此代码来提取PHAsset对象的url: – (void)urlForPhAsset:(PHAsset*)phAsset withCompletionBlock:(void (^)(NSURL* url))completionBlock{ [[PHImageManager defaultManager] requestAVAssetForVideo:phAsset options:nil resultHandler:^(AVAsset * _Nullable asset, AVAudioMix * _Nullable audioMix, NSDictionary * _Nullable info) { NSURL* url= nil; if([asset isKindOfClass:[AVURLAsset class]]){ url= [(AVURLAsset *)asset URL]; }else if([asset isKindOfClass:[AVComposition class]]){ AVCompositionTrack* compositionTrack= [[(AVComposition*)asset tracks] firstObject]; AVCompositionTrackSegment* segment= [[compositionTrack segments] firstObject]; url= [segment sourceURL]; } completionBlock(url); […]

MobileVLCKit在编译时失败

我正在尝试在我的应用程序中使用iOS的MobileVLCKit。 我遵循了为iOS构build框架的步骤。 我在Xcode 5中设置了部署到iOS 7的目标。 我用命令./buildMobileVLCKit.sh -f -l来编译shell文件来获得一个iOS框架。 我的terminal应用程序出现以下错误。 The following build commands failed: Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7 Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/libMobileVLCKit.a normal armv7s CreateUniversalBinary build/Release-iphoneos/libMobileVLCKit.a normal armv7\ armv7s 我尝试了谷歌的所有方式,但没有奏效。 试了一整天后,我提出了这个问题。 如果你以前使用过这个,请帮忙。

如何禁用VLCMediaPlayer错误AlertView?

我正在使用MobileVLCKit库中的VLCMediaPlayer类来创buildaudiostream应用程序。 我的问题是,当错误发生(如不正确的streamurl),它会自动提醒自己的错误信息。 在我的情况下,我想禁用该警报消息,并显示我自己的。