fix: 修复 GPU 视频无声 + GFPGAN 紫色色块 #2010
Reference in New Issue
Block a user
Delete Branch "fix/gpu-video-audio-and-color"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug1:视频完全无声
根因:
_mux_video_with_audio()已实现但从未被调用,Step 8 直接shutil.copy2复制无声视频返回。修复:将
shutil.copy2(str(final_video), str(output_path))替换为_mux_video_with_audio(final_video, audio_path, output_path),使用原始驱动音频封装。Bug2:嘴巴区域紫色/灰色色块
根因:GFPGAN 在 FP16 模式下色偏 + face parsing mask 边缘不精准。
修复:
关联
取消链路断裂修复见 PR #2009。
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2010 已关闭或合并,对应的预览环境已被清理。