Comments (2)
文件列表展示时,根据是否在屏幕内,文件自动获取缩略图封面(页面懒加载).
首次访问缩略图封面图片,会调用shell 调用ffmpeg命令行进行生成,生成后进行缓存. 该过程是同步的. 普通pc机器,视频缩略图生成我们测试大概1s 30个文件左右;基本是够用的.
页面卡住要么是服务器性能占满,要么是php进程数太少了(加大进程数限制). 如果服务器配置不高,生成缩略图耗时较久,建议关闭封面图插件.
后面版本优化一下,处理为异步,后台队列生成(损失: 没有生成的会不加载,刷新后会显示已生成的部分)
from kodbox.
插件已升级,改为异步处理了,可以升级下看看
from kodbox.
Related Issues (20)
- 苹果手机生成缩略图和封面有一个非常影响性能的BUG HOT 2
- 在线压缩文件BUG HOT 5
- 右下角分页显示问题 HOT 1
- 删除文件问题 HOT 1
- 移动端显示问题 HOT 1
- ffmpeg生成封面的性能问题 HOT 3
- 上传和下载大文件出错 HOT 2
- 压缩包无法在线打开 HOT 5
- kodbox和minio存储的上传bug HOT 3
- 怎么不更新了啊,是工作遇到困难了吗? HOT 1
- 没有生成HEIC格式图片的略缩图 HOT 2
- How to disable the desktop environment?
- Strategies for Maintaining Directory Structure and Synchronizing with Kodbox without Direct Interaction HOT 1
- 1.47(02) 版本 Drawio 流程图无法打开 HOT 4
- webdav挂载存储后,通过可道云拉取文件速度过慢的问题 HOT 1
- HEIC格式图片预览 HOT 4
- 支持自动站内通知和邮件通知 HOT 1
- kodbox API中对标签的支持 HOT 1
- kodbox API中单点登录 HOT 1
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 kodbox.