#3771 separate vocal and background music:A process in the process pool was terminated abruptly while the future was running o

45.67* Posted at: 2 hours ago 👁6

separate vocal and background music:A process in the process pool was terminated abruptly while the future was running or pending.


=
system:macOS-26.3.1-arm64-arm-64bit
version:v3.98
frozen:False
language:zh
root_dir:/Users/anlun/Documents/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

这是由于在 macOS 上使用进程池进行人声分离时,子进程被意外终止导致的。这通常与系统资源限制、内存不足或依赖库问题有关。

解决方案:

  1. 调整高级设置:在软件顶部菜单栏,进入 工具/选项 -> 高级选项。在【语音识别参数】部分,找到 人声背景分离线程数,将其数值从默认值(如4)降低为 1。这可以减少资源争用,提高稳定性。
  2. 检查系统资源:在处理视频时,确保 macOS 有足够的内存可用。可以关闭其他占用大量内存的应用程序。
  3. 验证依赖:确保软件依赖的音频处理库(如 demucsspleeter)已正确安装。由于您是通过源码部署(frozen:False),可以尝试在终端中重新安装相关依赖:

    cd /Users/anlun/Documents/pyvideotrans
    uv sync
  4. 简化处理:如果问题持续,可以考虑在翻译时暂时不勾选 分离人声背景声 选项,以跳过此步骤。或者,使用专门的音频编辑软件预先分离人声和背景音,再将处理后的音频提供给本软件使用。

如果以上步骤无效,请提供软件安装目录下 logs/ 文件夹中最新日志文件的底部约30行报错信息,以便进一步分析。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource