配音阶段出错 [Edge-TTS(免费)] edge-tts error:target_audio='D://tmp/22172/b2e8f77772/俄罗斯发货-edgetts-txt-1789629939.5384035.mp3'
Traceback (most recent call last):
File "aiohttp\connector.py", line 1412, in _start_tls_connection
File "asyncio\base_events.py", line 1253, in start_tls
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aiohttp\client.py", line 725, in _connect_and_send_request
File "aiohttp\connector.py", line 622, in connect
File "aiohttp\connector.py", line 1187, in _create_connection
File "aiohttp\connector.py", line 1677, in _create_proxy_connection
File "aiohttp\connector.py", line 1397, in _start_tls_connection
File "async_timeout\__init__.py", line 179, in aexit
File "async_timeout\__init__.py", line 265, in _do_exit
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
......
aenter__
File "aiohttp\client.py", line 1061, in _ws_connect
File "aiohttp\client.py", line 770, in _request
File "aiohttp\client.py", line 729, in _connect_and_send_request
aiohttp.client_exceptions.ConnectionTimeoutError: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=670da067a6074d3283a50829508b022c&Sec-MS-GEC=2D7A8F435563D3EB9C2DB7F0D7AF8A742A8352C4FCFCA9995202FBE7FB3FD6BF&Sec-MS-GEC-Version=1-143.0.3650.75
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 154, in process_task
File "videotrans\task\dubbing.py", line 51, in dubbing
File "videotrans\task\dubbing.py", line 132, in _tts
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\task\_base.py", line 166, in _edgetts_single
videotrans.configure.excepts.DubbingSrtError: edge-tts error:target_audio='D://tmp/22172/b2e8f77772/俄罗斯发货-edgetts-txt-1789629939.5384035.mp3'
cfg=TaskCfgTTS(uuid='b2e8f77772', name='D:/output/recogn/俄罗斯发货.srt', dirname='D:/output/recogn', noextname='俄罗斯发货', basename='俄罗斯发货.srt', ext='srt', target_dir='D://output/tts', cache_folder='D://tmp/22172/b2e8f77772', is_cuda=False, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code='ar', target_sub='D:/output/recogn/俄罗斯发货.srt', target_wav='D://output/tts/俄罗斯发货.wav', target_wav_output=None, tts_type=0, volume='+50%', pitch='+3Hz', voice_rate='+3%', voice_role='Sana(Female/JO)', voice_autorate=False, video_autorate=False, remove_silent_mid=True, align_sub_audio=False)
=
system:Windows-10-10.0.19045-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/