#7577 关闭保存不了怎么回事

112.49**5 Posted at: 20 days ago

关闭保存不了怎么回事

9 Replies

#1 DeepSeek reply at 20 days ago

暂无法确定具体原因。请提供以下信息以便判断:

  1. 软件版本号(软件左上角显示,例如 v4.13)
  2. 操作环境:Windows 预打包版(sp.exe)还是源码部署(sp.py)
  3. 具体场景:在哪个窗口点击"关闭/保存"无反应?(例如高级选项、渠道设置窗口、字幕编辑窗口等)
  4. 有无报错弹窗或日志

同时请检查软件安装目录下 logs/ 文件夹中最新日志文件,复制底部约30行报错信息。

常见原因提示:若为设置窗口保存无效,可能是 videotrans/cfg.json 或 params.json 文件损坏(权限或格式问题),可尝试删除 videotrans/ 下的 cfg.json、params.json、codec.json、ass.json 四个文件后重启软件(会恢复出厂设置,需重新填写API密钥)。

请查阅相关文档:

#2 112.49**5 reply at 20 days ago

处理视频时候,自动跳出弹窗时的那个

#3 DeepSeek reply at 20 days ago

这是因为你关闭了单视频交互模式弹窗的暂停倒计时,或倒计时已被耗尽导致窗口无法正常保存。

该弹窗是「单视频交互模式」的编辑窗口,仅在一次只选择一个视频时才会弹出(阶段一识别字幕、阶段二配音分配、阶段三校对配音、阶段四二次识别)。若不处理,它会有倒计时自动关闭并继续。

解决方案:

  1. 关闭倒计时:在弹出的编辑窗口中,先点击右上角的倒计时按钮,关闭自动倒计时。否则倒计时归零后窗口会自动关闭,你此时再点"保存"无效。
  2. 确认按钮操作:

    • 确认无误后点 「保存并继续下一步」(保存修改并继续执行)
    • 放弃修改点 「不保存只继续」(跳过编辑,使用原始结果)
    • 放弃任务点 「终止本次任务」
  3. 如不需要弹窗:点击 菜单 → 工具/选项 → 高级选项 → 通用 ,将 单视频交互翻译暂停倒计时 设为 0,即可跳过编辑窗口,不再弹出。
  4. 若确实点击无响应:请提供软件版本号、操作系统、预打包版还是源码部署,以及 logs/ 文件夹中最新日志底部约30行,以便进一步分析。

请查阅相关文档:

#4 112.49**5 reply at 20 days ago

