Adding directory to queue for a batch slows to a crawl on "Updating Video Info"
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- desktop, performance
调研方向
Start by tracing the queue-add flow that logs “Updating video info” and identify which video metadata work runs for each file; the issue does not name source files or tests. Reproduce with a folder of 100+ videos on Windows 11 and profile the slow step. Done means files are added without the reported 20–40 second pauses and the UI remains responsive.
由索引模型根据 Issue 内容生成。
描述
FastFlix Version:
Latest 6.3.2
Operating System:
Windows 11
Tested on 2 systems, fresh fastflix installs, same thing
Describe the bug
After selecting a directory with a decent amount of files (100+) for a batch encode job, the initial parse in the small window (when choosing a profile) is fast, but then when adding the files to the queue the process quickly drops to an agonisingly slow crawl, always taking a long time, up to 20-40 seconds on the "Updating video info" step in the console window before moving on to the next file.
While it's paused, fastflix CPU usage pegs around 8-9% on a 6C/12T CPU, and the UI window is completely unresponsive. No notable disk IO. Something seems to be very wrong with the "updating video info" process, what on earth could it be doing that it's maxing out a core for nearly a minute for every video?
For comparison, competing tools are much faster. XMedia Recode briefly scans and adds 5-20 (depending on filesize/internal complexity) files a second regardless of queue size, and A's video converter is instant, presumably it only scans upon reaching the file while doing the batch encode. It's hard to fathom what on earth Fastflix is up to that's taking so long.
To Reproduce
Add a large folder of video files for a batch job and watch it slow to a crawl.
Preset does not seem to matter, either my intended one (a custom AV1 via QSVEnc profile with pattern matched audio conversion) or one of the stock profiles.
Logs
Nothing telling in the logs, though you can see from the timestamps the enormous pauses every time it's "Updating video info" (personal info / video names cropped out):
- 主要语言
- Python
- 星标
- 1.6k
- 派生
- 79
- 平均合并
- 1 小时 6 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cdgriffith/FastFlix 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 58/100
cdgriffith/FastFlix#781 ·
-
feature request
难度 4/5 3-5 天 新手友好度 48/100
cdgriffith/FastFlix#770 · 1 个 reaction ·
-
feature request
难度 3/5 1-2 天 新手友好度 50/100
cdgriffith/FastFlix#763 ·
-
feature request
难度 5/5 一周以上 新手友好度 38/100
cdgriffith/FastFlix#760 ·
-
feature request
难度 5/5 一周以上 新手友好度 35/100
cdgriffith/FastFlix#759 ·
查看 cdgriffith/FastFlix 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
huggingface/accelerate#4511 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
pylint-dev/pylint#11791 ·
维护者通常 1 天内回复
-
Rasterio granule reads never retry, so one 503 (Service Unavailable) fails the whole request可能已有人在做 @chuckwondo 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
developmentseed/titiler-cmr#305 ·
维护者通常 1 天内回复
-
community enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复