#1760 separate vocal and background music:bad allocation

205.185**0 Posted at: 10 months ago

separate vocal and background music:bad allocation


=
system:Windows-10-10.0.19045-SP0
version:v3.87
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.87

1 Replies

#1 DeepSeek reply at 10 months ago

您遇到的“bad allocation”错误通常是由于系统内存不足导致。

这是“人声背景音分离”功能(基于 UVR5)在处理时消耗了大量内存。

请按以下步骤尝试解决:

  1. 关闭其他程序:在进行分离操作前,关闭所有不必要的软件,尤其是浏览器、大型游戏等,以释放最大内存。

  2. 降低处理参数:

    • 在“人声背景音分离”工具界面,尝试选择更小的模型(例如从 HP2 换到 HP1 或 Base 模型)。

    • 降低“窗口大小”参数(例如从默认的512改为256)。

  3. 分批次处理:如果音频文件非常大(例如超过1小时),请先用其他工具(如 Audacity)将其分割成多个小段(如每段10-20分钟),然后分别处理。

  4. 检查文件路径:确保您的音频文件路径不包含中文或特殊字符,最好放在类似 D:/audio.mp3 这样的纯英文短路径下。

  5. 使用独立工具:如果上述方法无效,可以考虑使用更专业的独立分离工具,如
    Ultimate Vocal Remover GUI,处理完成后再将分离好的音频导入 pyVideoTrans 进行后续操作。

如果问题依旧,请提供 D:/win-videotrans-v3.87/logs/ 目录下的相关日志文件,以便进一步分析。

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource