#8908 语音识别阶段出错[faster-whisper(内置)] No human voice detected. Please confirm that human speech is present in the original file.

240e**e1af Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] No human voice detected. Please confirm that human speech is present in the original file. [info.duration_after_vad=0.0s].
_kw={'beam_size': 5, 'best_of': 5, 'condition_on_previous_text': False, 'threshold': 0.45, 'no_speech_threshold': 0.6, 'temperature': 0.0, 'repetition_penalty': 1.0, 'compression_ratio_threshold': 2.4, 'initial_prompt': None}
info=TranscriptionInfo(language='en', language_probability=1, duration=65.03, duration_after_vad=0.0, all_language_probs=None, transcription_options=TranscriptionOptions(beam_size=5, best_of=5, patience=1, length_penalty=1, repetition_penalty=1.0, no_repeat_ngram_size=0, log_prob_threshold=-1.0, no_speech_threshold=0.6, compression_ratio_threshold=2.4, condition_on_previous_text=False, prompt_reset_on_temperature=0.5, temperatures=[0.0], initial_prompt=None, prefix=None, suppress_blank=True, suppress_tokens=(1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254, 50258, 50359, 50360, 50361, 50362, 50363), without_timestamps=False, max_initial_timestamp=1.0, word_timestamps=True, prepend_punctuations='"\'“
......
ration_after_vad=0.0s].
_kw={'beam_size': 5, 'best_of': 5, 'condition_on_previous_text': False, 'threshold': 0.45, 'no_speech_threshold': 0.6, 'temperature': 0.0, 'repetition_penalty': 1.0, 'compression_ratio_threshold': 2.4, 'initial_prompt': None}
info=TranscriptionInfo(language='en', language_probability=1, duration=65.03, duration_after_vad=0.0, all_language_probs=None, transcription_options=TranscriptionOptions(beam_size=5, best_of=5, patience=1, length_penalty=1, repetition_penalty=1.0, no_repeat_ngram_size=0, log_prob_threshold=-1.0, no_speech_threshold=0.6, compression_ratio_threshold=2.4, condition_on_previous_text=False, prompt_reset_on_temperature=0.5, temperatures=[0.0], initial_prompt=None, prefix=None, suppress_blank=True, suppress_tokens=(1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254, 50258, 50359, 50360, 50361, 50362, 50363), without_timestamps=False, max_initial_timestamp=1.0, word_timestamps=True, prepend_punctuations='"\'“¿([{-', append_punctuations='"\'.。,,!!??::”)]}、', multilingual=False, max_new_tokens=None, clip_timestamps=[0.0], hallucination_silence_threshold=None, hotwords=''), vad_options=VadOptions(threshold=0.45, neg_threshold=None, min_speech_duration_ms=0, max_speech_duration_s=inf, min_silence_duration_ms=2000, speech_pad_ms=400))
trk=转录翻译
选择音视频文件: E:/short/nozip/The Demon's Little Pet/33.mp4,
输出目录: E:/short/nozip/The Demon's Little Pet/srt/33-mp4,
self.cfg.cache_folder='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad'
已选 清理已生成, 未选 启用硬件加速
已选 降噪,降噪模型:dpdfnet2.onnx
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语
最长语音持续(秒): 5s
最短语音持续(毫秒): 3000ms
静音分割持续毫秒: 600ms
语音阈值: 0.45
选择VAD: silero
计算数据类型:default
识别准确度beam_size:5
识别准确度best_of:5
启用上下文感知:False
重复惩罚:1.0
文本压缩率:2.4
Dont translation subtitle: self.cfg.source_language='英语',self.cfg.target_language='英语'
video duration:65033ms
video information:{'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1080, 'height': 1920, 'time': 65033, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
self.cfg=TaskCfgVTT(uuid='95977b60ad', name="E:/short/nozip/The Demon's Little Pet/33.mp4", dirname="E:/short/nozip/The Demon's Little Pet", noextname='33', basename='33.mp4', ext='mp4', target_dir="E:/short/nozip/The Demon's Little Pet/srt/33-mp4", cache_folder='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad', is_cuda=False, source_language='英语', source_language_code='en', source_sub="E:/short/nozip/The Demon's Little Pet/srt/33-mp4/en.srt", source_wav='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad/remove_noise.wav', source_wav_output="E:/short/nozip/The Demon's Little Pet/srt/33-mp4/en.m4a", target_language='英语', target_language_code='en', target_sub="E:/short/nozip/The Demon's Little Pet/srt/33-mp4/en.srt", target_wav='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad/target.wav', target_wav_output="E:/short/nozip/The Demon's Little Pet/srt/33-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, tts_model_name=None, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=True, enable_diariz=False, nums_diariz=0, rephrase=False, fix_punc=0, app_mode='tiqu', subtitle_language=None, targetdir_mp4="E:/short/nozip/The Demon's Little Pet/srt/33-mp4/33.mp4", novoice_mp4='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad/novoice.mp4', is_separate=False, embed_bgm=True, instrument='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad/instrument.wav', vocal='E:/short/app/win-pyvideotrans-v4.19/tmp/4312/95977b60ad/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, batch=True)


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

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 VAD(语音活动检测)在整段音频里没有切出任何语音片段导致的——日志中 duration=65.03 表示音频成功读取到 65 秒,但 duration_after_vad=0.0s 说明 65 秒全部被判定为「非人声」。因此这不是模型或路径问题,而是音频内容被 VAD 全部过滤掉了,常见原因有两种:① 音频本身没有人声(只有纯音乐或环境音);② 你勾选了 降噪,且降噪模型(dpdfnet2.onnx)处理过度,把音量过小的人声压成了静音。

按以下顺序排查:

  1. 先用播放器确认该视频里确实存在人声(不是只有 BGM 或音效)。如果确认无人声,本软件无法处理。
  2. 取消勾选「设置更多参数..」中的 降噪,再勾选 清理已生成 后重新执行一次。这是最常见的诱因。
  3. 若取消降噪后仍报同样错误,改为勾选 分离人声背景声(代替降噪),它对人声的保护更好。
  4. 降低 语音阈值(VAD threshold):进入 菜单 → 工具/选项 → 高级选项 → 语音识别参数,将 语音阈值 从当前 0.45 调到 0.2~0.3(数值越小越灵敏,能识别到更弱的人声)。
  5. 若仍失败,换一个识别渠道测试:改用 openai-whisper(内置) 或 Qwen-ASR(内置),同样报错则基本可判定源音频无人声或人声极弱。
  6. 也可以先把该视频用 工具 → 批量从视频中分离音频 导出 wav,单独用左侧 语音转录 功能 + 发音语言 自动检测 测试,用以区分是「视频音频问题」还是「识别配置问题」。

另外提示两点:

  • 你的 发音语言 和 目标语言 都设为了 英语,日志显示 Dont translation subtitle,即不进行翻译,只转录并嵌入字幕,若你本意是翻译成其他语言,请修正 目标语言。
  • 视频所在路径含撇号(The Demon's Little Pet),虽本次已成功读取音频,仍建议后续将目录与文件改为纯英文数字短名,避免 ffmpeg 解析异常。

请查阅相关文档:

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