Applying the VAD filter requires the onnxruntime package:Traceback (most recent call last):
File "faster_whisper\vad.py", line 298, in init
File "pyimod02_importers.py", line 457, in exec_module
File "onnxruntime\__init__.py", line 74, in
__version__ = versionFile "onnxruntime\__init__.py", line 24, in
from onnxruntime.capi._pybind_state import ExecutionOrder # noqa: F401File "pyimod02_importers.py", line 457, in exec_module
File "onnxruntime\capi\_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqaModuleNotFoundError: No module named 'onnxruntime.capi.onnxruntime_pybind11_state'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 121, in faster_whisper
File "faster_whisper\transcribe.py", line 890, in transcribe
File "faster_whisper\vad.py", line 84, in get_speech_timestamps
File "faster_whisper\vad
......
st recent call last):
File "faster_whisper\vad.py", line 298, in init
File "pyimod02_importers.py", line 457, in exec_module
File "onnxruntime\__init__.py", line 74, in
__version__ = versionFile "onnxruntime\__init__.py", line 24, in
from onnxruntime.capi._pybind_state import ExecutionOrder # noqa: F401File "pyimod02_importers.py", line 457, in exec_module
File "onnxruntime\capi\_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqaModuleNotFoundError: No module named 'onnxruntime.capi.onnxruntime_pybind11_state'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 121, in faster_whisper
File "faster_whisper\transcribe.py", line 890, in transcribe
File "faster_whisper\vad.py", line 84, in get_speech_timestamps
File "faster_whisper\vad.py", line 292, in get_vad_model
File "faster_whisper\vad.py", line 300, in init
RuntimeError: Applying the VAD filter requires the onnxruntime package
trk=[TransCreate]: uuid='c407a3765a', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/视频-2.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/视频翻译工具视频/edgetts-noproxy.txt/视频-2-mp4,
临时文件夹: D:/视频英文翻译工具/新/4.16/tmp/57000/c407a3765a
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), base, 发音语言: 简体中文,
翻译渠道:Google(免费),原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕 , precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=20000
=
system:Windows-10-10.0.26300-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/视频英文翻译工具/新/4.16