#8888 encoding a frame: Result too large

223.78**1 Posted at: 19 hours ago

encoding a frame: Result too large


=
system:Windows-10-10.0.26200-SP0
version:v4.19
frozen:True
language:zh_CN
root_dir:D:/游戏

1 Replies

#1 DeepSeek reply at 19 hours ago

该报错大概率出现在「Edge-TTS 配音」阶段:Edge-TTS 通过 websocket 发送文本,当某一行的字幕文本过长(或因语音识别产生大量重复字符),编码 websocket 帧时就会抛出 Result too large。

处理步骤:

  1. 定位过长的那条字幕:若是单视频,等弹出配音校对面板时,找到文本特别长的一行;若批量模式,先看日志(软件目录/logs/ 最新日志)确认报错发生在哪个阶段(配音 or 合成)。
  2. 缩短单条字幕长度:

    • 菜单 → 工具/选项 → 高级选项 → 语音识别参数:把 最长语音持续(秒) 调小(如 3~5)。
    • 高级选项 → 字幕声音画面对齐:中日韩字幕单行字符数 调小(如 15~20)、其他语言字幕单行字符数 调小(如 30~40)。
  3. 若某行文本含大量重复词(如 "no no no no..."),直接编辑该条字幕删除重复内容后重新配音。
  4. 重试时勾选 清理已生成,避免复用异常缓存。
  5. 另建议把软件放在纯英文浅层目录(当前为 D:/游戏,中文路径虽一般可用,但不利于排除干扰)。

如果缩短字幕后仍报同样错误,说明问题不在文本长度,请提供 软件目录/logs/ 下最新日志文件底部约 30 行(含完整堆栈)以及报错时所在的处理阶段。

请查阅相关文档:

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