[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[DEBUG] 原始行数:3083,翻译后行数:3083
[DEBUG] 原始语言字幕和目标语言字幕行数一致,均为 source_len=3083

[DEBUG] line_roles={}
[DEBUG] self.volume='+100%', self.rate='-2%', self.pitch='-2Hz'
[DEBUG] 当前使用配音渠道:Edge-TTS(免费)
[DEBUG] 本次EdgeTTS配音:重试延迟:5,出错将重试:4,并发:10, 代理:None
[DEBUG] 本次配音 47 个成功, 3036 个失败
[DEBUG] 配音结束后,移除原始字幕中所有标点

#5 DeepSeek reply at 20 days ago

核心原因是:微软翻译接口当前返回为空(日志中 [Microsoft]返回:response= 内容为空),且 Edge-TTS 配音并发数被设为 10,导致 3036 条配音失败(仅 47 条成功)。

这属于两个独立问题叠加:

问题一:微软翻译返回空
微软已更改免费翻译接口(报错 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth),你的翻译结果全部为空。请改用其他翻译渠道:

  1. 推荐改用 DeepSeek:到 https://platform.deepseek.com/ 注册充值(可自定义充 1 元),获取 API Key,填写到 菜单 → 翻译设置 → DeepSeek,翻译渠道选 Deepseek。
  2. 或改用 M2M100(内置) 本地翻译(首次使用需在线下载模型)。
  3. Google 翻译国内需代理,选择 Google 翻译且失败时会自动回退微软重试(目前微软已不可用)。

问题二:Edge-TTS 并发过高被封
并发数 10 触发微软限流,导致大量失败。请按以下调整:

  1. 菜单 → 工具/选项 → 高级选项 → 字幕配音调整
  2. 将 EdgeTTS配音渠道配音并发数 改为 1
  3. 将 配音后暂停秒 设为 5~10 秒
  4. 如果使用了代理,可在软件根目录新建空文件 edgetts-noproxy.txt 强制 EdgeTTS 绕过代理
  5. 重试时务必勾选主界面 清理已生成,避免使用上次失败的空字幕

另:你的字幕共有 3083 行,行数偏多,建议同时进入 高级选项 → 语音识别参数 调整 VAD 参数(延长最长语音持续、增大最短语音持续),减少字幕碎片化,也能显著降低配音失败率。

请查阅相关文档:

#6 112.49**5 reply at 20 days ago

二次语音识别不能自动关闭

#7 DeepSeek reply at 20 days ago

这是因为你未满足二次识别自动跳过的条件。二次识别仅在以下情况才会执行并弹出编辑界面:已选中配音角色(非 No)未嵌入双字幕(即字幕类型不是 硬字幕(双语) / 软字幕(双语))若你选的是双语字幕类型,二次识别应被禁用;若你确实需要跳过二次识别的编辑弹窗,可通过以下方式:方案一:关闭弹窗倒计时(仅跳过编辑,仍执行二次识别)在弹出的编辑窗口中点击右上角倒计时按钮关闭倒计时,再点「保存并继续下一步」或「不保存只继续」,窗口即不再停留。方案二:彻底不弹出该窗口将 菜单 → 工具/选项 → 高级选项 → 通用 → 单视频交互翻译暂停倒计时 设为 0,即可跳过所有交互编辑窗口(包括二次识别后的窗口)。方案三:不需要二次识别时不勾选主界面取消勾选 二次识别(SecondarySTT),则不会执行该阶段,也就不会弹出对应窗口。请查阅相关文档:单视频模式高级选项

#8 112.49**5 reply at 20 days ago


Application started at 2026-09-23 15:57:11

1790150231:Loading resources...
1790150231:Loading main window...
1790150231:Initializing UI...
1790150231:SetupUI end...
1790150231:import recognition ...
1790150231:import tts ...
1790150231:import translate ...
1790150231:Get cache ...
1790150231:Set default value ...
1790150231:import voices list ...
1790150231:Set tts voice ...
[DEBUG] Version: v4.09, Frozen锛歍rue, OS: win32
涓婃缂撳瓨鐨勮鑹?No,瀛楀箷宓屽叆绫诲瀷:2,鍙戦煶璇█:en,鐩爣璇█:zh-cn锛岀洰鏍囪瑷€浠g爜:None,妯″瀷:large-v3-turbo,TTS娓犻亾[0]
1790150231:show main window ...
1790150231:Bind signal...
1790150231:set cursor...
1790150231:preload TTS win...
1790150231:preload STT win...
1790150231:preload translate srt win...
1790150231:end
[DEBUG] 骞冲彴: Windows銆傛鍦ㄦ寜浼樺厛绾ф娴嬫渶浣崇殑 'h264' 缂栫爜鍣? ['nvenc', 'qsv', 'amf']
[DEBUG] 姝e湪娴嬭瘯缂栫爜鍣ㄦ槸鍚﹀彲鐢? h264_nvenc...
[DEBUG] 鍙敤 Nvidia 鏄惧崱鏁? 1
[DEBUG] 鎵惧埌 1 涓?Nvidia GPUs, 鑰楁椂: 1s

......
垂)
[DEBUG] self.volume='+100%', self.rate='-2%', self.pitch='+0Hz'
[DEBUG] 褰撳墠浣跨敤閰嶉煶娓犻亾锛欵dge-TTS(鍏嶈垂)
[DEBUG] self.volume='+100%', self.rate='-2%', self.pitch='+0Hz'
[DEBUG] 褰撳墠浣跨敤閰嶉煶娓犻亾锛欵dge-TTS(鍏嶈垂)
[DEBUG] [TransCreate]缈昏瘧瑙嗛: self.is_copy_video=False,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={}
[TaskCfgVTT]褰撳墠宸ヤ綔妯″紡: 缈昏瘧瑙嗛 鍗曡棰戞ā寮?
鍘熷杈撳叆鏂囦欢鍚? E:/绱犳潗/9鏈?2鏃?(7)_2026-09-22_20-13-18.mp4,
杈撳嚭缁撴灉淇濆瓨鍒版枃浠跺す: E:/浣滆€?9鏈?2鏃?(7)_2026-09-22_20-13-18-mp4,
涓存椂鏂囦欢澶? D:/YII/tmp/26380/1287cd5f18
宸查€?娓呯悊宸插瓨鍦?
宸插惎鐢–UDA鍔犻€?
鏈€?闄嶅櫔
璇煶璇嗗埆:openai-whisper(鍐呯疆), large-v3, 鍙戦煶璇█: 绠€浣撲腑鏂? 鏂彞鏂瑰紡:榛樿鏂彞
缈昏瘧娓犻亾:Google(鍏嶈垂),鍘熷璇█:绠€浣撲腑鏂?鐩爣璇█:鑻辫, 宸查€?鍙戦€佸畬鏁村瓧骞?
閰嶉煶娓犻亾:Edge-TTS(鍏嶈垂), 瑙掕壊:Guy(Male/US), 閰嶉煶璇█:鑻辫, 宸查€?浜屾璇煶璇嗗埆
闊抽噺:+100%, 璇€?-2%, 鏈€?闊抽鍔犻€? 宸查€?瑙嗛鎱㈤€?
瀛楀箷: 涓嶅祵鍏ュ瓧骞?
[DEBUG] The file info after process:result={'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'hevc', 'audio_codec_name': 'aac', 'width': 1920, 'height': 1080, 'time': 3153266, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[DEBUG] 杩斿洖缂撳瓨鐨勭紪瑙g爜鍣?Windows-264: h264_nvenc
[DEBUG] 鍘熷hw_type='h264_nvenc'
[DEBUG] 鏁寸悊鍚巋w_type='nvenc'
[DEBUG] [灏濊瘯纭欢缂栬В鐮佹墽琛屽懡浠
-y -fflags +genpts -i E:/绱犳潗/9鏈?2鏃?(7)_2026-09-22_20-13-18.mp4 -an -c:v h264_nvenc novoice.mp4

[DEBUG] [鏂拌繘绋嬩换鍔?寮€濮?title='Model: large-v3']
[DEBUG] 鏂拌繘绋嬩换鍔?鍙傛暟:kwargs={'prompt': '', 'detect_language': 'zh-cn', 'model_name': 'large-v3', 'logs_file': 'D:/YII/tmp/26380/1287cd5f18/openai-zh-cn-1790150444.5563467.log', 'is_cuda': True, 'no_speech_threshold': 0.6, 'condition_on_previous_text': False, 'speech_timestamps': None, 'audio_file': 'D:/YII/tmp/26380/1287cd5f18/zh-cn.wav', 'jianfan': True, 'audio_duration': 3153316, 'temperature': '', 'compression_ratio_threshold': 2.4, 'max_speech_ms': 5000, 'device_index': 0}
[DEBUG] GPU杩涚▼姹?max_workers=1
[DEBUG] [鏂拌繘绋嬩换鍔?title='Model: large-v3'] 宸茶繑鍥?
[ERROR] Model: large-v3,

#9 DeepSeek reply at 20 days ago

核心原因:模型加载或语音识别阶段发生崩溃。日志最后停在 [ERROR] Model: large-v3,,此时正在加载 openai-whisper 的 large-v3 模型,且你已启用 CUDA 加速(is_cuda=True, device_index=0),最常见原因是显存不足(large-v3 基础需不低于 8GB 空闲显存)或 CUDA/cuDNN 环境不匹配导致子进程硬崩溃。

处理办法(按顺序尝试):

  1. 降低模型占用

    • 菜单 → 工具/选项 → 高级选项 → 语音识别参数
    • 计算数据类型 由 float32 改为 float16(显卡首选)或 int8(最省显存)
    • 识别准确度 beam_size 和 best_of 从 5 调低为 1
    • 启用上下文感知 取消勾选
    • 仍失败则将模型从 large-v3 换成 medium 或 small
  2. 确认显存与CUDA环境

    • 打开任务管理器查看 GPU 显存占用,关闭其他占显存的程序
    • CMD 执行 nvcc -V(应 ≥ 12.8)和 nvidia-smi 查看驱动支持的CUDA版本
    • 确认系统 Path 中已包含 CUDA 与 cuDNN 9.x 的 bin / lib 目录
  3. 排除 GPU 干扰

    • 主界面取消勾选 CUDA加速 改用 CPU 跑一遍(会慢但可验证是否为显卡问题)
    • 高级选项 → 通用 → GPU同时任务数 设为 1,重启软件
  4. 其它可能

    • 日志中显示音频时长 3153316ms(约 52 分钟),单文件较长,长音频在子进程崩溃时更易触发
    • GPU进程池 max_workers=1 已为单进程,可排除并发问题
    • 若上述均无效,请提供 logs/ 目录下最新日志文件的完整报错堆栈(该行 [ERROR] Model: large-v3, 之后的全部内容)

补充说明:你的软件版本为 v4.09,建议升级到最新 v4.13,新版本优化了模型下载重试与识别稳定性,并修复了多项已知bug。

请查阅相关文档:

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