语音识别阶段出错:[faster-whisper(本地)] 多次重试连接失败,服务可能暂时不可用:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\trans_create.py", line 360, in recogn
File "videotrans\recognition\__init__.py", line 243, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_overall.py", line 180, in _exec
RuntimeError: urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:997)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v3/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\_overall.py", line 93, in run
File "faster_whisper\transcribe.py", line 681, in init
File "faster_whisper\utils.py", line 116, in download_model
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\_snapshot_download.py", line 165, in snapshot_download
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2864, in repo_info
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2648, in model_info
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "huggingface_hub\utils\_http.py", line 95, in send
File "requests\adapters.py", line 675, in send
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v3/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))"), '(Request ID: d7a692e1-c3b5-4a8d-b922-6d74ee4d6d7b)')
TaskCfg(cache_folder='D:/win-pyvideotrans-v3.87/tmp/32672/5068410e1b', target_dir='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/_video_out/骨髓增殖性肿瘤 (MPN)(2)-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/_video_out/骨髓增殖性肿瘤 (MPN)(2)-mp4/en.srt', target_sub='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/_video_out/骨髓增殖性肿瘤 (MPN)(2)-mp4/zh-cn.srt', source_wav='D:/win-pyvideotrans-v3.87/tmp/32672/5068410e1b/en.wav', source_wav_output='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/_video_out/骨髓增殖性肿瘤 (MPN)(2)-mp4/en.m4a', target_wav='D:/win-pyvideotrans-v3.87/tmp/32672/5068410e1b/target.wav', target_wav_output='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/_video_out/骨髓增殖性肿瘤 (MPN)(2)-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/win-pyvideotrans-v3.87/tmp/32672/5068410e1b/novoice.mp4', noextname='骨髓增殖性肿瘤 (MPN)(2)', shibie_audio=None, targetdir_mp4='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/_video_out/骨髓增殖性肿瘤 (MPN)(2)-mp4/骨髓增殖性肿瘤 (MPN)(2).mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='晓辰 多语言(Female/CN)', copysrt_rawvideo=False, clear_cache=True, translate_type=10, tts_type=0, recogn_type=0, model_name='large-v3', split_type=0, voice_autorate=True, video_autorate=True, cuda=False, name='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹/骨髓增殖性肿瘤 (MPN)(2).mp4', basename='骨髓增殖性肿瘤 (MPN)(2).mp4', ext='mp4', dirname='C:/Users/zhulingtao/Desktop/Ninja Nerd血液医学/1文件夹', shound_del_name=None, uuid='5068410e1b', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0)
=
system:Windows-10-10.0.26200-SP0
version:v3.87
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.87