Repository navigation
改进 FFprobe 预检诊断与引擎健康详情 - #54
Merged
Merged
Conversation
Zhong-fan
marked this pull request as ready for review
September 28, 2026 06:09
Preserve projection metadata and bounded FFprobe capture. Log initial analysis and planning failures without masking their original cause.
Retain both FFprobe diagnostic suffix handling and reshoot translations. Add seven regression cases for source/reshoot localization with diagnostic suffixes.
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.
问题
FFprobe 因缺少运行时 DLL 而启动失败时,视频预检可能误报“视频无效”。预检发生在项目创建前,缺少可追查的诊断日志;顶部状态只显示异常数量,难以判断具体哪个引擎无法运行。
修改
0xC0000135识别为引擎启动故障;其他非零退出保留 stderr、退出码和可执行文件路径,不直接判定视频损坏。ffprobe-probe-latest.log,项目尚未创建也能诊断;日志写入失败时保留原始错误。验证
基于 main
c72207e完成冲突解决后,在 Windows x64 上验证:npm run build、npm run verify:licenses、npm run verify:colmap-lock通过。cargo check和全目标cargo clippy -- -D warnings通过;Rust 格式检查通过。0xC0000135分类、预项目日志、日志写入失败保留原始错误,以及真实 FFprobe 对正常视频、损坏输入和纯音频文件的处理。真实进程验证使用本地 FFproben8.1.2-50-g1a748fe2cd-20260831;不代表 main 当前锁定引擎组合已重新验证。本次未运行完整应用的 MSVC Rust 测试、桌面壳、安装包或完整生成流水线。前端构建保留现有 PlayCanvas worker externalization 和大包提示;GNU 后端构建脚本保留现有 MinGW linker 提示。
维护者修复补充(2026-10-25)
已完成同步最新 main
c00a09d8的修复与验证,代码保存在维护者仓库分支:7b343c84此提交尚未进入本 PR 的源分支。 当前 GitHub 连接无法写入作者的 fork;以上分支经仓库所有者授权建立,供作者合入。提交以本 PR 原 head
5670a523和 mainc00a09d8为父提交,保留双方历史。修复内容
analyze_input和生成规划的预检失败时记录诊断,保留 source identity 校验与缓存复用。本次验证
npm test:65 个前端测试文件、536 项测试通过;诊断服务 6 项测试通过。npm run build、verify:licenses、verify:colmap-lock通过。process::resources::tests::first_cpu_sample_and_missing_pid_are_unknown在当前环境因无法取得进程内存值而失败,已单列排除;没有将完整 Rust 测试报告为全部通过。Windows 专用 DLL 测试及完整 Tauri 桌面流程未在当前 Linux 环境运行。作者可在 PR 分支中合入: