当前位置:  开发笔记 > 前端 > 正文

MobileVLCKit音频正在运行,视频无法正常工作

如何解决《MobileVLCKit音频正在运行,视频无法正常工作》经验,为你挑选了0个好方法。

我正在使用xcode 7.2也在xcode 6.4(Swift)中使用它同样的问题

我正在使用MobileVLCKit的cocoapod http://cocoadocs.org/docsets/MobileVLCKit/2.2.1/index.html

我在控制台中得到这个:

2015-12-22 18:17:01.296 test11[3626:79386] creating player instance using shared library
[00007ff3d0d850f8] core generic error: option marq-color does not exist
[00007ff3d0d850f8] core generic error: option marq-opacity does not exist
[00007ff3d0d850f8] core generic error: option marq-position does not exist
[00007ff3d0d850f8] core generic error: option marq-refresh does not exist
[00007ff3d0d850f8] core generic error: option marq-size does not exist
[00007ff3d0d850f8] core generic error: option marq-timeout does not exist
[00007ff3d0d850f8] core generic error: option marq-x does not exist
[00007ff3d0d850f8] core generic error: option marq-y does not exist
[00007ff3d10b0cb8] core video output error: video output creation failed
[00007ff3d1058cb8] core decoder error: failed to create video output
[00007ff3d0cbd0a8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 1000 ms)
[00007ff3d0cbd0a8] core input error: ES_OUT_RESET_PCR called
[00007ff3d0cbd0a8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 2693 ms)

我的代码是:

    let a = VLCMedia(URL: NSURL(string: "http://lilanisoft.com/live/images/Ziyarat_Aashura_by_Samavati_Arabic_sub_English.mp4"))
    let v = VLCMediaPlayer()
    v.drawable = self.view
    v.setDelegate(self)
    v.setMedia(a)
    v.play()

如果我有任何错误,请告诉我.

更多视频网址(如果您正在考虑视频格式问题)是:

rtmp://5.79.86.21/live//ih http://makkah1live.itworkscdn.net/makkah2live/sunnatv_360p/playlist.m3u8 http://lilanisoft.com/live/images/Ziyarat-e-Arbaeen.mp4

推荐阅读
kikokikolove
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有