#8457 Whisper.NET setup invalid: Whisper.net.dll not found: D:\pyVideoTrans\deps\Whisper.net.dll; Native directory not found:

91.59**7 Posted at: 1 hour ago

Whisper.NET setup invalid: Whisper.net.dll not found: D:\pyVideoTrans\deps\Whisper.net.dll; Native directory not found: D:\pyVideoTrans\deps\native
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 71, in run
File "videotrans\task\_stage_recogn.py", line 64, in recogn
File "videotrans\recognition\__init__.py", line 141, in run
File "videotrans\recognition\_base.py", line 101, in run
File "videotrans\recognition\_whispernet.py", line 81, in _exec
videotrans.configure.excepts.SpeechToTextError: Whisper.NET setup invalid: Whisper.net.dll not found: D:\pyVideoTrans\deps\Whisper.net.dll; Native directory not found: D:\pyVideoTrans\deps\native

trk=[TransCreate]: uuid='6f663a858c', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/PJ Trades/-Beginners/01_What is Futures Trading and Prop Firms/Intro To Futures Trading & Prop Firms [dtsrR8dX2Ro].webm,
输出结果保存到文件夹: D:/PJ Trades/-Beginners/01_What is Futures Trading and Prop Firms/_video_out/Intro To Futures Trading & Prop Firms [dtsrR8dX2Ro]-webm,
临时文件夹: D:/pyVideoTrans/tmp/14888/6f663a858c
已选 清理已存在
未启用CUDA加速
STT Service:Whisper.NET, ggml-large-v3-turbo.bin, 发音语言: English, ,
TranslateSrt:Google Translate (Free),原始语言:English,目标语言:German, 已选 SendSRT, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
TTS Service:Edge-TTS (Free), 角色:FlorianMultilingual(Male/DE), 配音语言:German, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Soft Subtitles , precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=1091861


=
system:Windows-10-10.0.26300-SP0
version:v4.17
frozen:True
language:en_US
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 1 hour ago

The core cause: the Whisper.NET channel is not an out-of-the-box built-in speech recognition channel. It requires you to manually deploy the .NET runtime files. Your D:\pyVideoTrans\deps\ directory contains neither Whisper.net.dll nor the native subdirectory, so the channel initialization fails directly. The pre-packaged Windows build only includes the calling code, not these dll files.

Solutions (in recommended order):

  1. Simplest approach: switch the speech recognition channel (recommended)

    • Change STT Service from Whisper.NET to faster-whisper(Built-in);
    • For Model, select large-v3-turbo (you already have ggml-large-v3-turbo.bin, but that is the whisper.cpp format; faster-whisper uses a different model file and will download automatically on first use);
    • Keep Spoken as English.
  2. If you must use Whisper.NET (for AMD GPU acceleration, etc.)

    • This channel does not work with the pre-packaged build; you must deploy from source;
    • Then place Whisper.net.dll in D:\pyVideoTrans\deps\ and put the native library files in D:\pyVideoTrans\deps\native\;
    • After placing the files, restart the software and re-select the channel.
  3. Note on the video path: your video path is D:/PJ Trades/-Beginners/01_What is Futures Trading and Prop Firms/Intro To Futures Trading & Prop Firms [dtsrR8dX2Ro].webm. It contains spaces, square brackets, and a very long path. Even after switching channels, it may trigger ffprobe exec error or file reading/writing exceptions. It is recommended to rename the video to a short pure-English name (e.g. D:/videos/video1.webm) before translating.

Please refer to the related documentation:

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