Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0.0版本问题 #205

Open
jun-hui opened this issue Sep 10, 2019 · 7 comments
Open

5.0.0版本问题 #205

jun-hui opened this issue Sep 10, 2019 · 7 comments

Comments

@jun-hui
Copy link

jun-hui commented Sep 10, 2019

请问,5.0.0版本的不支持播放flv格式的本地视频吗?5.0.1版本pod不下来,Git上下载也是下载到中途就失败,昨天今天试了很多次都没下载下来

@zhengwenming
Copy link
Owner

WMPlayer有两个组件,1是WMPlayer,2是WNPlayer(万能播放器组件),两者解耦,互补干扰,互不侵染。

1WMPlayer组件支持pod,封装的AVPlayer
2WNPlayer组件不支持pod,封装的ffmpeg的最新版本。

@jun-hui
Copy link
Author

jun-hui commented Sep 10, 2019

刚刚pod下来了,使用的 pod 'WMPlayer', :git => 'https://github.com/zhengwenming/WMPlayer.git' 方法,但是pod成功之后还是5.0.0版本的,唉,我还是手动下载吧。是 WNPlayer 才支持flv格式吗?

@jun-hui
Copy link
Author

jun-hui commented Sep 10, 2019

另外,下载的demo编译报错
ld: library not found for -lavfilter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是缺少啥文件吗?

@zhengwenming
Copy link
Owner

zhengwenming commented Sep 10, 2019

看reamMe,有提供ffmpeg的编译文件,直接下载放到项目中,另外还要设置search path,具体还是看readme。
最后强调一遍,看readMe

只有WNPlayer 才支持flv格式,看自己项目播放视频的格式选择组件。

@jun-hui
Copy link
Author

jun-hui commented Sep 10, 2019

你好,我看了,照着设置了,FFmpeg放进去之后又报的错
ld: library not found for -lFFmpeg
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@zhengwenming
Copy link
Owner

看看能不能找到lFFmpeg.a,如果有就把lFFmpeg.a删掉

@jun-hui
Copy link
Author

jun-hui commented Sep 10, 2019

用WNPlayer播放本地缓存视频的时候,flv格式的是可以播放了,但是mov格式的就内存暴增,导致崩溃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants