#4766 TaskCfgSTT(uuid='4d27f9aac5', name='N:/Gwenmedia.mp4', dirname='N:/', noextname='Gwenmedia', basename='Gwenmedia.mp4', e

124.165* Posted at: 7 hours ago

语音识别阶段出错[faster-whisper(本地)] No transcription results returned. Please check the original audio/video or model and try again.
Traceback (most recent call last):

File "videotrans\task\job.py", line 54, in run

File "videotrans\task\job.py", line 119, in process_task

File "videotrans\task\speech2text.py", line 125, in recogn

File "videotrans\recognition\__init__.py", line 188, in run

File "videotrans\recognition\_base.py", line 93, in run

File "videotrans\recognition\_whisper.py", line 35, in _exec

File "videotrans\recognition\_whisper.py", line 108, in _faster

File "videotrans\configure\base.py", line 240, in _new_process

videotrans.configure.excepts.VideoTransError: No transcription results returned. Please check the original audio/video or model and try again.
TaskCfgSTT(uuid='4d27f9aac5', name='N:/Gwenmedia.mp4', dirname='N:/', noextname='Gwenmedia', basename='Gwenmedia.mp4', ext='mp4', target_dir='O:/win-pyvideotrans-v4.00-525/output/recogn', cache_folder='O:/win-pyvideotrans-v4.00-525/tmp/896/4d27f9aac5', is_cuda=False, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='O:/win-pyvideotrans-v4.00-525/output/recogn/Gwenmedia.srt', target_wav=None, target_wav_output=None, detect_language='en', recogn_type=0, model_name='tiny', shibie_audio='O:/win-pyvideotrans-v4.00-525/tmp/896/4d27f9aac5/Gwenmedia-1779962136.2802646.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.26100-SP0
version:v4.00
frozen:True
language:zh
root_dir:O:/win-pyvideotrans-v4.00-525

1 Replies

转录结果为空的核心原因是使用了tiny模型,此模型极小但准确度极低,无法从音频中有效提取任何文字,尤其在没有GPU加速(is_cuda=False)时更难完成任务。

解决方案:

  1. 更换更大的模型:在语音识别渠道中选择 basesmallmediumlarge-v3,避免使用 tiny
  2. 开启降噪:在主界面选中 降噪 选项,消除背景杂音提升识别率。
  3. 确认原始语言选择:不要过度依赖 auto,请手动指定视频实际语言(例如 英语)。
  4. 检查音频质量:确认临时目录中的 xxx.wav 文件确实包含有效人声(可用播放器试听)。

请查阅相关文档:

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.

Related resource

Similar issues already exist