#6928 语音识别阶段出错[faster-whisper(内置)] No transcription results returned. Please check the original audio/video [info.duration_aft

171.91.**4 Posted at: 2 hours ago

语音识别阶段出错[faster-whisper(内置)] No transcription results returned. Please check the original audio/video [info.duration_after_vad=0.0s].
info=TranscriptionInfo(language='ja', language_probability=1, duration=3118.4946875, 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.5, no_repeat_ngram_size=0, log_prob_threshold=-1.0, no_speech_threshold=0.6, compression_ratio_threshold=1.0, condition_on_previous_text=True, 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, 18
......
Please check the original audio/video [info.duration_after_vad=0.0s].
info=TranscriptionInfo(language='ja', language_probability=1, duration=3118.4946875, 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.5, no_repeat_ngram_size=0, log_prob_threshold=-1.0, no_speech_threshold=0.6, compression_ratio_threshold=1.0, condition_on_previous_text=True, 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.5, neg_threshold=None, min_speech_duration_ms=0, max_speech_duration_s=inf, min_silence_duration_ms=140, speech_pad_ms=400))
[SpeechToText]语音转录: self.out_format='srt',self.copysrt_rawvideo=True,self.spk_insert=False
[TaskCfgSTT]
原始输入文件名: F:/新建文件夹/2/honnamatv-399.mp4,
输出结果保存到文件夹: D:/BaiduNetdiskDownload/win-pyvideotrans-v4.11/output/recogn,
临时文件夹: D:/win-pyvideotrans-v4.11/tmp/12720/d219b0927f
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3 断句方式:默认断句
发音语言:ja
未选 降噪


=
system:Windows-10-10.0.19045-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 2 hours ago

核心原因:duration_after_vad=0.0s 表示 VAD(语音活动检测)将整个音频判定为无有效人声,导致 faster-whisper 未产生任何转录结果。结合你的日志,最可疑的是文件路径含中文(F:/新建文件夹/2/honnamatv-399.mp4,这可能导致底层 ffmpeg 提取音频流异常或音频被静音化;此外也可能是音频本身音量极低/无有效人声、或VAD 阈值设置不当

请按以下顺序排查处理:

  1. 移动文件并重命名为纯英文路径(最优先)

    • 将视频移动到 D:/test/001.mp4 等全英文、无空格、无特殊符号的目录
    • 文件名改为简单英文(如 test.mp4),不要保留中文
  2. 验证音频是否正常

    • 用播放器播放该视频,确认能听到清晰人声
    • 若视频本身只有背景音乐/无说话声,则无法转录
  3. 调整 VAD 参数

    • 进入 菜单 → 工具 → 高级选项 → 语音识别参数
    • 语音阈值(VAD threshold)从默认 0.5 调低到 0.3 左右
    • 静音分割持续毫秒 调高(如 500),或改为 VAD 类型为 silero(若默认不是)
  4. 勾选降噪或分离人声背景声

    • 设置更多参数 中勾选 降噪分离人声背景声,提升语音质量
  5. 尝试换用小模型验证

    • 将模型从 large-v3 临时改为 mediumlarge-v3-turbo,确认是否模型兼容性问题
  6. 若以上均无效,请提供 logs/ 目录下最新日志文件的完整内容(尤其包含 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