#4979 TaskCfgVTT(uuid='c2fbaed3bb', name='C:/Users/yue/Desktop/1000型-铁屑破碎.mp4', dirname='C:/Users/yue/Desktop', noextname='100

240e:3a1* Posted at: 10 hours ago

No transcription results returned. Please check the original audio/video or model and try again.语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: Google(免费), 配音阶段出错:Edge-TTS(免费)
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\trans_create.py", line 322, in recogn
File "videotrans\recognition\__init__.py", line 190, in run
File "videotrans\recognition\_base.py", line 94, in run
File "videotrans\recognition\_whisper.py", line 36, in _exec
File "videotrans\recognition\_whisper.py", line 109, in _faster
File "videotrans\configure\base.py", line 253, in _new_process
videotrans.configure.excepts.VideoTransError: No transcription results returned. Please check the original audio/video or model and try again.
TaskCfgVTT(uuid='c2fbaed3bb', name='C:/Users/yue/Desktop/1000型-铁屑破碎.mp4', dirname='C:/Users/yue/Desktop', noextname='1000型-铁屑破碎', basename='1000型-铁屑破碎.mp4', ext='mp4', target_dir='C:/Users/yue/Desktop/_video_out/1000型-铁屑破碎-mp4', cache_folder='D:/pyVideoTrans/tmp/52584/c2fbaed3bb', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='C:/Users/yue/Desktop/_video_out/1000型-铁屑破碎-mp4/zh-cn.srt', source_wav='D:/pyVideoTrans/tmp/52584/c2fbaed3bb/zh-cn.wav', source_wav_output='C:/Users/yue/Desktop/_video_out/1000型-铁屑破碎-mp4/zh-cn.m4a', target_language='英语', target_language_code='en', target_sub='C:/Users/yue/Desktop/_video_out/1000型-铁屑破碎-mp4/en.srt', target_wav='D:/pyVideoTrans/tmp/52584/c2fbaed3bb/target.wav', target_wav_output='C:/Users/yue/Desktop/_video_out/1000型-铁屑破碎-mp4/en.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/yue/Desktop/_video_out/1000型-铁屑破碎-mp4/1000型-铁屑破碎.mp4', novoice_mp4='D:/pyVideoTrans/tmp/52584/c2fbaed3bb/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/pyVideoTrans/tmp/52584/c2fbaed3bb/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


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

1 Replies

语音识别阶段未返回任何结果,通常是因为 视频文件路径或名称包含中文、空格或特殊符号(如 1000型-铁屑破碎.mp4),导致 ffmpeg 在提取音频或处理文件时出错,无法生成有效音频送入 Whisper 模型。

解决方案:

  1. 简化视频文件名和路径
    将视频文件移动到一个仅包含英文字母和数字的浅层目录(如 D:\videos\test.mp4),删除或替换掉 型-铁屑 等中文字符。
    示例:C:\test\1000broken.mp4
  2. 确认视频包含可识别的音频轨道
    使用 ffprobe 命令检查:
    ffprobe -v error -show_entries stream=codec_type -of default=noprint_wrappers=1 "简化后的视频路径"
    若输出中没有 codec_type=audio,说明视频无音轨,软件无法处理。
  3. 尝试使用更小的模型
    在语音识别下拉框中选择 basesmall 模型,减少资源消耗并测试是否因模型过大导致崩溃。
  4. 检查模型文件是否完整
    首次运行 large-v3-turbo 需联网下载模型。若下载中断或文件损坏,可删除 models/ 目录下对应的模型文件夹(如 models--Systran--faster-whisper-large-v3-turbo),重新运行时会自动下载。
  5. 启用降噪
    勾选主界面上的“降噪”选项,消除背景噪音干扰(但会显著降低速度)。

请查阅相关文档:

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: ko-fi.com/jianchang512

Related resource