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

183.48.**9 Posted at: 3 hours ago

语音识别阶段出错[faster-whisper(内置)] No transcription results returned. Please check the original audio/video [info.duration_after_vad=0.0s].
info=TranscriptionInfo(language='en', language_probability=1, duration=1817.333, 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, 0.2, 0.4, 0.6, 0.8, 1.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, 1
......
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, 0.2, 0.4, 0.6, 0.8, 1.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))
[TransCreate]翻译视频: self.is_copy_video=True,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={'video_fps': 25.0, 'r_frame_rate': 25.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 856, 'height': 480, 'time': 1817320, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: C:/Users/21472/Desktop/一同看_index(7).mp4,
输出结果保存到文件夹: C:/Users/21472/Desktop/_video_out/一同看_index(7)-mp4,
临时文件夹: D:/pyVideoTrans/tmp/13608/08965b69d3
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:腾讯翻译,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕


=
system:Windows-10-10.0.26100-SP0
version:v4.10
frozen:True
language:zh
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 3 hours ago

核心原因:VAD(语音活动检测)在预分割阶段检测到音频中没有任何语音片段,导致 duration_after_vad=0.0,所以识别结果为空。常见于:音频本身无人声、VAD 参数过于严格、或 CUDA 加速异常导致 VAD 模块运行失败。

请按以下顺序排查:

  1. 确认视频是否真的有人声
    用播放器试听该视频,确认有清晰的人类说话声。如果只有背景音乐/画面,软件无法识别,这是正常现象。
  2. 关闭 VAD 或调整 VAD 参数
    进入 菜单 → 工具/选项 → 高级选项 → 语音识别参数

    • 选择VAD 改为 (不使用 VAD 预分割),直接让模型处理全音频。
    • 或保留 VAD,但将 语音阈值 调低(如 0.1),非语音阈值 调高(如 0.9),并适当增加 静音分割持续毫秒
      修改后重新执行识别。
  3. 临时关闭 CUDA 加速测试
    在翻译视频主界面取消勾选 CUDA加速,改用 CPU 重新执行。若 CPU 下能正常识别,则说明是 CUDA 环境问题(驱动、cuDNN 或显存异常),请先检查 CUDA 12.8+ 和 cuDNN 9.11+ 是否安装正确。
  4. 更换较小模型
    faster-whisper(内置) 的模型从 large-v3-turbo 改为 smallbase,降低显存和计算复杂度,排除模型加载/崩溃导致的无输出。
  5. 确认音频格式正常
    如果上述都无效,可能是音轨本身损坏或异常。可尝试先勾选 设置更多参数 中的 分离人声背景声 后再识别,或将该视频用其他工具转成标准 mp4/wav 后再导入。

若仍未解决,请将 软件目录/logs/ 路径下最新的日志文件(复制底部约 30 行报错)发来进一步分析。

请查阅相关文档:

Thinking...
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.

Dondate via ko-fi.com

Related resource