Comments (2)
文件列表展示时,根据是否在屏幕内,文件自动获取缩略图封面(页面懒加载).
首次访问缩略图封面图片,会调用shell 调用ffmpeg命令行进行生成,生成后进行缓存. 该过程是同步的. 普通pc机器,视频缩略图生成我们测试大概1s 30个文件左右;基本是够用的.
页面卡住要么是服务器性能占满,要么是php进程数太少了(加大进程数限制). 如果服务器配置不高,生成缩略图耗时较久,建议关闭封面图插件.
后面版本优化一下,处理为异步,后台队列生成(损失: 没有生成的会不加载,刷新后会显示已生成的部分)
from kodbox.
插件已升级,改为异步处理了,可以升级下看看
from kodbox.
Related Issues (20)
- CSRF_TOKEN error报错 HOT 1
- [kodexplorer] php 8.2.16下php_uname()的bug HOT 1
- 手机上传视频无法播放 HOT 6
- 图片的缩略图生成是否有bug HOT 3
- 请问是否有计划支持Cloudflare R2 HOT 1
- SSRF issue HOT 1
- 可否加入两步验证? HOT 4
- 1.49升1.5 手动升级失败文件消失 自动会弹出nginx HOT 1
- kodbox 关于linux系统中存储使用中文编码不一致问题 HOT 1
- 升级 V1.50.02 后,上传失败 HOT 1
- V1.50.02 收藏夾捷徑失效 HOT 1
- kodbox docker cannot connect mysql HOT 1
- docker 方式在Ubuntu 22.04 中部署,上传文件,大于4M一律失败 HOT 1
- 大佬支持一下.HEIC格式的图片预览。 HOT 1
- PDF文件分片加载 HOT 3
- 插件支持数据库相关操作,自定义接口 HOT 1
- 文件秒传接口需要传checkHashSimple参数 HOT 1
- 能否再挂在存储时增加对 cloudflare R2 的支持? HOT 2
- 插件配置中pluginAuth字段无效 HOT 1
- 使用带端口的url时, 第二条http通讯就会把端口号丢了 HOT 4
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.