#5127 TaskCfgVTT(uuid='f58493c969', name='G:/剪辑视频素材/utube/牛室内/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡.mkv', dirname='G:/剪辑视频素材/utube/牛室内',

1.198* Posted at: 3 hours ago

HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/auth (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: 微软(免费), 配音阶段出错:Edge-TTS(免费)
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 773, in urlopen
File "urllib3\connectionpool.py", line 1042, in _prepare_proxy
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: : Fail
......
"urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/auth (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 68, in run
File "videotrans\task\trans_create.py", line 585, in trans
File "videotrans\translator\__init__.py", line 858, in run
File "videotrans\translator\_base.py", line 69, in run
File "videotrans\translator\_base.py", line 98, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 25, in _item_task
File "requests\api.py", line 73, in get
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 671, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/auth (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))
TaskCfgVTT(uuid='f58493c969', name='G:/剪辑视频素材/utube/牛室内/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡.mkv', dirname='G:/剪辑视频素材/utube/牛室内', noextname='一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡', basename='一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡.mkv', ext='mkv', target_dir='G:/剪辑视频素材/utube/牛室内/_video_out/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv', cache_folder='D:/videotrans/win-pyvideotrans-v4.01-0602/tmp/19364/f58493c969', is_cuda=True, source_language='英语', source_language_code='en', source_sub='G:/剪辑视频素材/utube/牛室内/_video_out/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/en.srt', source_wav='D:/videotrans/win-pyvideotrans-v4.01-0602/tmp/19364/f58493c969/en.wav', source_wav_output='G:/剪辑视频素材/utube/牛室内/_video_out/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='G:/剪辑视频素材/utube/牛室内/_video_out/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/zh-cn.srt', target_wav='D:/videotrans/win-pyvideotrans-v4.01-0602/tmp/19364/f58493c969/target.wav', target_wav_output='G:/剪辑视频素材/utube/牛室内/_video_out/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/zh-cn.m4a', translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Xiaoxiao(Female/CN)', voice_autorate=True, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', 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='G:/剪辑视频素材/utube/牛室内/_video_out/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡-mkv/一对年轻夫妇的中世纪住宅,灵感源自粗野主义 新加坡.mp4', novoice_mp4='D:/videotrans/win-pyvideotrans-v4.01-0602/tmp/19364/f58493c969/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/videotrans/win-pyvideotrans-v4.01-0602/tmp/19364/f58493c969/vocal.wav', clear_cache=True, background_music='', subtitle_type=2, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:D:/videotrans/win-pyvideotrans-v4.01-0602

1 Replies

核心原因是你在主界面填写了网络代理地址,但该代理服务未运行或地址/端口错误,导致软件尝试通过代理连接微软翻译/Edge-TTS时失败。

解决方案:

  1. 如果不需要代理(访问微软翻译/Edge-TTS国内可直接访问),清空主界面 “网络代理地址” 文本框,然后重试。
  2. 如果需要代理,请确保代理客户端已启动,且地址格式正确(例如 http://127.0.0.1:7890),端口需与代理客户端设置一致。
代理设置错误会同时影响翻译、配音等多个需要网络的服务,请先解决代理问题再试。
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