#8807 翻译字幕阶段出错 [腾讯翻译] tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: [TencentCloudSDKExce

223.73**3 Posted at: 1 day ago

翻译字幕阶段出错 [腾讯翻译] tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: [TencentCloudSDKException] code:FailedOperation.NoFreeAmount message:service free amount of this month has been used up requestId:95295bff-24d8-4d1f-b6db-2164ec8413be
Traceback (most recent call last):

File "videotrans\translator\_base.py", line 68, in run

File "videotrans\translator\_base.py", line 107, in _run_text

File "tenacity\__init__.py", line 338, in wrapped_f

File "tenacity\__init__.py", line 477, in call

File "tenacity\__init__.py", line 378, in iter

File "tenacity\__init__.py", line 421, in exc_check

tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 137, in process_task

File "videotrans\task\_stage_translate.py", line 31, in trans

File "videotrans\translator\_runner.py", line 67, in run

File "videotrans\translator\_base.py", line 74, in run

File "tenacity\__init__.py", line 480, in call

File "videotrans\translator\_tencent.py", line 47, in _item_task

File "tencentcloud\tmt\v20180321\tmt_client.py", line 163, in TextTranslate

File "tencentcloud\common\abstract_client.py", line 433, in call

File "tencentcloud\common\abstract_client.py", line 364, in _check_error

tencentcloud.common.exception.tencent_cloud_sdk_exception.TencentCloudSDKException: [TencentCloudSDKException] code:FailedOperation.NoFreeAmount message:service free amount of this month has been used up requestId:95295bff-24d8-4d1f-b6db-2164ec8413be
[TransCreate]翻译视频: self.is_copy_video=True,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={'video_fps': 24.0, 'r_frame_rate': 24.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 320, 'height': 240, 'time': 905833, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: C:/Users/21472/Desktop/视频/GayForIt - Free Gay Porn Videos - Hypno doctor (1.mp4,
输出结果保存到文件夹: C:/Users/21472/Desktop/视频/_video_out/GayForIt - Free Gay Porn Videos - Hypno doctor (1-mp4,
临时文件夹: D:/pyVideoTrans/tmp/22340/97777f163e
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:腾讯翻译,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕


=
system:Windows-10-10.0.26100-SP0
version:v4.10
frozen:True
language:zh
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 1 day ago

这是因为腾讯翻译的免费额度已耗尽(FailedOperation.NoFreeAmount: service free amount of this month has been used up),与软件本身无关,属于账户配额问题。

解决方案(任选其一):

  1. 更换翻译渠道(推荐):菜单 → 翻译设置 → 配置 DeepSeek 或其他 AI 渠道密钥,然后在主界面 翻译渠道 下拉中改为 DeepSeek。AI 渠道翻译质量优于传统接口,且费用极低。
  2. 换免费渠道:改用 Microsoft(免费)(无需代理,可能限流)或 Google(免费)(国内需在代理框填写代理地址)。
  3. 使用本地模型:选 M2M100(内置) 或 Hy-MT2(内置),完全离线不消耗额度(首次需在线下载模型)。
  4. 继续用腾讯翻译:登录腾讯云控制台充值或等待下月免费额度重置。

另外提醒:你的源文件名 GayForIt - Free Gay Porn Videos - Hypno doctor (1.mp4 含空格、括号等特殊字符,容易在 FFmpeg 处理阶段引发路径解析异常。建议重命名为简短英文数字(如 video1.mp4)后重新处理。

更换渠道后务必勾选 清理已生成 再重试,避免复用上次失败残留的中间文件。

请查阅相关文档:

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