#2739 TaskCfg(cache_folder='D:/win-videotrans/tmp/30456/62e7e67694', target_dir='D:/Vedios/_video_out/Creatures Of The Midnigh

2a02:6ea0* Posted at: 28 days ago 👁48

语音识别阶段出错 [faster-whisper(本地)] Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax.mp4没有识别出字幕,请检查是否包含人类说话声音,以及说话语言是否和你选择的原始语言匹配
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\trans_create.py", line 379, in recogn
RuntimeError: Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax.mp4没有识别出字幕,请检查是否包含人类说话声音,以及说话语言是否和你选择的原始语言匹配

TaskCfg(cache_folder='D:/win-videotrans/tmp/30456/62e7e67694', target_dir='D:/Vedios/_video_out/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax-mp4', remove_noise=True, is_separate=True, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='D:/Vedios/_video_out/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax-mp4/en.srt', target_sub='D:/Vedios/_video_out/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax-mp4/zh-cn.srt', source_wav='D:/win-videotrans/tmp/30456/62e7e67694/remove_noise.wav', source_wav_output='D:/Vedios/_video_out/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax-mp4/en.m4a', target_wav='D:/win-videotrans/tmp/30456/62e7e67694/target.wav', target_wav_output='D:/Vedios/_video_out/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/win-videotrans/tmp/30456/62e7e67694/novoice.mp4', noextname='Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax', shibie_audio=None, targetdir_mp4='D:/Vedios/_video_out/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax-mp4/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax.mp4', instrument='D:/win-videotrans/tmp/30456/62e7e67694/instrument.wav', vocal='D:/win-videotrans/tmp/30456/62e7e67694/vocal.wav', back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=3, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Xiaoxiao(Female/CN)', copysrt_rawvideo=False, clear_cache=False, translate_type=14, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=True, cuda=True, name='D:/Vedios/Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax.mp4', basename='Creatures Of The Midnight Zone | Blue Planet II Narration By David Attenborough | BBC Earth Relax.mp4', ext='mp4', dirname='D:/Vedios', shound_del_name=None, uuid='62e7e67694', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.92
frozen:True
language:zh
root_dir:D:/win-videotrans

1 Replies

语音识别失败,提示“没有识别出字幕”。根据日志,您已开启“降噪”和“人声分离”功能,这可能是导致问题的原因。请按以下步骤排查:

  1. 检查视频内容:确认视频中确实包含清晰的人声旁白(David Attenborough 的解说)。如果视频主要是背景音乐和画面,人声很轻或没有,识别会失败。
  2. 关闭“人声分离”和“降噪”

    • 在主界面第1行,取消勾选“人声分离”
    • 在菜单栏选择 工具/选项 -> 高级选项,在“通用设置”区域,取消勾选“降噪”
    • 重新处理视频。这两个功能有时会误将清晰人声过滤掉。
  3. 调整语音识别设置

    • 在主界面第2行,尝试将“识别模式”从“整体识别”切换为“批量推理”。
    • 如果问题依旧,在“高级选项”的“Faster/OpenAI/Whisper 语音识别微调”区域,尝试将“语音阈值”从默认的 0.45 调低(例如 0.3),以提高识别灵敏度。
  4. 检查语言设置:确保主界面第3行的“发音语言”已正确设置为“英语”或“auto”。

如果以上步骤均无效,请提供视频文件或更详细的错误日志(位于 D:/win-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.

Related resource