配音阶段出错:[Edge-TTS(免费)] 网络连接失败:
Traceback (most recent call last):
File "edge_tts\communicate.py", line 566, in stream
File "edge_tts\communicate.py", line 431, in __stream
File "aiohttp\client.py", line 1482, in aenter
File "aiohttp\client.py", line 1078, in _ws_connect
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=5719B40CA96BA33D86B6267296D5C287F9F5B2F84C931F8800A55F3459DECE25&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=652ad5eee44e45d2938895e8624e0b5b'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\job.py", line 224, in run
File "videotrans\task\_dubbing.py", line 48, in dubbing
File "videotrans\task\_dubbing.py", line 140, in _tts
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 646, in run_until_complete
File "videotrans\task\_base.py", line 199, in _edgetts_single
File "videotrans\task\_base.py", line 185, in _edgetts_single
File "edge_tts\communicate.py", line 573, in stream
File "edge_tts\communicate.py", line 431, in __stream
File "aiohttp\client.py", line 1482, in aenter
File "aiohttp\client.py", line 1078, in _ws_connect
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&Sec-MS-GEC=5719B40CA96BA33D86B6267296D5C287F9F5B2F84C931F8800A55F3459DECE25&Sec-MS-GEC-Version=1-130.0.2849.68&ConnectionId=9e67794a6356495bb94393b703959ec0'
TaskCfg(cache_folder='G:/win-pyvideotrans-v3.86/tmp/20784/52eca12b26', target_dir='g:/win-pyvideotrans-v3.86/output/tts', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code='en', source_sub=None, target_sub='G:/win-pyvideotrans-v3.86/tmp/20784/20260121-152359.txt', source_wav=None, source_wav_output=None, target_wav='g:/win-pyvideotrans-v3.86/output/tts/20260121-152359.mp3', target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='20260121-152359', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Aria(Female/US)', copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=0, recogn_type=None, model_name=None, split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='G:/win-pyvideotrans-v3.86/tmp/20784/20260121-152359.txt', basename='20260121-152359.txt', ext='txt', dirname='G:/win-pyvideotrans-v3.86/tmp/20784', shound_del_name=None, uuid='52eca12b26', remove_silent_mid=True, align_sub_audio=False, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)
=
system:Windows-10-10.0.26100-SP0
version:v3.89
frozen:True
language:zh
root_dir:G:/win-pyvideotrans-v3.86