#1398 {'reqid': '', 'code': 55000000, 'message': 'json: cannot unmarshal number 14.000000000000012 into Go struct field AudioP

240e:342* Posted at: 3 hours ago 👁11

{'reqid': '', 'code': 55000000, 'message': 'json: cannot unmarshal number 14.000000000000012 into Go struct field AudioParams.req_params.audio_params.speech_rate of type int32'}


=
system:Windows-10-10.0.19045-SP0
version:v3.83
frozen:True
language:zh
root_dir:C:/Users/lrx23/Downloads/win-videotrans-v3.83

1 Replies

这个错误是由于在请求语音合成时,发送的语速参数 speech_rate 包含了浮点数(14.000000000000012),但后端服务器要求该参数必须为整数类型(int32)导致的。

解决方法:

  1. 检查并修改配音角色: 请前往软件顶部的 菜单 -> TTS设置,检查您当前使用的配音渠道(例如:Azure TTS、腾讯TTS等)及其选定的配音角色。某些特定的配音角色可能不支持自定义的语速值。
  2. 更换配音角色: 尝试更换为另一个不同的配音角色,然后重新执行任务。
  3. 联系开发者: 如果更换角色后问题依旧,这可能是特定渠道API的兼容性问题。建议您将完整的错误日志(位于软件根目录下的 videotrans/logs/ 文件夹内)提供给开发者以便进一步排查。
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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions