#2462 TaskCfg(cache_folder='D:/win-videotrans/tmp/22636/291a53a99e', target_dir='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orde

154.89* Posted at: 1 day ago 👁12

语音识别阶段出错 [openai-whisper(本地)] 01.1. Introduction To Strategy Adaptation.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: 01.1. Introduction To Strategy Adaptation.mp4没有识别出字幕,请检查是否包含人类说话声音,以及说话语言是否和你选择的原始语言匹配

TaskCfg(cache_folder='D:/win-videotrans/tmp/22636/291a53a99e', target_dir='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/++++/01.1. Introduction To Strategy Adaptation-mp4', remove_noise=False, is_separate=False, detect_language='it', subtitle_language=None, source_language='意大利语', target_language='简体中文', source_language_code='it', target_language_code='zh-cn', source_sub='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/++++/01.1. Introduction To Strategy Adaptation-mp4/it.srt', target_sub='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/++++/01.1. Introduction To Strategy Adaptation-mp4/zh-cn.srt', source_wav='D:/win-videotrans/tmp/22636/291a53a99e/it.wav', source_wav_output='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/++++/01.1. Introduction To Strategy Adaptation-mp4/it.m4a', target_wav='D:/win-videotrans/tmp/22636/291a53a99e/target.wav', target_wav_output='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/++++/01.1. Introduction To Strategy Adaptation-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/win-videotrans/tmp/22636/291a53a99e/novoice.mp4', noextname='01.1. Introduction To Strategy Adaptation', shibie_audio=None, targetdir_mp4='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/++++/01.1. Introduction To Strategy Adaptation-mp4/01.1. Introduction To Strategy Adaptation.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunxi(Male/CN)', copysrt_rawvideo=False, clear_cache=True, translate_type=3, tts_type=0, recogn_type=1, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=True, cuda=True, name='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/6. Case Study Passage Prop with Student Francesco 23v/01.1. Introduction To Strategy Adaptation.mp4', basename='01.1. Introduction To Strategy Adaptation.mp4', ext='mp4', dirname='D:/U2B+/OF++/Orderflow Supremacy 271v/5. Orderflow Details 82v/wy+/6. Case Study Passage Prop with Student Francesco 23v', shound_del_name=None, uuid='291a53a99e', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)


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

1 Replies

根据错误信息,您的问题是视频在语音识别阶段没有检测到任何人类说话声音。从配置信息看,您选择的原始语言是“意大利语”,但视频文件名“01.1. Introduction To Strategy Adaptation.mp4”和路径中的“Case Study Passage Prop with Student Francesco”都强烈暗示视频内容很可能是英语

请按以下步骤排查和解决:

  1. 确认视频实际语言:请先播放视频,确认说话者使用的是英语还是意大利语
  2. 修改原始语言设置

    • 如果视频是英语,请在主界面第3行“翻译设置”中,将“发音语言”从“意大利语”改为“英语”。
    • 如果不确定,可以改为“auto(自动检测)”。
  3. 检查音频内容

    • 如果视频本身是纯音乐、环境音或演讲者声音极低,语音识别会失败。请确保视频包含清晰的人声。
  4. 尝试其他识别模型(如果步骤2无效):

    • 在语音识别(第2行)中,将模型从“openai-whisper(本地)”切换到“faster-whisper(本地)”,并选择“large-v3”模型,通常识别效果和速度更好。
    • 或者,如果视频是中文,可以尝试“阿里FunASR(本地)”。

核心原因:语音识别模型(Whisper)在您指定的“意大利语”下无法从音频中匹配到有效的语音片段,因此报错“没有识别出字幕”。这通常是由于语言设置错误或视频本身无人声导致的。

请查看更多参考文档:

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions