Comments (5)
首帧非常满是因为avplayer得拿到metadata后才能播放,也就是刚刚开始那个range(0, 2)但是如果metadata这部分信息不在视频流头部,avplayer会假设在尾部请求尾部,如果都不在会一直request取metadata。最好的办法是该url的视频用特殊的视频编码器把metadata放在最头部,播放会最快
from vimediacache.
我也遇到, 想知道怎么处理了?
from vimediacache.
打不开的错误,可以断点看看 downloader 里面 dataTask 都报啥错了。
首帧很慢的问题,用这个 commit 21926ff 试试,看还有没有问题。
最好是视频 url 能发一下,好排查问题
from vimediacache.
首帧非常满是因为avplayer得拿到metadata后才能播放,也就是刚刚开始那个range(0, 2)但是如果metadata这部分信息不在视频流头部,avplayer会假设在尾部请求尾部,如果都不在会一直request取metadata。最好的办法是该url的视频用特殊的视频编码器把metadata放在最头部,播放会最快
这个视频编码器的处理, 需要使用哪个? 在服务端做吗?求指教, 谢谢🙏
from vimediacache.
-11829
的问题我也遇到了, 很频繁, 下载到本地后使用file://
协议播放没问题
from vimediacache.
Related Issues (20)
- iOS 13.3 缓存完之后重新播放crash的问题
- iOS 13.3 downloader porcessActions递归调用到Stack内存crash HOT 1
- 概率性地播放一个视频url播到2秒的时候声音与画面都卡住了,但是进度条一直在走。 HOT 5
- 播放音频wav seek后 之前未下载部分不会下载了
- 开http 服务器的代价
- 能否实现播放当前视频,提前缓存下一个视频? HOT 1
- 求指教
- Player.currentItem.error Error Domain=AVFoundationErrorDomain Code=-11800 "这项操作无法完成" UserInfo={NSLocalizedFailureReason=发生未知错误(-17377), NSLocalizedDescription=这项操作无法完成, NSUnderlyingError=0x2805904b0 {Error Domain=NSOSStatusErrorDomain Code=-17377 "(null)"}} HOT 1
- 没有声音 HOT 1
- 视频文件过大时, 二次进入读缓存会一直递归调用processActions到崩溃 HOT 2
- -[VIActionWorker processActions] ----- crash----15.6.x
- -[VIResourceLoader removeRequest:]---crash----iOS15.6.x
- NSURLConnection finished with error - code -1002 HOT 3
- 使用后,经常出现播放失败 AVPlayerItem.error = Error Domain=AVFoundationErrorDomain Code=-11829 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media may be damaged., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x2821d8270 {Error Domain=NSOSStatusErrorDomain Code=-12848 "(null) HOT 3
- 使用后,如果App active状态,可以缓存视频;重启后,又开始重新下载视频,缓存失效
- Xcode15编译的项目,在iOS17无法播放音频 HOT 2
- 崩溃[VIMediaDownloader actionWorker:didFinishWithError:]有大佬遇到解决了吗 HOT 1
- ios17无法播放视频,一直转圈,无法下载并播放 HOT 7
- VIMediaCacheWorker cachedDataActionsForRange
- 特别容易出现文件损坏无法播放 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimediacache.