#5082 TaskCfgVTT(uuid='6f47907ffa', name='E:/short/zip/爱如坟墓/35.mp4', dirname='E:/short/zip/爱如坟墓', noextname='35', basename='35

240e:3b7* Posted at: 1 day ago

语音识别阶段出错[faster-whisper(本地)] No transcription results returned. Please check the original audio/video or model and try again.
Traceback (most recent call last):

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

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

File "videotrans\task\trans_create.py", line 322, in recogn

File "videotrans\recognition\__init__.py", line 190, in run

File "videotrans\recognition\_base.py", line 94, in run

File "videotrans\recognition\_whisper.py", line 36, in _exec

File "videotrans\recognition\_whisper.py", line 109, in _faster

File "videotrans\configure\base.py", line 253, in _new_process

videotrans.configure.excepts.VideoTransError: No transcription results returned. Please check the original audio/video or model and try again.
TaskCfgVTT(uuid='6f47907ffa', name='E:/short/zip/爱如坟墓/35.mp4', dirname='E:/short/zip/爱如坟墓', noextname='35', basename='35.mp4', ext='mp4', target_dir='E:/short/zip/爱如坟墓/subtitles/35-mp4', cache_folder='E:/short/app/win-pyvideotrans-v4.01-0602/tmp/8040/6f47907ffa', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='E:/short/zip/爱如坟墓/subtitles/35-mp4/zh-cn.srt', source_wav='E:/short/app/win-pyvideotrans-v4.01-0602/tmp/8040/6f47907ffa/zh-cn.wav', source_wav_output='E:/short/zip/爱如坟墓/subtitles/35-mp4/zh-cn.m4a', target_language='英语', target_language_code='en', target_sub='E:/short/zip/爱如坟墓/subtitles/35-mp4/en.srt', target_wav='E:/short/app/win-pyvideotrans-v4.01-0602/tmp/8040/6f47907ffa/target.wav', target_wav_output='E:/short/zip/爱如坟墓/subtitles/35-mp4/en.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='tiqu', subtitles='', targetdir_mp4='E:/short/zip/爱如坟墓/subtitles/35-mp4/35.mp4', novoice_mp4='E:/short/app/win-pyvideotrans-v4.01-0602/tmp/8040/6f47907ffa/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='E:/short/app/win-pyvideotrans-v4.01-0602/tmp/8040/6f47907ffa/vocal.wav', clear_cache=True, background_music='', subtitle_type=0, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:E:/short/app/win-pyvideotrans-v4.01-0602

1 Replies

语音识别未返回任何结果,核心原因是模型未能从音频中提取出有效文本。常见原因包括:视频本身没有有效音轨或无人声、原始语言选择错误、模型下载不完整、背景噪声干扰,或文件路径/名称含特殊字符导致处理失败。

请按以下顺序排查:

  1. 确认视频有声音:用播放器打开视频,确认能听到清晰的人声。若视频从 YouTube 等网站下载,可能是音画分离未合并导致无声。
  2. 更换 ASR 模型:在 faster-whisper(本地) 下拉菜单中尝试 basesmall 模型(large-v3-turbo 需要 10G+ 显存,未开启 CUDA 时内存需 ≥16G)。
  3. 检查模型完整性:若首次使用,需联网下载。国内网络可能受阻,建议配置代理或手动下载模型(参考第 20 节手动下载方式)。
  4. 优化音频质量:勾选主界面的 降噪设置更多参数 → 分离人声背景声,减少噪音干扰。
  5. 清理路径与重试:勾选 清理已生成,并将视频文件移动到短英文路径(如 D:/test/35.mp4),避免中文和长路径问题。
  6. 查看详细日志:打开软件根目录 logs/ 下最新日志文件,搜索 errorffmpeg 关键字,可提供更多线索。若以上均无效,请复制日志底部 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. Dondate: ko-fi.com/jianchang512

Related resource