#4488 TaskCfg(cache_folder='D:/BaiduNetdiskDownload/win-pyvideotrans-v3.92/tmp/11248/3e259bbfa2', target_dir='D:/_video_out/干针

111.14* Posted at: 1 hour ago 👁3

语音识别阶段出错 [faster-whisper(本地)] How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation.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: How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation.mp4没有识别出字幕,请检查是否包含人类说话声音,以及说话语言是否和你选择的原始语言匹配

TaskCfg(cache_folder='D:/BaiduNetdiskDownload/win-pyvideotrans-v3.92/tmp/11248/3e259bbfa2', target_dir='D:/_video_out/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='D:/_video_out/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation-mp4/en.srt', target_sub='D:/_video_out/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation-mp4/zh-cn.srt', source_wav='D:/BaiduNetdiskDownload/win-pyvideotrans-v3.92/tmp/11248/3e259bbfa2/en.wav', source_wav_output='D:/_video_out/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation-mp4/en.m4a', target_wav='D:/BaiduNetdiskDownload/win-pyvideotrans-v3.92/tmp/11248/3e259bbfa2/target.wav', target_wav_output='D:/_video_out/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/BaiduNetdiskDownload/win-pyvideotrans-v3.92/tmp/11248/3e259bbfa2/novoice.mp4', noextname='How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation', shibie_audio=None, targetdir_mp4='D:/_video_out/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation-mp4/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation.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='Yunyang(Male/CN)', copysrt_rawvideo=False, clear_cache=True, translate_type=12, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=True, cuda=False, name='D:/video-in/干针/How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation.mp4', basename='How Dry Needling the Teres Major and Minor Muscles Improves Limited Shoulder Internal Rotation.mp4', ext='mp4', dirname='D:/video-in/干针', shound_del_name=None, uuid='3e259bbfa2', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=1, only_out_mp4=True)


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

1 Replies

语音识别未提取到字幕,主要原因是文件路径/名称过长或含特殊符号,以及未开启GPU加速导致处理超时/失败,或视频本身无有效人声

解决方案

  1. 简化文件路径和名称

    • 将视频移动到浅目录(如 D:\video\test.mp4),文件名改短(纯英文+数字)。
    • 当前路径含中文“干针”及长标题,极易触发Windows路径限制。
  2. 确保视频包含人声并选对语言

    • 确认视频确实有英语对话,且背景噪音不过大。可先用播放器试听。
  3. 使用更小的模型或开启GPU加速

    • 若CPU内存有限,在faster-whisper下拉菜单中选择 basesmall 模型。
    • 如有NVIDIA显卡,安装CUDA 12.8+和cuDNN,并勾选主界面 CUDA加速
  4. 升级软件版本

    • 当前版本v3.92,建议下载最新v3.99完整包覆盖安装,已修复许多相关bug。
  5. 强制重新处理

    • 勾选主界面左上角 清理已生成,避免使用旧缓存。

请查阅相关文档:

Post Your Reply