Conversation
- 修复 FFmpeg 安装逻辑:移除对蓝奏云页面解析的依赖,改为优先使用 Gyan.dev 官方构建与 GitHub 备用下载源。 - 新增目录规范化逻辑,并在安装完成后确保 `ffmpeg.exe` 等二进制放置到项目根目录下的 `ffmpeg` 目录中,便于后续检测。 - 优化进度回调与错误信息,方便在 UI 中反馈安装过程状态。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 标题(Title)
请提供这个Pull Request中提议的更改的简洁描述:
app/scripts/ffmpeg_install.py:使用稳定下载源重写 FFmpeg 安装流程并增强可用性。🔍 描述(Description)
请描述这个PR做了什么/为什么这些更改是必要的:
ffmpeg-release-essentials.zip;httpx.AsyncClient,支持重定向和超时控制,避免长时间卡死。ffmpeg目录(例如将ffmpeg-8.0.1-essentials_build结构整理到./ffmpeg,并确保ffmpeg.exe等二进制存在于该目录中);ffmpeg目录中的可执行文件,而不是依赖系统 PATH 中不确定的版本;ffmpeg版本进行检测和日志记录,便于用户确认已安装版本(如ffmpeg 8.0.1-essentials_build-www.gyan.dev)。📝 类型(Type of Change)
这个PR引入了哪种类型的更改?(请勾选所有适用的选项)
🏗️ 测试(Testing)
请描述您已经进行的测试:
ffmpeg目录以模拟“未安装”场景;ffmpeg version 8.0.1-essentials_build-www.gyan.dev ...)。./ffmpeg/ffmpeg.exe、./ffmpeg/ffplay.exe、./ffmpeg/ffprobe.exe等;如果适用,请提供测试更改的说明:
ffmpeg文件夹;logs/streamget.log中的 FFmpeg 安装与版本信息;📋 检查清单(Checklist)
在您创建这个PR之前,请确保以下所有框都被勾选,方法是在每个框中放置一个
x:注意: 这个PR在所有复选框被勾选之前不会被合并。
感谢您的贡献!