#2917 piper-tts试听闪退

31.223* Posted at: 15 hours ago 👁10


Application started at 2026-01-26 23:03:08

[DEBUG] 返回缓存的编解码器 Windows-264: h264_nvenc
[DEBUG] 返回缓存的编解码器 Windows-265: hevc_nvenc
First searching GPU...
Found 1 GPUs, cost=2s
start workers...
NVIDIA_GPU_NUMS=1
process_max_gpu=0
multi_gpus=False
Concurrent task_nums=1
process_max=0
start 8 jobs
ended workers
config.stoped_uuid_set=set()
{'queue_tts': [{'text': 'Hello, my dear friend. I hope your every day is beautiful and enjoyable!', 'rate': '+0%', 'role': 'en_US-danny-low', 'filename': 'C:\Users\ASUS\AppData\Local\Temp/pyvideotrans/1769440207.906116.wav', 'tts_type': 1, 'language': 'en', 'volume': '+0%', 'pitch': '+0Hz'}], 'language': 'en', 'uuid': None, 'play': True, 'is_test': True, 'tts_type': 1}

1 Replies

这是由于 piper-tts 在试听时可能因音频文件生成或播放问题导致闪退。

解决方案

  1. 检查 Piper-TTS 服务状态:确保 Piper-TTS 的本地 API 服务已正确启动且运行正常。在命令行中确认服务进程是否在运行。
  2. 验证 API 地址:在 pyVideoTrans 的“TTS设置”中,检查 Piper-TTS 的 API 地址(通常是 http://127.0.0.1:5000)是否配置正确。
  3. 检查音频输出路径:日志显示音频文件尝试生成在 C:\Users\ASUS\AppData\Local\Temp/pyvideotrans/。确保此临时目录存在且软件有写入权限。路径中的正斜杠 / 在 Windows 下可能导致问题,但软件通常会处理。
  4. 查看详细日志:打开软件根目录下的 logs 文件夹,找到对应日期(2026-01-26)的日志文件,查看闪退前更详细的错误信息。
  5. 降低并发:在“高级选项” -> “通用设置”中,将“最大进程数”暂时设置为 2,然后重启软件再试。

如果以上步骤无法解决,请提供 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